Package com.google.cloud.spanner
Class KeySet.Builder
java.lang.Object
com.google.cloud.spanner.KeySet.Builder
- Enclosing class:
- KeySet
Builder for
KeySet
instances.-
Method Details
-
addKey
Adds a key to the key set.key
should contain exactly as many elements as there are columns in the primary or index key with this this key set is used. -
addRange
Adds a range to the key set. SeeKeyRange
for details of how to specify ranges. -
setAll
Makes the key set retrieve all rows of a table or index. -
build
-