![]() |
Java SDK Documentation
8.1
|
Public Member Functions | |
DFSFileWriter (DFSFile dfsFile) | |
void | close () throws UdfException, DestroyInvocation |
boolean | isOpen () |
void | open () throws UdfException, DestroyInvocation |
int | write (ByteBuffer buffer) throws UdfException, DestroyInvocation |
void com.vertica.sdk.DFSFileWriter.close | ( | ) | throws UdfException, DestroyInvocation |
Closes the file opened for writing.
void com.vertica.sdk.DFSFileWriter.open | ( | ) | throws UdfException, DestroyInvocation |
Opens a file for writing.
int com.vertica.sdk.DFSFileWriter.write | ( | ByteBuffer | buffer | ) | throws UdfException, DestroyInvocation |
Writes bytes into the file from the ByteBuffer pointed by 'buffer'. Bytes are retrieved from the buffer starting from the current position till it's limit. Current position will be advanced depending on how many bytes are written.