Modifier and Type | Method and Description |
---|---|
KeySet.Builder |
addKey(Key key)
Adds a key to the key set.
|
KeySet.Builder |
addRange(KeyRange range)
Adds a range to the key set.
|
KeySet |
build() |
KeySet.Builder |
setAll()
Makes the key set retrieve all rows of a table or index.
|
public KeySet.Builder addKey(Key key)
key
should contain exactly as many elements as there are
columns in the primary or index key with this this key set is used.public KeySet.Builder addRange(KeyRange range)
KeyRange
for details of how to specify ranges.public KeySet.Builder setAll()
public KeySet build()
Copyright © 2020 Google LLC. All rights reserved.