Package org.apache.iceberg.data.orc
Class GenericOrcWriter
- java.lang.Object
-
- org.apache.iceberg.data.orc.GenericOrcWriter
-
- All Implemented Interfaces:
OrcValueWriter<Record>
public class GenericOrcWriter extends java.lang.Object implements OrcValueWriter<Record>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
buildWriter
public static OrcValueWriter<Record> buildWriter(org.apache.orc.TypeDescription fileSchema)
-
write
public void write(Record value, org.apache.orc.storage.ql.exec.vector.VectorizedRowBatch output) throws java.io.IOException
Description copied from interface:OrcValueWriter
Writes the data.- Specified by:
write
in interfaceOrcValueWriter<Record>
- Parameters:
value
- the data value to write.output
- the VectorizedRowBatch to which the output will be written.- Throws:
java.io.IOException
- if there's any IO error while writing the data value.
-
-