public class GenericOrcWriter extends java.lang.Object implements OrcValueWriter<Record>
Modifier and Type | Method and Description |
---|---|
static OrcValueWriter<Record> |
buildWriter(org.apache.orc.TypeDescription fileSchema) |
void |
write(Record value,
org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch output)
Writes the data.
|
public static OrcValueWriter<Record> buildWriter(org.apache.orc.TypeDescription fileSchema)
public void write(Record value, org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch output) throws java.io.IOException
OrcValueWriter
write
in interface OrcValueWriter<Record>
value
- the data value to write.output
- the VectorizedRowBatch to which the output will be written.java.io.IOException
- if there's any IO error while writing the data value.