public class HiveVectorizedOrcSplitReader extends Object implements SplitReader
SplitReader to read files using OrcColumnarRowSplitReader.| Constructor and Description |
|---|
HiveVectorizedOrcSplitReader(String hiveVersion,
org.apache.hadoop.mapred.JobConf jobConf,
String[] fieldNames,
org.apache.flink.table.types.DataType[] fieldTypes,
int[] selectedFields,
HiveTableInputSplit split) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.flink.table.data.RowData |
nextRecord(org.apache.flink.table.data.RowData reuse)
Reads the next record from the input.
|
boolean |
reachedEnd()
Method used to check if the end of the input is reached.
|
void |
seekToRow(long rowCount,
org.apache.flink.table.data.RowData reuse)
Seek to a particular row number.
|
public HiveVectorizedOrcSplitReader(String hiveVersion, org.apache.hadoop.mapred.JobConf jobConf, String[] fieldNames, org.apache.flink.table.types.DataType[] fieldTypes, int[] selectedFields, HiveTableInputSplit split) throws IOException
IOExceptionpublic void seekToRow(long rowCount,
org.apache.flink.table.data.RowData reuse)
throws IOException
SplitReaderseekToRow in interface SplitReaderIOExceptionpublic boolean reachedEnd()
throws IOException
SplitReaderreachedEnd in interface SplitReaderIOException - Thrown, if an I/O error occurred.public org.apache.flink.table.data.RowData nextRecord(org.apache.flink.table.data.RowData reuse)
SplitReadernextRecord in interface SplitReaderreuse - Object that may be reused.public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.