Package com.google.spanner.v1
Interface KeySetOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
KeySet,KeySet.Builder
public interface KeySetOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleangetAll()For convenience `all` can be set to `true` to indicate that this `KeySet` matches all keys in the table or index.com.google.protobuf.ListValuegetKeys(int index) A list of specific keys.intA list of specific keys.List<com.google.protobuf.ListValue>A list of specific keys.com.google.protobuf.ListValueOrBuildergetKeysOrBuilder(int index) A list of specific keys.List<? extends com.google.protobuf.ListValueOrBuilder>A list of specific keys.getRanges(int index) A list of key ranges.intA list of key ranges.A list of key ranges.getRangesOrBuilder(int index) A list of key ranges.List<? extends KeyRangeOrBuilder>A list of key ranges.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getKeysList
List<com.google.protobuf.ListValue> getKeysList()A list of specific keys. Entries in `keys` should have exactly as many elements as there are columns in the primary or index key with which this `KeySet` is used. Individual key values are encoded as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue keys = 1; -
getKeys
com.google.protobuf.ListValue getKeys(int index) A list of specific keys. Entries in `keys` should have exactly as many elements as there are columns in the primary or index key with which this `KeySet` is used. Individual key values are encoded as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue keys = 1; -
getKeysCount
int getKeysCount()A list of specific keys. Entries in `keys` should have exactly as many elements as there are columns in the primary or index key with which this `KeySet` is used. Individual key values are encoded as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue keys = 1; -
getKeysOrBuilderList
List<? extends com.google.protobuf.ListValueOrBuilder> getKeysOrBuilderList()A list of specific keys. Entries in `keys` should have exactly as many elements as there are columns in the primary or index key with which this `KeySet` is used. Individual key values are encoded as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue keys = 1; -
getKeysOrBuilder
com.google.protobuf.ListValueOrBuilder getKeysOrBuilder(int index) A list of specific keys. Entries in `keys` should have exactly as many elements as there are columns in the primary or index key with which this `KeySet` is used. Individual key values are encoded as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue keys = 1; -
getRangesList
A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about key range specifications.
repeated .google.spanner.v1.KeyRange ranges = 2; -
getRanges
A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about key range specifications.
repeated .google.spanner.v1.KeyRange ranges = 2; -
getRangesCount
int getRangesCount()A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about key range specifications.
repeated .google.spanner.v1.KeyRange ranges = 2; -
getRangesOrBuilderList
List<? extends KeyRangeOrBuilder> getRangesOrBuilderList()A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about key range specifications.
repeated .google.spanner.v1.KeyRange ranges = 2; -
getRangesOrBuilder
A list of key ranges. See [KeyRange][google.spanner.v1.KeyRange] for more information about key range specifications.
repeated .google.spanner.v1.KeyRange ranges = 2; -
getAll
boolean getAll()For convenience `all` can be set to `true` to indicate that this `KeySet` matches all keys in the table or index. Note that any keys specified in `keys` or `ranges` are only yielded once.
bool all = 3;- Returns:
- The all.
-