public enum FuseIOOperation extends java.lang.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(java.lang.String text)
Creates an instance type from the string.
|
static boolean |
isRead(FuseIOOperation operation) |
java.lang.String |
toString() |
static FuseIOOperation |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static boolean isRead(FuseIOOperation operation)
operation - the operationpublic java.lang.String toString()
toString in class java.lang.Enum<FuseIOOperation>public static FuseIOOperation fromString(java.lang.String text)
text - the instance type in stringCopyright © 2022. All Rights Reserved.