public final class BasicNonByteBufferOperations extends Object implements Callable<Boolean>
FileSystemfor writing to and reading from files.
This class is different from
BasicOperations in the way writes happen.
ByteBuffer is used directly, where as here byte data is done via
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|
public BasicNonByteBufferOperations(AlluxioURI filePath, ReadType readType, WriteType writeType, boolean deleteIfExists, int length, FileSystemContext fsContext)
filePath- the path for the files
deleteIfExists- delete files if they already exist
length- the number of files
FileSystemContextto use for client operations
Copyright © 2022. All Rights Reserved.