Package org.apache.beam.sdk.io.fs
Enum ResolveOptions.StandardResolveOptions
- java.lang.Object
-
- java.lang.Enum<ResolveOptions.StandardResolveOptions>
-
- org.apache.beam.sdk.io.fs.ResolveOptions.StandardResolveOptions
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ResolveOptions.StandardResolveOptions>
,ResolveOptions
- Enclosing interface:
- ResolveOptions
public static enum ResolveOptions.StandardResolveOptions extends java.lang.Enum<ResolveOptions.StandardResolveOptions> implements ResolveOptions
Defines the standard resolve options.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.beam.sdk.io.fs.ResolveOptions
ResolveOptions.StandardResolveOptions
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RESOLVE_DIRECTORY
Resolve a directory.RESOLVE_FILE
Resolve a file.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResolveOptions.StandardResolveOptions
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ResolveOptions.StandardResolveOptions[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESOLVE_FILE
public static final ResolveOptions.StandardResolveOptions RESOLVE_FILE
Resolve a file.
-
RESOLVE_DIRECTORY
public static final ResolveOptions.StandardResolveOptions RESOLVE_DIRECTORY
Resolve a directory.This requires
ResourceId
implementation to append a delimiter.
-
-
Method Detail
-
values
public static ResolveOptions.StandardResolveOptions[] 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 (ResolveOptions.StandardResolveOptions c : ResolveOptions.StandardResolveOptions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResolveOptions.StandardResolveOptions valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-