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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
nextBatch
(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch, int batchSize, TypeReader.ReadPhase readPhase) Read the next batch of data from the file.void
seek
(PositionProvider[] index, TypeReader.ReadPhase readPhase) void
skipRows
(long rows, TypeReader.ReadPhase readPhase) void
startStripe
(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:BatchReader
Read the next batch of data from the file.- Specified by:
nextBatch
in 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:
startStripe
in classBatchReader
- Throws:
IOException
-
skipRows
- Specified by:
skipRows
in classBatchReader
- Throws:
IOException
-
seek
- Specified by:
seek
in classBatchReader
- Throws:
IOException
-