ShardsIDReader

Gets the shard ID for each shard in a database.

The ShardsIDReader creates a single record on each shard that represents the current shard's ID.

Use this reader when you want to run an operation on each shard in the database.

Parameters

None

Output records

Creates a record for each shard with the shard's cluster identifier.

Example

ShardsIDReader reader = new ShardsIDReader();
RATE THIS PAGE
Back to top ↑