public interface Writer
| Modifier and Type | Method and Description |
|---|---|
void |
addRow(java.lang.Object row)
Add a row to the ORC file.
|
void |
addUserMetadata(java.lang.String key,
java.nio.ByteBuffer value)
Add arbitrary meta-data to the ORC file.
|
void |
close()
Flush all of the buffers and close the file.
|
void addUserMetadata(java.lang.String key,
java.nio.ByteBuffer value)
key - a key to label the data with.value - the contents of the metadata.void addRow(java.lang.Object row)
throws java.io.IOException
row - the row to addjava.io.IOExceptionvoid close()
throws java.io.IOException
java.io.IOExceptionCopyright © 2012 The Apache Software Foundation