Package org.apache.orc.impl.reader.tree
Class PrimitiveBatchReader
java.lang.Object
org.apache.orc.impl.reader.tree.BatchReader
org.apache.orc.impl.reader.tree.PrimitiveBatchReader
-
Field Summary
Fields inherited from class org.apache.orc.impl.reader.tree.BatchReader
rootType, vectorColumnCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidnextBatch(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch, int batchSize, TypeReader.ReadPhase readPhase) Read the next batch of data from the file.voidseek(PositionProvider[] index, TypeReader.ReadPhase readPhase) voidskipRows(long rows, TypeReader.ReadPhase readPhase) voidstartStripe(StripePlanner planner, TypeReader.ReadPhase readPhase) Methods inherited from class org.apache.orc.impl.reader.tree.BatchReader
resetBatch, setVectorColumnCount
-
Constructor Details
-
PrimitiveBatchReader
-
-
Method Details
-
nextBatch
public void nextBatch(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch, int batchSize, TypeReader.ReadPhase readPhase) throws IOException Description copied from class:BatchReaderRead the next batch of data from the file.- Specified by:
nextBatchin classBatchReader- Parameters:
batch- the batch to read intobatchSize- the number of rows to readreadPhase- defines the read phase- Throws:
IOException- errors reading the file
-
startStripe
- Specified by:
startStripein classBatchReader- Throws:
IOException
-
skipRows
- Specified by:
skipRowsin classBatchReader- Throws:
IOException
-
seek
- Specified by:
seekin classBatchReader- Throws:
IOException
-