public class VectorizedParquetReader<T> extends CloseableGroup implements CloseableIterable<T>
CloseableIterable.ConcatCloseableIterable<E>
Constructor and Description |
---|
VectorizedParquetReader(InputFile input,
Schema expectedSchema,
org.apache.parquet.ParquetReadOptions options,
java.util.function.Function<org.apache.parquet.schema.MessageType,VectorizedReader<?>> readerFunc,
NameMapping nameMapping,
Expression filter,
boolean reuseContainers,
boolean caseSensitive,
int maxRecordsPerBatch) |
Modifier and Type | Method and Description |
---|---|
CloseableIterator<T> |
iterator()
Returns a closeable iterator over elements of type
T . |
addCloseable, addCloseable, close, setSuppressCloseFailure
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
combine, concat, count, empty, filter, filter, transform, whenComplete, withNoopClose, withNoopClose
public VectorizedParquetReader(InputFile input, Schema expectedSchema, org.apache.parquet.ParquetReadOptions options, java.util.function.Function<org.apache.parquet.schema.MessageType,VectorizedReader<?>> readerFunc, NameMapping nameMapping, Expression filter, boolean reuseContainers, boolean caseSensitive, int maxRecordsPerBatch)
public CloseableIterator<T> iterator()
CloseableIterable
T
.iterator
in interface java.lang.Iterable<T>
iterator
in interface CloseableIterable<T>
CloseableIterator
.