public class HashIndexMaintainer extends Object implements IndexMaintainer<KeyValue>
IndexMaintainer
for dynamic bucket to maintain key hashcode in a bucket.Modifier and Type | Class and Description |
---|---|
static class |
HashIndexMaintainer.Factory
Factory to restore
HashIndexMaintainer . |
Modifier and Type | Method and Description |
---|---|
boolean |
isEmpty() |
void |
notifyNewRecord(KeyValue record) |
List<IndexFileMeta> |
prepareCommit() |
public void notifyNewRecord(KeyValue record)
notifyNewRecord
in interface IndexMaintainer<KeyValue>
public List<IndexFileMeta> prepareCommit()
prepareCommit
in interface IndexMaintainer<KeyValue>
@VisibleForTesting public boolean isEmpty()
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.