Interface GenerateDbPartitionsForReadActionOrBuilder (6.62.0)

public interface GenerateDbPartitionsForReadActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDesiredBytesPerPartition()

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

The desiredBytesPerPartition.

getMaxPartitionCount()

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

The maxPartitionCount.

getRead()

public abstract ReadAction getRead()

Read to generate partitions for.

.google.spanner.executor.v1.ReadAction read = 1;

Returns
TypeDescription
ReadAction

The read.

getReadOrBuilder()

public abstract ReadActionOrBuilder getReadOrBuilder()

Read to generate partitions for.

.google.spanner.executor.v1.ReadAction read = 1;

Returns
TypeDescription
ReadActionOrBuilder

getTable(int index)

public abstract TableMetadata getTable(int index)

Metadata related to the tables involved in the read.

repeated .google.spanner.executor.v1.TableMetadata table = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
TableMetadata

getTableCount()

public abstract int getTableCount()

Metadata related to the tables involved in the read.

repeated .google.spanner.executor.v1.TableMetadata table = 2;

Returns
TypeDescription
int

getTableList()

public abstract List<TableMetadata> getTableList()

Metadata related to the tables involved in the read.

repeated .google.spanner.executor.v1.TableMetadata table = 2;

Returns
TypeDescription
List<TableMetadata>

getTableOrBuilder(int index)

public abstract TableMetadataOrBuilder getTableOrBuilder(int index)

Metadata related to the tables involved in the read.

repeated .google.spanner.executor.v1.TableMetadata table = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
TableMetadataOrBuilder

getTableOrBuilderList()

public abstract List<? extends TableMetadataOrBuilder> getTableOrBuilderList()

Metadata related to the tables involved in the read.

repeated .google.spanner.executor.v1.TableMetadata table = 2;

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

hasDesiredBytesPerPartition()

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

Whether the desiredBytesPerPartition field is set.

hasMaxPartitionCount()

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

Whether the maxPartitionCount field is set.

hasRead()

public abstract boolean hasRead()

Read to generate partitions for.

.google.spanner.executor.v1.ReadAction read = 1;

Returns
TypeDescription
boolean

Whether the read field is set.