public class BucketIdExtractor extends Object implements Serializable
BucketIdExtractor
is used to extract the bucket id from join keys. It requires that the
join keys contain all bucket keys and projects the bucket key fields from the given join key row.Constructor and Description |
---|
BucketIdExtractor(int numBuckets,
TableSchema tableSchema,
List<String> joinKeyFieldNames,
List<String> bucketKeyFieldNames) |
Modifier and Type | Method and Description |
---|---|
int |
extractBucketId(org.apache.flink.table.data.RowData joinKeyRow) |
public BucketIdExtractor(int numBuckets, TableSchema tableSchema, List<String> joinKeyFieldNames, List<String> bucketKeyFieldNames)
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.