public interface BulkObjectWriter extends Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
writeFileMetadata()
Writes all relevant metadata to the file
|
void |
writeFormatVersion()
Writes Bulk Format info to output
|
void |
writeHeaders()
Writes Bulk Header to output
|
void |
writeObjectRow(BulkObject bulkObject)
Writes a single object to file
|
void |
writeObjectRow(BulkObject bulkObject,
boolean excludeReadonlyData)
Writes a single object to file
|
void writeFileMetadata()
throws IOException
IOException - Occurs when the file can not be writtenvoid writeObjectRow(BulkObject bulkObject) throws IOException
bulkObject - The object to be written to fileIOException - Occurs when the file can not be writtenvoid writeObjectRow(BulkObject bulkObject, boolean excludeReadonlyData) throws IOException
bulkObject - The object to be written to fileIOException - Occurs when the file can not be writtenvoid writeHeaders()
throws IOException
IOException - Occurs when the outputstream can not be writtenvoid writeFormatVersion()
throws IOException
IOException - Occurs when the outputstream can not be writtenCopyright © 2024. All rights reserved.