Show / Hide Table of Contents

Class PartitionOptions

Options for a PartitionQueryRequest and PartitionReadRequest.

Inheritance
System.Object
PartitionOptions
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Spanner.v1.Data
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class PartitionOptions : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

MaxPartitions

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.

Declaration
[JsonProperty("maxPartitions")]
public virtual long? MaxPartitions { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

PartitionSizeBytes

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.

Declaration
[JsonProperty("partitionSizeBytes")]
public virtual long? PartitionSizeBytes { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

Implements

IDirectResponseSchema
In This Article
Back to top