I - type of the tuple of (HoodieFileGroupId, <record-key>). Note that this is
parameterized as generic such that this code could be reused for Spark as wellpublic class HoodieBloomIndexCheckFunction<I> extends Object implements Function<Iterator<I>,Iterator<List<HoodieKeyLookupResult>>>, Serializable
HoodieFileGroupId and a record key and producing
a list of HoodieKeyLookupResult for every file identified by the file-group ids| Modifier and Type | Class and Description |
|---|---|
protected class |
HoodieBloomIndexCheckFunction.LazyKeyCheckIterator |
| Constructor and Description |
|---|
HoodieBloomIndexCheckFunction(HoodieTable hoodieTable,
HoodieWriteConfig config,
SerializableFunction<I,HoodieFileGroupId> fileGroupIdExtractor,
SerializableFunction<I,String> recordKeyExtractor) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<List<HoodieKeyLookupResult>> |
apply(Iterator<I> fileGroupIdRecordKeyPairIterator) |
public HoodieBloomIndexCheckFunction(HoodieTable hoodieTable, HoodieWriteConfig config, SerializableFunction<I,HoodieFileGroupId> fileGroupIdExtractor, SerializableFunction<I,String> recordKeyExtractor)
Copyright © 2023 The Apache Software Foundation. All rights reserved.