public class OrcOiBatchToRowReader extends BatchToRowReader<OrcStruct,org.apache.hadoop.hive.ql.io.orc.OrcUnion> implements AcidInputFormat.AcidRecordReader<org.apache.hadoop.io.NullWritable,Object>
BatchToRowReader.VirtualColumnHandlerLOG, virtualColumnHandlers| Constructor and Description |
|---|
OrcOiBatchToRowReader(org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.NullWritable,VectorizedRowBatch> vrbReader,
VectorizedRowBatchCtx vrbCtx,
List<Integer> includedCols) |
| Modifier and Type | Method and Description |
|---|---|
protected OrcStruct |
createStructObject(Object previous,
List<TypeInfo> childrenTypes) |
protected org.apache.hadoop.hive.ql.io.orc.OrcUnion |
createUnionObject(List<TypeInfo> childrenTypes,
Object previous) |
OrcRawRecordMerger.ReaderKey |
getRecordIdentifier() |
protected Object |
getStructCol(OrcStruct structObj,
int i) |
protected int |
getStructLength(OrcStruct structObj) |
protected Object |
getUnionField(org.apache.hadoop.hive.ql.io.orc.OrcUnion unionObj) |
protected List<BatchToRowReader.VirtualColumnHandler> |
requestedVirtualColumns() |
protected void |
setStructCol(OrcStruct structObj,
int i,
Object value) |
protected void |
setUnion(org.apache.hadoop.hive.ql.io.orc.OrcUnion unionObj,
byte tag,
Object object) |
close, createKey, createValue, getPos, getProgress, next, nextBinary, nextBoolean, nextByte, nextChar, nextDate, nextDecimal, nextDouble, nextFloat, nextInt, nextLong, nextShort, nextString, nextStruct, nextTimestamp, nextVarcharpublic OrcOiBatchToRowReader(org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.NullWritable,VectorizedRowBatch> vrbReader, VectorizedRowBatchCtx vrbCtx, List<Integer> includedCols)
protected List<BatchToRowReader.VirtualColumnHandler> requestedVirtualColumns()
requestedVirtualColumns in class BatchToRowReader<OrcStruct,org.apache.hadoop.hive.ql.io.orc.OrcUnion>protected OrcStruct createStructObject(Object previous, List<TypeInfo> childrenTypes)
createStructObject in class BatchToRowReader<OrcStruct,org.apache.hadoop.hive.ql.io.orc.OrcUnion>protected int getStructLength(OrcStruct structObj)
getStructLength in class BatchToRowReader<OrcStruct,org.apache.hadoop.hive.ql.io.orc.OrcUnion>protected org.apache.hadoop.hive.ql.io.orc.OrcUnion createUnionObject(List<TypeInfo> childrenTypes, Object previous)
createUnionObject in class BatchToRowReader<OrcStruct,org.apache.hadoop.hive.ql.io.orc.OrcUnion>protected void setStructCol(OrcStruct structObj, int i, Object value)
setStructCol in class BatchToRowReader<OrcStruct,org.apache.hadoop.hive.ql.io.orc.OrcUnion>protected Object getStructCol(OrcStruct structObj, int i)
getStructCol in class BatchToRowReader<OrcStruct,org.apache.hadoop.hive.ql.io.orc.OrcUnion>protected Object getUnionField(org.apache.hadoop.hive.ql.io.orc.OrcUnion unionObj)
getUnionField in class BatchToRowReader<OrcStruct,org.apache.hadoop.hive.ql.io.orc.OrcUnion>protected void setUnion(org.apache.hadoop.hive.ql.io.orc.OrcUnion unionObj, byte tag, Object object)
setUnion in class BatchToRowReader<OrcStruct,org.apache.hadoop.hive.ql.io.orc.OrcUnion>public OrcRawRecordMerger.ReaderKey getRecordIdentifier()
getRecordIdentifier in interface AcidInputFormat.AcidRecordReader<org.apache.hadoop.io.NullWritable,Object>Copyright © 2024 The Apache Software Foundation. All rights reserved.