Annotation Interface ShardKey
Declares a canonical shard routing key without granting ownership authority.
Managed lease guards support one scalar parameter with an empty value. A generated partition
reducer may instead select a command record's stable decimal WireField identifier, through the registered
generated schema accessor. Unsupported sites/extraction modes fail validation before construction;
arbitrary reflection paths, expressions and implicit global ordering are not supported.
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String valueReturns the legacy metadata selector or managed command's stable numeric wire-field identifier.- Returns:
- empty for a scalar key, or the explicit selector recognized by its host adapter
- Default:
""
-