public interface BucketAssigner
Modifier and Type | Method and Description |
---|---|
int |
assign(BinaryRow partition,
int hash) |
static int |
computeAssigner(int partitionHash,
int keyHash,
int numChannels,
int numAssigners) |
static int |
computeHashKey(int partitionHash,
int keyHash,
int numChannels,
int numAssigners) |
static boolean |
isMyBucket(int bucket,
int numAssigners,
int assignId) |
void |
prepareCommit(long commitIdentifier) |
int assign(BinaryRow partition, int hash)
void prepareCommit(long commitIdentifier)
static boolean isMyBucket(int bucket, int numAssigners, int assignId)
static int computeHashKey(int partitionHash, int keyHash, int numChannels, int numAssigners)
static int computeAssigner(int partitionHash, int keyHash, int numChannels, int numAssigners)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.