public sealed class PartitionOptions : IMessage<PartitionOptions>, IEquatable<PartitionOptions>, IDeepCloneable<PartitionOptions>, IBufferMessage, IMessage
Options for a PartitionQueryRequest and
PartitionReadRequest.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The `PartitionOptions` class in the `Google.Cloud.Spanner.V1` namespace provides configuration options for `PartitionQuery` and `PartitionRead` requests within the Google Cloud Spanner API."],["Version 5.0.0-beta05 is the latest available version, while version 3.13.0 is the currently displayed version in the documentation."],["The `MaxPartitions` property, although currently a hint, suggests the desired maximum number of partitions, with a default of 10,000 and a maximum value of 200,000."],["The `PartitionSizeBytes` property, also a hint, indicates the desired data size per partition, with a default of 1 GiB."],["`PartitionOptions` can be created using a default constructor or by providing another `PartitionOptions` instance to the constructor."]]],[]]