public final class BasicNonByteBufferOperations extends Object implements Callable<Boolean>
This class is different from BasicOperations in the way writes happen.
Over there ByteBuffer is used directly, where as here byte data is done via
input/output streams.
This example also let users play around with how to work with files a bit more. The
TachyonStorageType is something that can be set, as well as ability to
delete file if exists.
| Constructor and Description |
|---|
BasicNonByteBufferOperations(TachyonURI masterLocation,
TachyonURI filePath,
ReadType readType,
WriteType writeType,
boolean deleteIfExists,
int length) |
public BasicNonByteBufferOperations(TachyonURI masterLocation, TachyonURI filePath, ReadType readType, WriteType writeType, boolean deleteIfExists, int length)
public static void main(String[] args) throws IOException
IOExceptionCopyright © 2015. All Rights Reserved.