Bound table key range with table id to generate a new user key range.
Get the end bound of the given prefix
when transforming it to a key range.
Extract table id from encoded
FullKey
Converts user key to full key by appending epoch
to the user key.
compute the next epoch, and don’t change the bytes of the u8 slice.
compute the next full key of the given full key
Computes the next key of the given key.
Prepend the prefix
to the given key range
.
compute the prev epoch, and don’t change the bytes of the u8 slice.
compute the prev full key of the given full key
Computes the previous key of the given key.
Transform the given prefix
to a key range.
Splits a full key into its user key part and epoch part.
Get the start bound of the given prefix
when it is excluded from the range.
Extract table key from encoded
UserKey
without table id part
Ensure there is only one vnode involved in table key range and return the vnode.
Returns left inclusive and right exclusive vnode index of the given range.