public static class PartitionOptions.Builder extends Object
PartitionOptions
instance.Modifier and Type | Method and Description |
---|---|
PartitionOptions |
build() |
PartitionOptions.Builder |
setMaxPartitions(long maxPartitions) |
PartitionOptions.Builder |
setPartitionSizeBytes(long partitionSizeBytes)
The desired data size for each partition generated.
|
public PartitionOptions.Builder setPartitionSizeBytes(long partitionSizeBytes)
partitionSizeBytes
- configuration for size of the partitions returnedpublic PartitionOptions.Builder setMaxPartitions(long maxPartitions)
public PartitionOptions build()
Copyright © 2019 Google LLC. All rights reserved.