public final class BasicNonByteBufferOperations
extends java.lang.Object
implements java.util.concurrent.Callable<java.lang.Boolean>
FileSystem for writing to and reading from files.
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
AlluxioStorageType is something that can be set, as well as ability to
delete file if exists.
| Constructor and Description |
|---|
BasicNonByteBufferOperations(AlluxioURI filePath,
ReadType readType,
WriteType writeType,
boolean deleteIfExists,
int length) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
call() |
public BasicNonByteBufferOperations(AlluxioURI filePath, ReadType readType, WriteType writeType, boolean deleteIfExists, int length)
Copyright © 2019. All Rights Reserved.