Interface KeySetOrBuilder (6.25.1)

public interface KeySetOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAll()

public abstract 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
TypeDescription
boolean

The all.

getKeys(int index)

public abstract 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.

repeated .google.protobuf.ListValue keys = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListValue

getKeysCount()

public abstract 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.

repeated .google.protobuf.ListValue keys = 1;

Returns
TypeDescription
int

getKeysList()

public abstract List<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.

repeated .google.protobuf.ListValue keys = 1;

Returns
TypeDescription
List<ListValue>

getKeysOrBuilder(int index)

public abstract 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.

repeated .google.protobuf.ListValue keys = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListValueOrBuilder

getKeysOrBuilderList()

public abstract List<? extends 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.

repeated .google.protobuf.ListValue keys = 1;

Returns
TypeDescription
List<? extends com.google.protobuf.ListValueOrBuilder>

getRanges(int index)

public abstract KeyRange getRanges(int index)

A list of key ranges. See KeyRange for more information about key range specifications.

repeated .google.spanner.v1.KeyRange ranges = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
KeyRange

getRangesCount()

public abstract int getRangesCount()

A list of key ranges. See KeyRange for more information about key range specifications.

repeated .google.spanner.v1.KeyRange ranges = 2;

Returns
TypeDescription
int

getRangesList()

public abstract List<KeyRange> getRangesList()

A list of key ranges. See KeyRange for more information about key range specifications.

repeated .google.spanner.v1.KeyRange ranges = 2;

Returns
TypeDescription
List<KeyRange>

getRangesOrBuilder(int index)

public abstract KeyRangeOrBuilder getRangesOrBuilder(int index)

A list of key ranges. See KeyRange for more information about key range specifications.

repeated .google.spanner.v1.KeyRange ranges = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
KeyRangeOrBuilder

getRangesOrBuilderList()

public abstract List<? extends KeyRangeOrBuilder> getRangesOrBuilderList()

A list of key ranges. See KeyRange for more information about key range specifications.

repeated .google.spanner.v1.KeyRange ranges = 2;

Returns
TypeDescription
List<? extends com.google.spanner.v1.KeyRangeOrBuilder>