public static class Parquet.ReadBuilder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
<D> CloseableIterable<D> |
build() |
Parquet.ReadBuilder |
callInit() |
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) |
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 |
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)
public Parquet.ReadBuilder readSupport(org.apache.parquet.hadoop.api.ReadSupport<?> newFilterSupport)
public 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)
public Parquet.ReadBuilder callInit()
public Parquet.ReadBuilder reuseContainers()
public Parquet.ReadBuilder recordsPerBatch(int numRowsPerBatch)
public Parquet.ReadBuilder withNameMapping(NameMapping newNameMapping)
public <D> CloseableIterable<D> build()