class tensorstore.KvStore.KeyRange

Half-open interval of byte string keys, according to lexicographical order.


KeyRange(inclusive_min: str = '', exclusive_max: str = '')

Constructs a key range from the specified half-open bounds.


inclusive_min : str

Inclusive lower bound of the range.

exclusive_max : str

Exclusive upper bound of the range.

copy() KvStore.KeyRange

Returns a copy of the range.

empty : bool

Indicates if the range contains no keys.

Comparison operators

__eq__(other: KvStore.KeyRange) bool

Compares with another range for equality.