public class BucketSpec extends Object
If the `bucketMode` is BucketMode.HASH_DYNAMIC
, then `numBucket` is -1;
Constructor and Description |
---|
BucketSpec(BucketMode bucketMode,
List<String> bucketKeys,
int numBuckets) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getBucketKeys() |
BucketMode |
getBucketMode() |
int |
getNumBuckets() |
String |
toString() |
public BucketSpec(BucketMode bucketMode, List<String> bucketKeys, int numBuckets)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.