public class HoodieConsistentBucketIndex extends HoodieBucketIndex
| Modifier and Type | Class and Description |
|---|---|
class |
HoodieConsistentBucketIndex.ConsistentBucketIndexLocationMapper |
HoodieIndex.BucketIndexEngineType, HoodieIndex.IndexTypeindexKeyFields, numBucketsconfig| Constructor and Description |
|---|
HoodieConsistentBucketIndex(HoodieWriteConfig config) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
rollbackCommit(String instantTime)
Do nothing.
|
<R> HoodieData<HoodieRecord<R>> |
tagLocation(HoodieData<HoodieRecord<R>> records,
HoodieEngineContext context,
HoodieTable hoodieTable)
Looks up the index and tags each incoming record with a location of a file that contains
the row (if it is actually present).
|
HoodieData<WriteStatus> |
updateLocation(HoodieData<WriteStatus> writeStatuses,
HoodieEngineContext context,
HoodieTable hoodieTable)
Extracts the location of written records, and updates the index.
|
canIndexLogFiles, getNumBuckets, isGlobal, isImplicitWithStorage, requiresTaggingclose, tagLocation, updateLocation, updateLocationpublic HoodieConsistentBucketIndex(HoodieWriteConfig config)
public HoodieData<WriteStatus> updateLocation(HoodieData<WriteStatus> writeStatuses, HoodieEngineContext context, HoodieTable hoodieTable) throws HoodieIndexException
HoodieIndexupdateLocation in class HoodieBucketIndexHoodieIndexExceptionpublic boolean rollbackCommit(String instantTime)
rollbackCommit in class HoodieBucketIndexpublic <R> HoodieData<HoodieRecord<R>> tagLocation(HoodieData<HoodieRecord<R>> records, HoodieEngineContext context, HoodieTable hoodieTable) throws HoodieIndexException
HoodieIndextagLocation in class HoodieIndex<Object,Object>HoodieIndexExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.