public abstract static class OrcValueReaders.StructReader<T> extends java.lang.Object implements OrcValueReader<T>
Modifier | Constructor and Description |
---|---|
protected |
StructReader(java.util.List<OrcValueReader<?>> readers,
Types.StructType struct,
java.util.Map<java.lang.Integer,?> idToConstant) |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
create() |
T |
nonNullRead(org.apache.orc.storage.ql.exec.vector.ColumnVector vector,
int row) |
OrcValueReader<?> |
reader(int pos) |
protected abstract void |
set(T struct,
int pos,
java.lang.Object value) |
void |
setBatchContext(long batchOffsetInFile) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
read
protected StructReader(java.util.List<OrcValueReader<?>> readers, Types.StructType struct, java.util.Map<java.lang.Integer,?> idToConstant)
protected abstract T create()
protected abstract void set(T struct, int pos, java.lang.Object value)
public OrcValueReader<?> reader(int pos)
public T nonNullRead(org.apache.orc.storage.ql.exec.vector.ColumnVector vector, int row)
nonNullRead
in interface OrcValueReader<T>
public void setBatchContext(long batchOffsetInFile)
setBatchContext
in interface OrcValueReader<T>