public class PrimitiveBatchReader extends BatchReader
rootType, vectorColumnCount| Constructor and Description | 
|---|
| PrimitiveBatchReader(TypeReader rowReader) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | nextBatch(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) | 
resetBatch, setVectorColumnCountpublic PrimitiveBatchReader(TypeReader rowReader)
public void nextBatch(VectorizedRowBatch batch, int batchSize, TypeReader.ReadPhase readPhase) throws IOException
BatchReadernextBatch in class BatchReaderbatch - the batch to read intobatchSize - the number of rows to readreadPhase - defines the read phaseIOException - errors reading the filepublic void startStripe(StripePlanner planner, TypeReader.ReadPhase readPhase) throws IOException
startStripe in class BatchReaderIOExceptionpublic void skipRows(long rows,
                     TypeReader.ReadPhase readPhase)
              throws IOException
skipRows in class BatchReaderIOExceptionpublic void seek(PositionProvider[] index, TypeReader.ReadPhase readPhase) throws IOException
seek in class BatchReaderIOExceptionCopyright © 2013–2023 The Apache Software Foundation. All rights reserved.