public interface Writer
| Modifier and Type | Method and Description |
|---|---|
void |
addRow(Object row)
Add a row to the ORC file.
|
void |
addUserMetadata(String key,
ByteBuffer value)
Add arbitrary meta-data to the ORC file.
|
void |
close()
Flush all of the buffers and close the file.
|
long |
getRowRawDataSize()
Get the raw data size of the last row added
|
void addUserMetadata(String key, ByteBuffer value)
key - a key to label the data with.value - the contents of the metadata.void addRow(Object row) throws IOException
row - the row to addIOExceptionlong getRowRawDataSize()
void close()
throws IOException
IOExceptionCopyright © 2013–2021. All rights reserved.