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> org.apache.iceberg.io.CloseableIterable<D>build()caseSensitive(boolean newCaseSensitive) createBatchedReaderFunc(Function<org.apache.orc.TypeDescription, OrcBatchReader<?>> batchReaderFunction) createReaderFunc(Function<org.apache.orc.TypeDescription, OrcRowReader<?>> readerFunction) filter(org.apache.iceberg.expressions.Expression newFilter) project(org.apache.iceberg.Schema newSchema) recordsPerBatch(int numRecordsPerBatch) split(long newStart, long newLength) Restricts the read to the given range: [start, start + length).withNameMapping(org.apache.iceberg.mapping.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
public <D> org.apache.iceberg.io.CloseableIterable<D> build()
-