Package org.apache.iceberg.orc
Class ORC.ReadBuilder
java.lang.Object
org.apache.iceberg.orc.ORC.ReadBuilder
- Enclosing class:
- ORC
-
Method Summary
Modifier and TypeMethodDescription<D> CloseableIterable<D>build()caseSensitive(boolean newCaseSensitive) createBatchedReaderFunc(Function<org.apache.orc.TypeDescription, OrcBatchReader<?>> batchReaderFunction) createReaderFunc(Function<org.apache.orc.TypeDescription, OrcRowReader<?>> readerFunction) filter(Expression newFilter) recordsPerBatch(int numRecordsPerBatch) split(long newStart, long newLength) Restricts the read to the given range: [start, start + length).withNameMapping(NameMapping newNameMapping)
-
Method Details
-
split
Restricts the read to the given range: [start, start + length).- Parameters:
newStart- the start position for this readnewLength- the length of the range this read should scan- Returns:
- this builder for method chaining
-
project
-
caseSensitive
-
config
-
createReaderFunc
public ORC.ReadBuilder createReaderFunc(Function<org.apache.orc.TypeDescription, OrcRowReader<?>> readerFunction) -
filter
-
createBatchedReaderFunc
public ORC.ReadBuilder createBatchedReaderFunc(Function<org.apache.orc.TypeDescription, OrcBatchReader<?>> batchReaderFunction) -
recordsPerBatch
-
withNameMapping
-
build
-