public class GenericOrcWriter extends java.lang.Object implements OrcRowWriter<Record>
| Modifier and Type | Method and Description |
|---|---|
static OrcRowWriter<Record> |
buildWriter(Schema expectedSchema,
org.apache.orc.TypeDescription fileSchema) |
java.util.stream.Stream<FieldMetrics<?>> |
metrics()
Returns a stream of
FieldMetrics that this OrcRowWriter keeps track of. |
void |
write(Record value,
org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch output)
Writes or appends a row to ORC's VectorizedRowBatch.
|
java.util.List<OrcValueWriter<?>> |
writers() |
public static OrcRowWriter<Record> buildWriter(Schema expectedSchema, org.apache.orc.TypeDescription fileSchema)
public void write(Record value, org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch output)
OrcRowWriterwrite in interface OrcRowWriter<Record>value - the row data value to write.output - the VectorizedRowBatch to which the output will be written.public java.util.List<OrcValueWriter<?>> writers()
writers in interface OrcRowWriter<Record>public java.util.stream.Stream<FieldMetrics<?>> metrics()
OrcRowWriterFieldMetrics that this OrcRowWriter keeps track of.metrics in interface OrcRowWriter<Record>