Send feedback
Class KeySet (6.80.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 6.80.1 keyboard_arrow_down
public final class KeySet extends GeneratedMessageV3 implements KeySetOrBuilder
KeySet defines a collection of Spanner keys and/or key ranges. All
the keys are expected to be in the same table. The keys need not be
sorted in any particular way.
Protobuf type google.spanner.executor.v1.KeySet
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ALL_FIELD_NUMBER
public static final int ALL_FIELD_NUMBER
Field Value
Type
Description
int
POINT_FIELD_NUMBER
public static final int POINT_FIELD_NUMBER
Field Value
Type
Description
int
RANGE_FIELD_NUMBER
public static final int RANGE_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static KeySet getDefaultInstance ()
Returns
Type
Description
KeySet
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static KeySet . Builder newBuilder ()
newBuilder(KeySet prototype)
public static KeySet . Builder newBuilder ( KeySet prototype )
Parameter
Name
Description
prototype
KeySet
public static KeySet parseDelimitedFrom ( InputStream input )
Returns
Type
Description
KeySet
public static KeySet parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
KeySet
parseFrom(byte[] data)
public static KeySet parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
Returns
Type
Description
KeySet
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static KeySet parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
KeySet
parseFrom(ByteString data)
public static KeySet parseFrom ( ByteString data )
Returns
Type
Description
KeySet
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static KeySet parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
KeySet
public static KeySet parseFrom ( CodedInputStream input )
Returns
Type
Description
KeySet
public static KeySet parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
KeySet
public static KeySet parseFrom ( InputStream input )
Returns
Type
Description
KeySet
public static KeySet parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
KeySet
parseFrom(ByteBuffer data)
public static KeySet parseFrom ( ByteBuffer data )
Returns
Type
Description
KeySet
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static KeySet parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
KeySet
parser()
public static Parser<KeySet> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
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.
getDefaultInstanceForType()
public KeySet getDefaultInstanceForType ()
Returns
Type
Description
KeySet
getParserForType()
public Parser<KeySet> getParserForType ()
Overrides
getPoint(int index)
public ValueList getPoint ( 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.
repeated .google.spanner.executor.v1.ValueList point = 1;
Parameter
Name
Description
index
int
getPointCount()
public int getPointCount ()
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.
repeated .google.spanner.executor.v1.ValueList point = 1;
Returns
Type
Description
int
getPointList()
public List<ValueList> getPointList ()
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.
repeated .google.spanner.executor.v1.ValueList point = 1;
getPointOrBuilder(int index)
public ValueListOrBuilder getPointOrBuilder ( 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.
repeated .google.spanner.executor.v1.ValueList point = 1;
Parameter
Name
Description
index
int
getPointOrBuilderList()
public List <? extends ValueListOrBuilder > getPointOrBuilderList ()
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.
repeated .google.spanner.executor.v1.ValueList point = 1;
Returns
Type
Description
List <? extends com.google.spanner.executor.v1.ValueListOrBuilder >
getRange(int index)
public KeyRange getRange ( int index )
A list of key ranges.
repeated .google.spanner.executor.v1.KeyRange range = 2;
Parameter
Name
Description
index
int
getRangeCount()
public int getRangeCount ()
A list of key ranges.
repeated .google.spanner.executor.v1.KeyRange range = 2;
Returns
Type
Description
int
getRangeList()
public List<KeyRange> getRangeList ()
A list of key ranges.
repeated .google.spanner.executor.v1.KeyRange range = 2;
getRangeOrBuilder(int index)
public KeyRangeOrBuilder getRangeOrBuilder ( int index )
A list of key ranges.
repeated .google.spanner.executor.v1.KeyRange range = 2;
Parameter
Name
Description
index
int
getRangeOrBuilderList()
public List <? extends KeyRangeOrBuilder > getRangeOrBuilderList ()
A list of key ranges.
repeated .google.spanner.executor.v1.KeyRange range = 2;
Returns
Type
Description
List <? extends com.google.spanner.executor.v1.KeyRangeOrBuilder >
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public KeySet . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected KeySet . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public KeySet . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]