Package org.apache.drill.exec.compile
Enum ClassTransformer.ScalarReplacementOption
java.lang.Object
java.lang.Enum<ClassTransformer.ScalarReplacementOption>
org.apache.drill.exec.compile.ClassTransformer.ScalarReplacementOption
- All Implemented Interfaces:
Serializable
,Comparable<ClassTransformer.ScalarReplacementOption>
- Enclosing class:
- ClassTransformer
public static enum ClassTransformer.ScalarReplacementOption
extends Enum<ClassTransformer.ScalarReplacementOption>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromString
(String s) Convert a string to an enum value.Returns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OFF
-
TRY
-
ON
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
fromString
Convert a string to an enum value.- Parameters:
s
- the string- Returns:
- an enum value
- Throws:
IllegalArgumentException
- if the string doesn't match any of the enum values
-