Package com.exasol.parquetio.reader
Class RowParquetChunkReader.RowIterator
java.lang.Object
com.exasol.parquetio.reader.RowParquetChunkReader.RowIterator
- All Implemented Interfaces:
AutoCloseable,Iterator<Row>
- Enclosing class:
- RowParquetChunkReader
public static class RowParquetChunkReader.RowIterator
extends Object
implements Iterator<Row>, AutoCloseable
Iterator that reads the rows of a given list of chunks.
-
Constructor Summary
ConstructorsConstructorDescriptionRowIterator(com.exasol.parquetio.reader.RowParquetChunkReader.PositionAwareReader reader, org.apache.parquet.io.InputFile file, org.apache.parquet.io.MessageColumnIO messageIO, org.apache.parquet.io.api.RecordMaterializer<Row> recordMaterializer, List<ChunkInterval> chunks) Create a new instance ofRowParquetChunkReader.RowIterator. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
RowIterator
public RowIterator(com.exasol.parquetio.reader.RowParquetChunkReader.PositionAwareReader reader, org.apache.parquet.io.InputFile file, org.apache.parquet.io.MessageColumnIO messageIO, org.apache.parquet.io.api.RecordMaterializer<Row> recordMaterializer, List<ChunkInterval> chunks) Create a new instance ofRowParquetChunkReader.RowIterator.- Parameters:
reader- readerfile- filemessageIO- message iorecordMaterializer- record materializerchunks- chunks to read
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-