Package org.apache.flink.core.fs
Enum FileSystemKind
- java.lang.Object
-
- java.lang.Enum<FileSystemKind>
-
- org.apache.flink.core.fs.FileSystemKind
-
- All Implemented Interfaces:
Serializable
,Comparable<FileSystemKind>
@PublicEvolving public enum FileSystemKind extends Enum<FileSystemKind>
An enumeration defining the kind and characteristics of aFileSystem
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FILE_SYSTEM
An actual file system, with files and directories.OBJECT_STORE
An Object store.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileSystemKind
valueOf(String name)
Returns the enum constant of this type with the specified name.static FileSystemKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FILE_SYSTEM
public static final FileSystemKind FILE_SYSTEM
An actual file system, with files and directories.
-
OBJECT_STORE
public static final FileSystemKind OBJECT_STORE
An Object store. Files correspond to objects. There are not really directories, but a directory-like structure may be mimicked by hierarchical naming of files.
-
-
Method Detail
-
values
public static FileSystemKind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FileSystemKind c : FileSystemKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FileSystemKind valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-