Package org.apache.iceberg.parquet
Class Parquet.ReadBuilder
java.lang.Object
org.apache.iceberg.parquet.Parquet.ReadBuilder
- Enclosing class:
- Parquet
-
Method Summary
Modifier and TypeMethodDescription<D> CloseableIterable<D>build()callInit()Deprecated.caseSensitive(boolean newCaseSensitive) createBatchedReaderFunc(Function<org.apache.parquet.schema.MessageType, VectorizedReader<?>> func) createReaderFunc(Function<org.apache.parquet.schema.MessageType, ParquetValueReader<?>> newReaderFunction) filter(Expression newFilter) filterRecords(boolean newFilterRecords) readSupport(org.apache.parquet.hadoop.api.ReadSupport<?> newFilterSupport) Deprecated.will be removed in 2.0.0; usecreateReaderFunc(Function)insteadrecordsPerBatch(int numRowsPerBatch) split(long newStart, long newLength) Restricts the read to the given range: [start, start + length).withAADPrefix(ByteBuffer aadPrefix) withFileEncryptionKey(ByteBuffer encryptionKey) 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
-
caseInsensitive
-
caseSensitive
-
filterRecords
-
filter
-
readSupport
@Deprecated public Parquet.ReadBuilder readSupport(org.apache.parquet.hadoop.api.ReadSupport<?> newFilterSupport) Deprecated.will be removed in 2.0.0; usecreateReaderFunc(Function)instead -
createReaderFunc
public Parquet.ReadBuilder createReaderFunc(Function<org.apache.parquet.schema.MessageType, ParquetValueReader<?>> newReaderFunction) -
createBatchedReaderFunc
public Parquet.ReadBuilder createBatchedReaderFunc(Function<org.apache.parquet.schema.MessageType, VectorizedReader<?>> func) -
set
-
callInit
Deprecated.will be removed in 2.0.0; usecreateReaderFunc(Function)instead -
reuseContainers
-
recordsPerBatch
-
withNameMapping
-
withFileEncryptionKey
-
withAADPrefix
-
build
-
createReaderFunc(Function)instead