- java.lang.Object
-
- java.lang.Enum<UnreadableSourceAction>
-
- com.pervasive.datarush.operators.io.UnreadableSourceAction
-
- All Implemented Interfaces:
Serializable
,Comparable<UnreadableSourceAction>
public enum UnreadableSourceAction extends Enum<UnreadableSourceAction>
Specifies the behavior for handling data sources which are unreadable.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UnreadableSourceAction
valueOf(String name)
Returns the enum constant of this type with the specified name.static UnreadableSourceAction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IGNORE
public static final UnreadableSourceAction IGNORE
The unreadable source is ignored. The effect is as if the source was not specified.
-
WARN
public static final UnreadableSourceAction WARN
A warning message is logged, but the source is otherwise ignored. The effect is as if the source was not specified.
-
FAIL
public static final UnreadableSourceAction FAIL
An unreadable source causes a failure.
-
-
Method Detail
-
values
public static UnreadableSourceAction[] 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 (UnreadableSourceAction c : UnreadableSourceAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UnreadableSourceAction 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
-
-