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, increaseCompressionSize
public void addRow(Object row) throws IOException
Writer
row
- the row to addIOException
public long writeIntermediateFooter() throws IOException
writeIntermediateFooter
in interface org.apache.orc.Writer
writeIntermediateFooter
in class org.apache.orc.impl.WriterImpl
IOException
public void addRowBatch(org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch batch) throws IOException
addRowBatch
in interface org.apache.orc.Writer
addRowBatch
in class org.apache.orc.impl.WriterImpl
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface org.apache.orc.Writer
close
in class org.apache.orc.impl.WriterImpl
IOException
Copyright © 2021 The Apache Software Foundation. All rights reserved.