![]() |
Java SDK Documentation
8.1
|
Public Member Functions | |
DFSFileReader (DFSFile dfsFile) | |
void | close () throws UdfException, DestroyInvocation |
boolean | isOpen () |
void | open () throws UdfException, DestroyInvocation |
int | read (ByteBuffer buffer, int size) throws UdfException, DestroyInvocation |
long | seek (long offset, int origin) throws UdfException, DestroyInvocation |
long | size () |
void com.vertica.sdk.DFSFileReader.close | ( | ) | throws UdfException, DestroyInvocation |
Closes the file opened for reading
int com.vertica.sdk.DFSFileReader.read | ( | ByteBuffer | buffer, |
int | size | ||
) | throws UdfException, DestroyInvocation |
Reads 'size' of bytes into buffer pointed by 'ptr' from the file opened for reading.
long com.vertica.sdk.DFSFileReader.seek | ( | long | offset, |
int | origin | ||
) | throws UdfException, DestroyInvocation |
Reposition the read file offset.