Package org.apache.iceberg.data.orc
Class GenericOrcWriter
java.lang.Object
org.apache.iceberg.data.orc.GenericOrcWriter
- All Implemented Interfaces:
OrcRowWriter<Record>
-
Method Summary
Modifier and TypeMethodDescriptionstatic OrcRowWriter<Record>buildWriter(Schema expectedSchema, org.apache.orc.TypeDescription fileSchema) Stream<FieldMetrics<?>>metrics()Returns a stream ofFieldMetricsthat this OrcRowWriter keeps track of.voidWrites or appends a row to ORC's VectorizedRowBatch.List<OrcValueWriter<?>>writers()
-
Method Details
-
buildWriter
public static OrcRowWriter<Record> buildWriter(Schema expectedSchema, org.apache.orc.TypeDescription fileSchema) -
write
Description copied from interface:OrcRowWriterWrites or appends a row to ORC's VectorizedRowBatch.- Specified by:
writein interfaceOrcRowWriter<Record>- Parameters:
value- the row data value to write.output- the VectorizedRowBatch to which the output will be written.
-
writers
- Specified by:
writersin interfaceOrcRowWriter<Record>
-
metrics
Description copied from interface:OrcRowWriterReturns a stream ofFieldMetricsthat this OrcRowWriter keeps track of.- Specified by:
metricsin interfaceOrcRowWriter<Record>
-