public class PartitionIndex extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
accessed |
Int2ShortHashMap |
hash2Bucket |
long |
lastAccessedCommitIdentifier |
Map<Integer,Long> |
nonFullBucketInformation |
Set<Integer> |
totalBucket |
Constructor and Description |
---|
PartitionIndex(Int2ShortHashMap hash2Bucket,
Map<Integer,Long> bucketInformation,
long targetBucketRowNumber) |
Modifier and Type | Method and Description |
---|---|
int |
assign(int hash,
java.util.function.IntPredicate bucketFilter) |
static PartitionIndex |
loadIndex(IndexFileHandler indexFileHandler,
BinaryRow partition,
long targetBucketRowNumber,
java.util.function.IntPredicate loadFilter,
java.util.function.IntPredicate bucketFilter) |
public final Int2ShortHashMap hash2Bucket
public boolean accessed
public long lastAccessedCommitIdentifier
public PartitionIndex(Int2ShortHashMap hash2Bucket, Map<Integer,Long> bucketInformation, long targetBucketRowNumber)
public int assign(int hash, java.util.function.IntPredicate bucketFilter)
public static PartitionIndex loadIndex(IndexFileHandler indexFileHandler, BinaryRow partition, long targetBucketRowNumber, java.util.function.IntPredicate loadFilter, java.util.function.IntPredicate bucketFilter)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.