class tensorstore.KvStore.KeyRange

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

Constructors

KeyRange(inclusive_min: str | bytes = '', ...)

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

Accessors

property inclusive_min : bytes

Inclusive lower bound of the range.

property exclusive_max : bytes

Exclusive upper bound of the range.

copy() KvStore.KeyRange

Returns a copy of the range.

property empty : bool

Indicates if the range contains no keys.

Comparison operators

__eq__(other: KvStore.KeyRange) bool

Compares with another range for equality.