Class: Google::Spanner::V1::PartitionOptions
- Inherits:
-
Object
- Object
- Google::Spanner::V1::PartitionOptions
- Defined in:
- lib/google/cloud/spanner/v1/doc/google/spanner/v1/spanner.rb
Overview
Options for a PartitionQueryRequest and PartitionReadRequest.
Instance Attribute Summary collapse
-
#max_partitions ⇒ Integer
The desired maximum number of partitions to return.
-
#partition_size_bytes ⇒ Integer
The desired data size for each partition generated.
Instance Attribute Details
#max_partitions ⇒ Integer
Returns 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.
201 |
# File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/spanner.rb', line 201 class PartitionOptions; end |
#partition_size_bytes ⇒ Integer
Returns 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.
201 |
# File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/spanner.rb', line 201 class PartitionOptions; end |