Package com.google.spanner.executor.v1
Interface BatchPartitionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BatchPartition,BatchPartition.Builder
public interface BatchPartitionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetIndex()Index name if the partition was generated for an index read.com.google.protobuf.ByteStringIndex name if the partition was generated for an index read.com.google.protobuf.ByteStringSerialized Partition instance.com.google.protobuf.ByteStringThe partition token decrypted from partition.getTable()Table name is set iff the partition was generated for a read (as opposed to a query).com.google.protobuf.ByteStringTable name is set iff the partition was generated for a read (as opposed to a query).booleanhasIndex()Index name if the partition was generated for an index read.booleanhasTable()Table name is set iff the partition was generated for a read (as opposed to a query).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
-
getPartition
com.google.protobuf.ByteString getPartition()Serialized Partition instance.
bytes partition = 1;- Returns:
- The partition.
-
getPartitionToken
com.google.protobuf.ByteString getPartitionToken()The partition token decrypted from partition.
bytes partition_token = 2;- Returns:
- The partitionToken.
-
hasTable
boolean hasTable()Table name is set iff the partition was generated for a read (as opposed to a query).
optional string table = 3;- Returns:
- Whether the table field is set.
-
getTable
String getTable()Table name is set iff the partition was generated for a read (as opposed to a query).
optional string table = 3;- Returns:
- The table.
-
getTableBytes
com.google.protobuf.ByteString getTableBytes()Table name is set iff the partition was generated for a read (as opposed to a query).
optional string table = 3;- Returns:
- The bytes for table.
-
hasIndex
boolean hasIndex()Index name if the partition was generated for an index read.
optional string index = 4;- Returns:
- Whether the index field is set.
-
getIndex
String getIndex()Index name if the partition was generated for an index read.
optional string index = 4;- Returns:
- The index.
-
getIndexBytes
com.google.protobuf.ByteString getIndexBytes()Index name if the partition was generated for an index read.
optional string index = 4;- Returns:
- The bytes for index.
-