public class ParquetColumnarRowSplitReader extends Object implements Closeable
VectorizedColumnBatch
from input split.Modifier and Type | Class and Description |
---|---|
static interface |
ParquetColumnarRowSplitReader.ColumnBatchGenerator
Interface to gen
VectorizedColumnBatch . |
Constructor and Description |
---|
ParquetColumnarRowSplitReader(boolean utcTimestamp,
boolean caseSensitive,
org.apache.hadoop.conf.Configuration conf,
LogicalType[] selectedTypes,
String[] selectedFieldNames,
ParquetColumnarRowSplitReader.ColumnBatchGenerator generator,
int batchSize,
org.apache.hadoop.fs.Path path,
long splitStart,
long splitLength) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
ColumnarRowData |
nextRecord() |
boolean |
reachedEnd()
Method used to check if the end of the input is reached.
|
void |
seekToRow(long rowCount)
Seek to a particular row number.
|
public ParquetColumnarRowSplitReader(boolean utcTimestamp, boolean caseSensitive, org.apache.hadoop.conf.Configuration conf, LogicalType[] selectedTypes, String[] selectedFieldNames, ParquetColumnarRowSplitReader.ColumnBatchGenerator generator, int batchSize, org.apache.hadoop.fs.Path path, long splitStart, long splitLength) throws IOException
IOException
public boolean reachedEnd() throws IOException
IOException
- Thrown, if an I/O error occurred.public ColumnarRowData nextRecord()
public void seekToRow(long rowCount) throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.