public static class Parquet.ReadBuilder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
<D> CloseableIterable<D> |
build() |
Parquet.ReadBuilder |
callInit()
Deprecated.
will be removed in 2.0.0; use
createReaderFunc(Function) instead |
Parquet.ReadBuilder |
caseInsensitive() |
Parquet.ReadBuilder |
caseSensitive(boolean newCaseSensitive) |
Parquet.ReadBuilder |
createBatchedReaderFunc(java.util.function.Function<org.apache.parquet.schema.MessageType,VectorizedReader<?>> func) |
Parquet.ReadBuilder |
createReaderFunc(java.util.function.Function<org.apache.parquet.schema.MessageType,ParquetValueReader<?>> newReaderFunction) |
Parquet.ReadBuilder |
filter(Expression newFilter) |
Parquet.ReadBuilder |
filterRecords(boolean newFilterRecords) |
Parquet.ReadBuilder |
project(Schema newSchema) |
Parquet.ReadBuilder |
readSupport(org.apache.parquet.hadoop.api.ReadSupport<?> newFilterSupport)
Deprecated.
will be removed in 2.0.0; use
createReaderFunc(Function) instead |
Parquet.ReadBuilder |
recordsPerBatch(int numRowsPerBatch) |
Parquet.ReadBuilder |
reuseContainers() |
Parquet.ReadBuilder |
set(java.lang.String key,
java.lang.String value) |
Parquet.ReadBuilder |
split(long newStart,
long newLength)
Restricts the read to the given range: [start, start + length).
|
Parquet.ReadBuilder |
withAADPrefix(java.nio.ByteBuffer aadPrefix) |
Parquet.ReadBuilder |
withFileEncryptionKey(java.nio.ByteBuffer encryptionKey) |
Parquet.ReadBuilder |
withNameMapping(NameMapping newNameMapping) |
public Parquet.ReadBuilder split(long newStart, long newLength)
newStart
- the start position for this readnewLength
- the length of the range this read should scanpublic Parquet.ReadBuilder project(Schema newSchema)
public Parquet.ReadBuilder caseInsensitive()
public Parquet.ReadBuilder caseSensitive(boolean newCaseSensitive)
public Parquet.ReadBuilder filterRecords(boolean newFilterRecords)
public Parquet.ReadBuilder filter(Expression newFilter)
@Deprecated public Parquet.ReadBuilder readSupport(org.apache.parquet.hadoop.api.ReadSupport<?> newFilterSupport)
createReaderFunc(Function)
insteadpublic Parquet.ReadBuilder createReaderFunc(java.util.function.Function<org.apache.parquet.schema.MessageType,ParquetValueReader<?>> newReaderFunction)
public Parquet.ReadBuilder createBatchedReaderFunc(java.util.function.Function<org.apache.parquet.schema.MessageType,VectorizedReader<?>> func)
public Parquet.ReadBuilder set(java.lang.String key, java.lang.String value)
@Deprecated public Parquet.ReadBuilder callInit()
createReaderFunc(Function)
insteadpublic Parquet.ReadBuilder reuseContainers()
public Parquet.ReadBuilder recordsPerBatch(int numRowsPerBatch)
public Parquet.ReadBuilder withNameMapping(NameMapping newNameMapping)
public Parquet.ReadBuilder withFileEncryptionKey(java.nio.ByteBuffer encryptionKey)
public Parquet.ReadBuilder withAADPrefix(java.nio.ByteBuffer aadPrefix)
public <D> CloseableIterable<D> build()