T
- type of recordpublic interface KeyAndBucketExtractor<T>
trimmedPrimaryKey
) and primary keys for external log system (logPrimaryKey
) from the
given record.Modifier and Type | Method and Description |
---|---|
int |
bucket() |
static int |
bucket(int hashcode,
int numBuckets) |
static int |
bucketKeyHashCode(BinaryRow bucketKey) |
BinaryRow |
logPrimaryKey() |
BinaryRow |
partition() |
void |
setRecord(T record) |
BinaryRow |
trimmedPrimaryKey() |
void setRecord(T record)
BinaryRow partition()
int bucket()
BinaryRow trimmedPrimaryKey()
BinaryRow logPrimaryKey()
static int bucketKeyHashCode(BinaryRow bucketKey)
static int bucket(int hashcode, int numBuckets)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.