public static class HoodieMergedLogRecordScanner.Builder extends AbstractHoodieLogRecordReader.Builder
HoodieUnMergedLogRecordScanner.| Modifier and Type | Field and Description |
|---|---|
protected String |
basePath |
protected int |
bufferSize |
protected ExternalSpillableMap.DiskMapType |
diskMapType |
protected org.apache.hadoop.fs.FileSystem |
fs |
protected Option<InstantRange> |
instantRange |
protected boolean |
isBitCaskDiskMapCompressionEnabled |
protected String |
latestInstantTime |
protected List<String> |
logFilePaths |
protected Long |
maxMemorySizeInBytes |
protected String |
partitionName |
protected boolean |
readBlocksLazily |
protected org.apache.avro.Schema |
readerSchema |
protected boolean |
reverseReader |
protected String |
spillableMapBasePath |
| Constructor and Description |
|---|
Builder() |
protected org.apache.hadoop.fs.FileSystem fs
protected String basePath
protected org.apache.avro.Schema readerSchema
protected String latestInstantTime
protected boolean readBlocksLazily
protected boolean reverseReader
protected int bufferSize
protected Long maxMemorySizeInBytes
protected String spillableMapBasePath
protected ExternalSpillableMap.DiskMapType diskMapType
protected boolean isBitCaskDiskMapCompressionEnabled
protected Option<InstantRange> instantRange
protected String partitionName
public HoodieMergedLogRecordScanner.Builder withFileSystem(org.apache.hadoop.fs.FileSystem fs)
withFileSystem in class AbstractHoodieLogRecordReader.Builderpublic HoodieMergedLogRecordScanner.Builder withBasePath(String basePath)
withBasePath in class AbstractHoodieLogRecordReader.Builderpublic HoodieMergedLogRecordScanner.Builder withLogFilePaths(List<String> logFilePaths)
withLogFilePaths in class AbstractHoodieLogRecordReader.Builderpublic HoodieMergedLogRecordScanner.Builder withReaderSchema(org.apache.avro.Schema schema)
withReaderSchema in class AbstractHoodieLogRecordReader.Builderpublic HoodieMergedLogRecordScanner.Builder withLatestInstantTime(String latestInstantTime)
withLatestInstantTime in class AbstractHoodieLogRecordReader.Builderpublic HoodieMergedLogRecordScanner.Builder withReadBlocksLazily(boolean readBlocksLazily)
withReadBlocksLazily in class AbstractHoodieLogRecordReader.Builderpublic HoodieMergedLogRecordScanner.Builder withReverseReader(boolean reverseReader)
withReverseReader in class AbstractHoodieLogRecordReader.Builderpublic HoodieMergedLogRecordScanner.Builder withBufferSize(int bufferSize)
withBufferSize in class AbstractHoodieLogRecordReader.Builderpublic HoodieMergedLogRecordScanner.Builder withInstantRange(Option<InstantRange> instantRange)
withInstantRange in class AbstractHoodieLogRecordReader.Builderpublic HoodieMergedLogRecordScanner.Builder withMaxMemorySizeInBytes(Long maxMemorySizeInBytes)
public HoodieMergedLogRecordScanner.Builder withSpillableMapBasePath(String spillableMapBasePath)
public HoodieMergedLogRecordScanner.Builder withDiskMapType(ExternalSpillableMap.DiskMapType diskMapType)
public HoodieMergedLogRecordScanner.Builder withBitCaskDiskMapCompressionEnabled(boolean isBitCaskDiskMapCompressionEnabled)
public HoodieMergedLogRecordScanner.Builder withInternalSchema(InternalSchema internalSchema)
public HoodieMergedLogRecordScanner.Builder withOperationField(boolean withOperationField)
withOperationField in class AbstractHoodieLogRecordReader.Builderpublic HoodieMergedLogRecordScanner.Builder withPartition(String partitionName)
withPartition in class AbstractHoodieLogRecordReader.Builderpublic HoodieMergedLogRecordScanner build()
build in class AbstractHoodieLogRecordReader.BuilderCopyright © 2022 The Apache Software Foundation. All rights reserved.