@ThreadSafe public class BucketSelector extends Object implements Serializable
Predicate
.Modifier and Type | Field and Description |
---|---|
static int |
MAX_VALUES |
Constructor and Description |
---|
BucketSelector(int[] hashCodes) |
Modifier and Type | Method and Description |
---|---|
static Optional<BucketSelector> |
create(Predicate bucketPredicate,
org.apache.flink.table.types.logical.RowType bucketKeyType) |
boolean |
select(int bucket,
int numBucket) |
public static final int MAX_VALUES
public boolean select(int bucket, int numBucket)
public static Optional<BucketSelector> create(Predicate bucketPredicate, org.apache.flink.table.types.logical.RowType bucketKeyType)
Copyright © 2019–2023 The Apache Software Foundation. All rights reserved.