public class OrcOiBatchToRowReader extends BatchToRowReader<OrcStruct,org.apache.hadoop.hive.ql.io.orc.OrcUnion>
LOG
Constructor and Description |
---|
OrcOiBatchToRowReader(org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.NullWritable,org.apache.hadoop.hive.ql.exec.vector.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) |
protected Object |
getStructCol(OrcStruct structObj,
int i) |
protected Object |
getUnionField(org.apache.hadoop.hive.ql.io.orc.OrcUnion unionObj) |
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, nextVarchar
public OrcOiBatchToRowReader(org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.NullWritable,org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch> vrbReader, VectorizedRowBatchCtx vrbCtx, List<Integer> includedCols)
protected OrcStruct createStructObject(Object previous, List<TypeInfo> childrenTypes)
createStructObject
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>
Copyright © 2022 The Apache Software Foundation. All rights reserved.