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) |
void |
write(Record value,
org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch output)
Writes or appends a row to ORC's VectorizedRowBatch.
|
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)
OrcRowWriter
write
in interface OrcRowWriter<Record>
value
- the row data value to write.output
- the VectorizedRowBatch to which the output will be written.