Package org.apache.iceberg.data.orc
Class GenericOrcReader
java.lang.Object
org.apache.iceberg.data.orc.GenericOrcReader
- All Implemented Interfaces:
OrcRowReader<Record>
-
Constructor Summary
ConstructorsConstructorDescriptionGenericOrcReader(Schema expectedSchema, org.apache.orc.TypeDescription readOrcSchema, Map<Integer, ?> idToConstant) -
Method Summary
Modifier and TypeMethodDescriptionstatic OrcRowReader<Record> buildReader(Schema expectedSchema, org.apache.orc.TypeDescription fileSchema) static OrcRowReader<Record> buildReader(Schema expectedSchema, org.apache.orc.TypeDescription fileSchema, Map<Integer, ?> idToConstant) read(org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch batch, int row) Reads a row.voidsetBatchContext(long batchOffsetInFile)
-
Constructor Details
-
GenericOrcReader
-
-
Method Details
-
buildReader
public static OrcRowReader<Record> buildReader(Schema expectedSchema, org.apache.orc.TypeDescription fileSchema) -
buildReader
public static OrcRowReader<Record> buildReader(Schema expectedSchema, org.apache.orc.TypeDescription fileSchema, Map<Integer, ?> idToConstant) -
read
Description copied from interface:OrcRowReaderReads a row.- Specified by:
readin interfaceOrcRowReader<Record>
-
setBatchContext
public void setBatchContext(long batchOffsetInFile) - Specified by:
setBatchContextin interfaceOrcRowReader<Record>
-