GoogleApi.Spanner.V1.Model.PartitionOptions (google_api_spanner v0.48.0)

View Source

Options for a PartitionQueryRequest and PartitionReadRequest.

Attributes

  • maxPartitions (type: String.t, default: nil) - Note: This hint is currently ignored by PartitionQuery and PartitionRead 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.
  • partitionSizeBytes (type: String.t, default: nil) - 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 can be smaller or larger than this size request.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Spanner.V1.Model.PartitionOptions{
  maxPartitions: String.t() | nil,
  partitionSizeBytes: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.