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 |
|---|---|
protected BucketIndexLocationMapper |
getLocationMapper(HoodieTable table,
List<String> partitionPath)
Get a location mapper for the given table & partitionPath
|
boolean |
rollbackCommit(String instantTime)
Do nothing.
|
HoodieData<WriteStatus> |
updateLocation(HoodieData<WriteStatus> writeStatuses,
HoodieEngineContext context,
HoodieTable hoodieTable)
Extracts the location of written records, and updates the index.
|
canIndexLogFiles, getNumBuckets, isGlobal, isImplicitWithStorage, requiresTagging, tagLocationclose, 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 HoodieBucketIndexprotected BucketIndexLocationMapper getLocationMapper(HoodieTable table, List<String> partitionPath)
HoodieBucketIndexgetLocationMapper in class HoodieBucketIndexCopyright © 2023 The Apache Software Foundation. All rights reserved.