Package org.apache.iceberg.data.orc
Class GenericOrcWriter
java.lang.Object
org.apache.iceberg.data.orc.GenericOrcWriter
- All Implemented Interfaces:
- OrcRowWriter<Record>
- 
Method SummaryModifier 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- 
buildWriterpublic static OrcRowWriter<Record> buildWriter(Schema expectedSchema, org.apache.orc.TypeDescription fileSchema) 
- 
writeDescription copied from interface:OrcRowWriterWrites or appends a row to ORC's VectorizedRowBatch.- Specified by:
- writein interface- OrcRowWriter<Record>
- Parameters:
- value- the row data value to write.
- output- the VectorizedRowBatch to which the output will be written.
 
- 
writers- Specified by:
- writersin interface- OrcRowWriter<Record>
 
- 
metricsDescription copied from interface:OrcRowWriterReturns a stream ofFieldMetricsthat this OrcRowWriter keeps track of.- Specified by:
- metricsin interface- OrcRowWriter<Record>
 
 
-