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(VectorizedRowBatch batch) |
void |
close() |
long |
writeIntermediateFooter() |
addUserMetadata, appendStripe, appendStripe, appendUserMetadata, checkMemory, createCodec, getCompressionCodec, getEstimatedBufferSize, getNumberOfRows, getRawDataSize, getSchema, getStatistics, getStripes, 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(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 © 2022 The Apache Software Foundation. All rights reserved.