Package org.apache.drill.exec.expr
Enum ClassGenerator.BlkCreateMode
java.lang.Object
java.lang.Enum<ClassGenerator.BlkCreateMode>
org.apache.drill.exec.expr.ClassGenerator.BlkCreateMode
- All Implemented Interfaces:
Serializable
,Comparable<ClassGenerator.BlkCreateMode>
- Enclosing class:
- ClassGenerator<T>
-
Enum Constant Summary
Enum ConstantDescriptionDo not create block; put into existing block.Create new blockCreate new block only if # of expressions added hit upper-bound (ExecConstants.CODE_GEN_EXP_IN_METHOD_SIZE
). -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassGenerator.BlkCreateMode
Returns the enum constant of this type with the specified name.static ClassGenerator.BlkCreateMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TRUE
Create new block -
FALSE
Do not create block; put into existing block. -
TRUE_IF_BOUND
Create new block only if # of expressions added hit upper-bound (ExecConstants.CODE_GEN_EXP_IN_METHOD_SIZE
).
-
-
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
-