Package com.google.spanner.executor.v1
Interface GenerateDbPartitionsForReadActionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GenerateDbPartitionsForReadAction,GenerateDbPartitionsForReadAction.Builder
public interface GenerateDbPartitionsForReadActionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongDesired size of data in each partition.longIf set, the desired max number of partitions.getRead()Read to generate partitions for.Read to generate partitions for.getTable(int index) Metadata related to the tables involved in the read.intMetadata related to the tables involved in the read.Metadata related to the tables involved in the read.getTableOrBuilder(int index) Metadata related to the tables involved in the read.List<? extends TableMetadataOrBuilder>Metadata related to the tables involved in the read.booleanDesired size of data in each partition.booleanIf set, the desired max number of partitions.booleanhasRead()Read to generate partitions for.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
-
hasRead
boolean hasRead()Read to generate partitions for.
.google.spanner.executor.v1.ReadAction read = 1;- Returns:
- Whether the read field is set.
-
getRead
ReadAction getRead()Read to generate partitions for.
.google.spanner.executor.v1.ReadAction read = 1;- Returns:
- The read.
-
getReadOrBuilder
ReadActionOrBuilder getReadOrBuilder()Read to generate partitions for.
.google.spanner.executor.v1.ReadAction read = 1; -
getTableList
List<TableMetadata> getTableList()Metadata related to the tables involved in the read.
repeated .google.spanner.executor.v1.TableMetadata table = 2; -
getTable
Metadata related to the tables involved in the read.
repeated .google.spanner.executor.v1.TableMetadata table = 2; -
getTableCount
int getTableCount()Metadata related to the tables involved in the read.
repeated .google.spanner.executor.v1.TableMetadata table = 2; -
getTableOrBuilderList
List<? extends TableMetadataOrBuilder> getTableOrBuilderList()Metadata related to the tables involved in the read.
repeated .google.spanner.executor.v1.TableMetadata table = 2; -
getTableOrBuilder
Metadata related to the tables involved in the read.
repeated .google.spanner.executor.v1.TableMetadata table = 2; -
hasDesiredBytesPerPartition
boolean hasDesiredBytesPerPartition()Desired size of data in each partition. Spanner doesn't guarantee to respect this value.
optional int64 desired_bytes_per_partition = 3;- Returns:
- Whether the desiredBytesPerPartition field is set.
-
getDesiredBytesPerPartition
long getDesiredBytesPerPartition()Desired size of data in each partition. Spanner doesn't guarantee to respect this value.
optional int64 desired_bytes_per_partition = 3;- Returns:
- The desiredBytesPerPartition.
-
hasMaxPartitionCount
boolean hasMaxPartitionCount()If set, the desired max number of partitions. Spanner doesn't guarantee to respect this value.
optional int64 max_partition_count = 4;- Returns:
- Whether the maxPartitionCount field is set.
-
getMaxPartitionCount
long getMaxPartitionCount()If set, the desired max number of partitions. Spanner doesn't guarantee to respect this value.
optional int64 max_partition_count = 4;- Returns:
- The maxPartitionCount.
-