nl.topicus.jdbc.shaded.com.google.spanner.v1.PartitionOptionsOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spanner-jdbc Show documentation
Show all versions of spanner-jdbc Show documentation
JDBC Driver for Google Cloud Spanner
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/spanner/v1/spanner.proto
package nl.topicus.jdbc.shaded.com.google.spanner.v1;
public interface PartitionOptionsOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.spanner.v1.PartitionOptions)
nl.topicus.jdbc.shaded.com.google.protobuf.MessageOrBuilder {
/**
*
* **Note:** This hint is currently ignored by PartitionQuery and
* PartitionRead requests.
* The desired data size for each partition generated. The default for this
* option is currently 1 GiB. This is only a hint. The actual size of each
* partition may be smaller or larger than this size request.
*
*
* int64 partition_size_bytes = 1;
*/
long getPartitionSizeBytes();
/**
*
* **Note:** This hint is currently ignored by PartitionQuery and
* PartitionRead requests.
* The desired maximum number of partitions to return. For example, this may
* be set to the number of workers available. The default for this option
* is currently 10,000. The maximum value is currently 200,000. This is only
* a hint. The actual number of partitions returned may be smaller or larger
* than this maximum count request.
*
*
* int64 max_partitions = 2;
*/
long getMaxPartitions();
}