edit-icon download-icon

PartitionRange

Last Updated: Mar 23, 2018

PartitionRange specifies the shard range.

Data structure

  1. message PartitionRange {
  2. required bytes begin = 1; // encoded as SQLVariant
  3. required bytes end = 2; // encoded as SQLVariant
  4. }

begin:

  • Type: Bytes

  • The starting key of the shard. The shard is a left-closed right-open interval, which includes the starting key. It is in Plainbuffer format. For more information about encoding, see Plainbuffer encoding.

end:

  • Type: Bytes

  • The ending key of the shard. The shard is a left-closed right-open interval, which does not include the ending key. It is in Plainbuffer format. For more information about encoding, see Plainbuffer encoding.

Thank you! We've received your feedback.