public class HoodieSimpleBucketIndex extends HoodieBucketIndex
| Modifier and Type | Class and Description |
|---|---|
class |
HoodieSimpleBucketIndex.SimpleBucketIndexLocationMapper |
HoodieIndex.BucketIndexEngineType, HoodieIndex.IndexTypeindexKeyFields, numBucketsconfig| Constructor and Description |
|---|
HoodieSimpleBucketIndex(HoodieWriteConfig config) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canIndexLogFiles()
This is used by storage to determine, if its safe to send inserts, straight to the log, i.e having a
FileSlice, with no data file. |
protected BucketIndexLocationMapper |
getLocationMapper(HoodieTable table,
List<String> partitionPath)
Get a location mapper for the given table & partitionPath
|
getNumBuckets, isGlobal, isImplicitWithStorage, requiresTagging, rollbackCommit, tagLocation, updateLocationclose, tagLocation, updateLocationpublic HoodieSimpleBucketIndex(HoodieWriteConfig config)
public boolean canIndexLogFiles()
HoodieIndexFileSlice, with no data file.canIndexLogFiles in class HoodieBucketIndexprotected BucketIndexLocationMapper getLocationMapper(HoodieTable table, List<String> partitionPath)
HoodieBucketIndexgetLocationMapper in class HoodieBucketIndexCopyright © 2022 The Apache Software Foundation. All rights reserved.