Interface KeySetOrBuilder (6.83.0)

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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.spanner.v1.KeyRangeOrBuilder>