Class PartitionOptions (6.74.0)

public class PartitionOptions implements Serializable

Defines the configuration for the number and size of partitions returned from BatchReadOnlyTransaction#partitionRead, BatchReadOnlyTransaction#partitionReadUsingIndex and BatchReadOnlyTransaction#partitionQuery

Note: these options may not be honored based on the other parameters in the request.

Inheritance

Object > PartitionOptions

Implements

Serializable

Static Methods

getDefaultInstance()

public static PartitionOptions getDefaultInstance()
Returns
Type Description
PartitionOptions

newBuilder()

public static PartitionOptions.Builder newBuilder()
Returns
Type Description
PartitionOptions.Builder

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getMaxPartitions()

public long getMaxPartitions()

Returns the maximum number of partitions to be created.

Returns
Type Description
long

getPartitionSizeBytes()

public long getPartitionSizeBytes()

Returns the size of the partition in bytes.

Returns
Type Description
long

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides