Interface PartitionOptionsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PartitionOptions, PartitionOptions.Builder

public interface PartitionOptionsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    **Note:** This hint is currently ignored by `PartitionQuery` and `PartitionRead` requests.
    long
    **Note:** This hint is currently ignored by `PartitionQuery` and `PartitionRead` requests.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getPartitionSizeBytes

      long getPartitionSizeBytes()
       **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.
       
      int64 partition_size_bytes = 1;
      Returns:
      The partitionSizeBytes.
    • getMaxPartitions

      long getMaxPartitions()
       **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.
       
      int64 max_partitions = 2;
      Returns:
      The maxPartitions.