public class WriterImpl extends org.apache.orc.impl.WriterImpl implements Writer
| Modifier and Type | Method and Description |
|---|---|
void |
addRow(Object row)
Add a row to the end of the ORC file.
|
void |
addRowBatch(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch) |
void |
close() |
long |
writeIntermediateFooter() |
addUserMetadata, appendStripe, appendUserMetadata, checkMemory, createCodec, getCompressionCodec, getEstimatedBufferSize, getNumberOfRows, getRawDataSize, getSchema, getStatistics, increaseCompressionSizepublic void addRow(Object row) throws IOException
Writerrow - the row to addIOExceptionpublic long writeIntermediateFooter()
throws IOException
writeIntermediateFooter in interface org.apache.orc.WriterwriteIntermediateFooter in class org.apache.orc.impl.WriterImplIOExceptionpublic void addRowBatch(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch)
throws IOException
addRowBatch in interface org.apache.orc.WriteraddRowBatch in class org.apache.orc.impl.WriterImplIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface org.apache.orc.Writerclose in class org.apache.orc.impl.WriterImplIOExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.