public class SparkOrcWriter extends java.lang.Object implements OrcRowWriter<org.apache.spark.sql.catalyst.InternalRow>
| Constructor and Description |
|---|
SparkOrcWriter(Schema iSchema,
org.apache.orc.TypeDescription orcSchema) |
| Modifier and Type | Method and Description |
|---|---|
void |
write(org.apache.spark.sql.catalyst.InternalRow value,
org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch output)
Writes or appends a row to ORC's VectorizedRowBatch.
|
public SparkOrcWriter(Schema iSchema, org.apache.orc.TypeDescription orcSchema)
public void write(org.apache.spark.sql.catalyst.InternalRow value,
org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch output)
OrcRowWriterwrite in interface OrcRowWriter<org.apache.spark.sql.catalyst.InternalRow>value - the row data value to write.output - the VectorizedRowBatch to which the output will be written.