public class OrcNoHiveShim extends Object implements OrcShim<org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch>
Constructor and Description |
---|
OrcNoHiveShim() |
Modifier and Type | Method and Description |
---|---|
OrcNoHiveBatchWrapper |
createBatchWrapper(org.apache.orc.TypeDescription schema,
int batchSize) |
org.apache.orc.RecordReader |
createRecordReader(Configuration conf,
org.apache.orc.TypeDescription schema,
int[] selectedFields,
List<OrcFilters.Predicate> conjunctPredicates,
Path path,
long splitStart,
long splitLength)
Create orc
RecordReader from conf, schema and etc... |
boolean |
nextBatch(org.apache.orc.RecordReader reader,
org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch rowBatch)
Read the next row batch.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createShim, defaultShim
public org.apache.orc.RecordReader createRecordReader(Configuration conf, org.apache.orc.TypeDescription schema, int[] selectedFields, List<OrcFilters.Predicate> conjunctPredicates, Path path, long splitStart, long splitLength) throws IOException
OrcShim
RecordReader
from conf, schema and etc...createRecordReader
in interface OrcShim<org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch>
IOException
public OrcNoHiveBatchWrapper createBatchWrapper(org.apache.orc.TypeDescription schema, int batchSize)
createBatchWrapper
in interface OrcShim<org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch>
public boolean nextBatch(org.apache.orc.RecordReader reader, org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch rowBatch) throws IOException
OrcShim
nextBatch
in interface OrcShim<org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch>
IOException
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.