Package org.apache.iceberg.orc
Class OrcValueReaders.StructReader<T>
- java.lang.Object
-
- org.apache.iceberg.orc.OrcValueReaders.StructReader<T>
-
- All Implemented Interfaces:
OrcValueReader<T>
- Enclosing class:
- OrcValueReaders
public abstract static class OrcValueReaders.StructReader<T> extends java.lang.Object implements OrcValueReader<T>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
StructReader(java.util.List<OrcValueReader<?>> readers, Types.StructType struct, java.util.Map<java.lang.Integer,?> idToConstant)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.iceberg.orc.OrcValueReader
read
-
-
-
-
Constructor Detail
-
StructReader
protected StructReader(java.util.List<OrcValueReader<?>> readers, Types.StructType struct, java.util.Map<java.lang.Integer,?> idToConstant)
-
-
Method Detail
-
create
protected abstract T create()
-
set
protected abstract void set(T struct, int pos, java.lang.Object value)
-
reader
public OrcValueReader<?> reader(int pos)
-
nonNullRead
public T nonNullRead(org.apache.orc.storage.ql.exec.vector.ColumnVector vector, int row)
- Specified by:
nonNullRead
in interfaceOrcValueReader<T>
-
setBatchContext
public void setBatchContext(long batchOffsetInFile)
- Specified by:
setBatchContext
in interfaceOrcValueReader<T>
-
-