public class RawFileSplitRead extends Object implements SplitRead<InternalRow>
| Constructor and Description |
|---|
RawFileSplitRead(FileIO fileIO,
SchemaManager schemaManager,
TableSchema schema,
RowType rowType,
FileFormatDiscover formatDiscover,
FileStorePathFactory pathFactory,
boolean fileIndexReadEnabled) |
| Modifier and Type | Method and Description |
|---|---|
RecordReader<InternalRow> |
createReader(BinaryRow partition,
int bucket,
List<DataFileMeta> files,
List<IOExceptionSupplier<DeletionVector>> dvFactories) |
RecordReader<InternalRow> |
createReader(DataSplit split)
Create a
RecordReader from split. |
SplitRead<InternalRow> |
forceKeepDelete() |
RawFileSplitRead |
withFilter(Predicate predicate) |
SplitRead<InternalRow> |
withIOManager(IOManager ioManager) |
RawFileSplitRead |
withProjection(int[][] projectedFields) |
public RawFileSplitRead(FileIO fileIO, SchemaManager schemaManager, TableSchema schema, RowType rowType, FileFormatDiscover formatDiscover, FileStorePathFactory pathFactory, boolean fileIndexReadEnabled)
public SplitRead<InternalRow> forceKeepDelete()
forceKeepDelete in interface SplitRead<InternalRow>public SplitRead<InternalRow> withIOManager(@Nullable IOManager ioManager)
withIOManager in interface SplitRead<InternalRow>public RawFileSplitRead withProjection(int[][] projectedFields)
withProjection in interface SplitRead<InternalRow>public RawFileSplitRead withFilter(Predicate predicate)
withFilter in interface SplitRead<InternalRow>public RecordReader<InternalRow> createReader(DataSplit split) throws IOException
SplitReadRecordReader from split.createReader in interface SplitRead<InternalRow>IOExceptionpublic RecordReader<InternalRow> createReader(BinaryRow partition, int bucket, List<DataFileMeta> files, @Nullable List<IOExceptionSupplier<DeletionVector>> dvFactories) throws IOException
IOExceptionCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.