@ThreadSafe public class HoodieMetadataLogRecordReader extends Object implements Closeable
HoodieMergedLogRecordScanner to merge corresponding Metadata Table's delta log-blocks
sequence| Modifier and Type | Class and Description |
|---|---|
static class |
HoodieMetadataLogRecordReader.Builder
Builder used to build
HoodieMetadataMergedLogRecordScanner. |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Map<String,List<HoodieRecord<HoodieMetadataPayload>>> |
getAllRecordsByKeys(List<String> sortedKeys) |
List<HoodieRecord<HoodieMetadataPayload>> |
getRecords() |
Map<String,HoodieRecord<HoodieMetadataPayload>> |
getRecordsByKeyPrefixes(List<String> sortedKeyPrefixes) |
Map<String,HoodieRecord<HoodieMetadataPayload>> |
getRecordsByKeys(List<String> sortedKeys)
Fetches records identified by the provided list of keys in case these are present in
the delta-log blocks
|
static HoodieMetadataLogRecordReader.Builder |
newBuilder(String partitionName)
Returns the builder for
HoodieMetadataMergedLogRecordScanner. |
public static HoodieMetadataLogRecordReader.Builder newBuilder(String partitionName)
HoodieMetadataMergedLogRecordScanner.public List<HoodieRecord<HoodieMetadataPayload>> getRecords()
public Map<String,HoodieRecord<HoodieMetadataPayload>> getRecordsByKeyPrefixes(List<String> sortedKeyPrefixes)
public Map<String,HoodieRecord<HoodieMetadataPayload>> getRecordsByKeys(List<String> sortedKeys)
public Map<String,List<HoodieRecord<HoodieMetadataPayload>>> getAllRecordsByKeys(List<String> sortedKeys)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.