public class ParquetSplitsRecordReaderShimImpl extends Object implements RecordReaderShim
Constructor and Description |
---|
ParquetSplitsRecordReaderShimImpl(ParquetFileReader parquetFileReader,
MessageType schema,
List<Integer> indexes,
List<com.actian.dataflow.hive.shims.ParquetDecoder> decoders) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes any resources associated with the underlying file.
|
long |
getRowNumber()
Returns the row number of the current row.
|
boolean |
hasNext()
Returns true if more records are available from the reader.
|
void |
processNext()
Processes the next available record.
|
public ParquetSplitsRecordReaderShimImpl(ParquetFileReader parquetFileReader, MessageType schema, List<Integer> indexes, List<com.actian.dataflow.hive.shims.ParquetDecoder> decoders) throws IOException
IOException
public boolean hasNext() throws IOException
RecordReaderShim
hasNext
in interface RecordReaderShim
IOException
- thrown if an I/O error occurs accessing the underlying filepublic void processNext() throws IOException
RecordReaderShim
processNext
in interface RecordReaderShim
IOException
- thrown if an I/O error occurs accessing the underlying filepublic long getRowNumber() throws IOException
RecordReaderShim
getRowNumber
in interface RecordReaderShim
IOException
- thrown if an I/O error occurs accessing the underlying filepublic void close() throws IOException
RecordReaderShim
close
in interface RecordReaderShim
IOException
- thrown if an I/O error occurs accessing the underlying fileCopyright © 2016 Actian Corporation. All Rights Reserved.