| Modifier and Type | Class and Description |
|---|---|
static class |
HoodieMergedLogRecordReader.Builder<T>
Builder used to build
HoodieUnMergedLogRecordScanner. |
| Modifier and Type | Field and Description |
|---|---|
HoodieTimer |
timer |
forceFullScan, hoodieTableMetaClient, logFilePaths, preCombineField, readerContext, readerSchema, recordBuffer, recordMergeMode, recordMerger, recordType| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getNumMergedRecordsInLog() |
Map<Serializable,Pair<Option<T>,Map<String,Object>>> |
getRecords() |
HoodieRecord.HoodieRecordType |
getRecordType() |
long |
getTotalTimeTakenToReadAndMergeBlocks() |
Iterator<Pair<Option<T>,Map<String,Object>>> |
iterator() |
static HoodieMergedLogRecordReader.Builder |
newBuilder()
Returns the builder for
HoodieMergedLogRecordReader. |
void |
scan()
Scans delta-log files processing blocks
|
void |
scan(boolean skipProcessingBlocks) |
void |
scanByFullKeys(List<String> keys)
Provides incremental scanning capability where only provided keys will be looked
up in the delta-log files, scanned and subsequently materialized into the internal
cache
|
void |
scanByKeyPrefixes(List<String> keyPrefixes)
Provides incremental scanning capability where only keys matching provided key-prefixes
will be looked up in the delta-log files, scanned and subsequently materialized into
the internal cache
|
getCurrentInstantLogBlocks, getPartitionNameOverride, getPayloadClassFQN, getPayloadProps, getProgress, getTotalCorruptBlocks, getTotalLogBlocks, getTotalLogFiles, getTotalLogRecords, getTotalRollbacks, getValidBlockInstants, isWithOperationField, scanInternalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic final HoodieTimer timer
public final void scan()
public final void scan(boolean skipProcessingBlocks)
public void scanByFullKeys(List<String> keys)
keys - to be looked uppublic void scanByKeyPrefixes(List<String> keyPrefixes)
keyPrefixes - to be looked uppublic HoodieRecord.HoodieRecordType getRecordType()
public long getNumMergedRecordsInLog()
public static HoodieMergedLogRecordReader.Builder newBuilder()
HoodieMergedLogRecordReader.public long getTotalTimeTakenToReadAndMergeBlocks()
public void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2024 The Apache Software Foundation. All rights reserved.