public enum FuseIOOperation extends Enum<FuseIOOperation>
Enum Constant and Description |
---|
LIST_FILE
List the files before reading can help cache the metadata and gain more accurate reading
performance, if client-side metadata cache is enabled.
|
READ
Now only streaming reading is supported, that is, sequentially read the written files.
|
WRITE
Write operation to test the write throughput or prepare data for reading.
|
Modifier and Type | Method and Description |
---|---|
static FuseIOOperation |
fromString(String text)
Creates an instance type from the string.
|
static boolean |
isRead(FuseIOOperation operation) |
String |
toString() |
static FuseIOOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FuseIOOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FuseIOOperation WRITE
public static final FuseIOOperation LIST_FILE
public static final FuseIOOperation READ
public static FuseIOOperation[] values()
for (FuseIOOperation c : FuseIOOperation.values()) System.out.println(c);
public static FuseIOOperation valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static boolean isRead(FuseIOOperation operation)
operation
- the operationpublic String toString()
toString
in class Enum<FuseIOOperation>
public static FuseIOOperation fromString(String text)
text
- the instance type in stringCopyright © 2023. All Rights Reserved.