Reference documentation and code samples for the Cloud Spanner V1 API class Google::Cloud::Spanner::V1::PartitionOptions.
Options for a PartitionQueryRequest
and PartitionReadRequest
.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#max_partitions
def max_partitions() -> ::Integer
-
(::Integer) — Note: This hint is currently ignored by
PartitionQuery
andPartitionRead
requests.The desired maximum number of partitions to return. For example, this might 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 can be smaller or larger than this maximum count request.
#max_partitions=
def max_partitions=(value) -> ::Integer
-
value (::Integer) — Note: This hint is currently ignored by
PartitionQuery
andPartitionRead
requests.The desired maximum number of partitions to return. For example, this might 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 can be smaller or larger than this maximum count request.
-
(::Integer) — Note: This hint is currently ignored by
PartitionQuery
andPartitionRead
requests.The desired maximum number of partitions to return. For example, this might 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 can be smaller or larger than this maximum count request.
#partition_size_bytes
def partition_size_bytes() -> ::Integer
-
(::Integer) — Note: This hint is currently ignored by
PartitionQuery
andPartitionRead
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 can be smaller or larger than this size request.
#partition_size_bytes=
def partition_size_bytes=(value) -> ::Integer
-
value (::Integer) — Note: This hint is currently ignored by
PartitionQuery
andPartitionRead
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 can be smaller or larger than this size request.
-
(::Integer) — Note: This hint is currently ignored by
PartitionQuery
andPartitionRead
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 can be smaller or larger than this size request.