Enum FunctionTemplate.OutputWidthCalculatorType
java.lang.Object
java.lang.Enum<FunctionTemplate.OutputWidthCalculatorType>
org.apache.drill.exec.expr.annotations.FunctionTemplate.OutputWidthCalculatorType
- All Implemented Interfaces:
Serializable
,Comparable<FunctionTemplate.OutputWidthCalculatorType>
- Enclosing class:
- FunctionTemplate
public static enum FunctionTemplate.OutputWidthCalculatorType
extends Enum<FunctionTemplate.OutputWidthCalculatorType>
Estimates the average size of the output
produced by a function that produces variable length output
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns 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
-
DEFAULT
-
CLONE
-
CONCAT
-
CUSTOM_FIXED_WIDTH_DEFAULT
-
CUSTOM_CLONE_DEFAULT
-
-
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
-
getOutputWidthCalculator
-