T
- type of record to read.public interface SplitRead<T>
RecordReader
creation.Modifier and Type | Method and Description |
---|---|
static <L,R> SplitRead<R> |
convert(SplitRead<L> read,
IOFunction<DataSplit,RecordReader<R>> convertedFactory) |
RecordReader<T> |
createReader(DataSplit split)
Create a
RecordReader from split. |
SplitRead<T> |
forceKeepDelete() |
SplitRead<T> |
withFilter(Predicate predicate) |
SplitRead<T> |
withIOManager(IOManager ioManager) |
SplitRead<T> |
withProjection(int[][] projectedFields) |
RecordReader<T> createReader(DataSplit split) throws IOException
RecordReader
from split.IOException
static <L,R> SplitRead<R> convert(SplitRead<L> read, IOFunction<DataSplit,RecordReader<R>> convertedFactory)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.