Interface RangeOrBuilder (6.107.0)

public interface RangeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGeneration()

public abstract ByteString getGeneration()

generation indicates the freshness of the range information contained in this proto. Generations can be compared lexicographically; if generation A is greater than generation B, then the Range corresponding to A is newer than the Range corresponding to B, and should be used preferentially.

bytes generation = 5;

Returns
Type Description
ByteString

The generation.

getGroupUid()

public abstract long getGroupUid()

The UID of the paxos group where this range is stored. UIDs are unique within the database. References Group.group_uid.

uint64 group_uid = 3;

Returns
Type Description
long

The groupUid.

getLimitKey()

public abstract ByteString getLimitKey()

The limit key of the range, exclusive. Encoded in "sortable string format" (ssformat).

bytes limit_key = 2;

Returns
Type Description
ByteString

The limitKey.

getSplitId()

public abstract long getSplitId()

A group can store multiple ranges of keys. Each key range is named by an ID (the split ID). Within a group, split IDs are unique. The split_id names the exact split in group_uid where this range is stored.

uint64 split_id = 4;

Returns
Type Description
long

The splitId.

getStartKey()

public abstract ByteString getStartKey()

The start key of the range, inclusive. Encoded in "sortable string format" (ssformat).

bytes start_key = 1;

Returns
Type Description
ByteString

The startKey.