public final class BasicNonByteBufferOperations extends Object implements Callable<Boolean>
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
ReadType
is something that can be set, as well as ability to delete file
if exists.Constructor and Description |
---|
BasicNonByteBufferOperations(TachyonURI masterLocation,
TachyonURI filePath,
WriteType writeType,
ReadType readType,
boolean deleteIfExists,
int length) |
public BasicNonByteBufferOperations(TachyonURI masterLocation, TachyonURI filePath, WriteType writeType, ReadType readType, boolean deleteIfExists, int length)
public static void main(String[] args) throws IOException
IOException
Copyright © 2015. All Rights Reserved.