The KeyBound
class is a regular type that represents an open or closed endpoint for a range of keys.
A range of keys is defined by a starting KeyBound
and an ending KeyBound
, and it logically includes all intermediate keys, optionally including/excluding the bounds.
KeyBound
s can be "open", meaning the matching row will be excluded from the results, or "closed" meaning the matching row will be included. KeyBound
instances should be created with the MakeKeyBoundOpen()
or MakeKeyBoundClosed()
factory functions.
- Example
KeyBound MakeKeyBoundOpen(Ts &&... ts)
Returns an "open" KeyBound with a Key constructed from the given arguments.
- Example
auto delete_singers_range =
.Build();
KeyBound MakeKeyBoundClosed(Ts &&... ts)
Returns a "closed" KeyBound with a Key constructed from the given arguments.
spanner_internal::DeleteMutationBuilder DeleteMutationBuilder
A helper class to construct "delete" mutations.
Definition at line 74 of file keys.h.