Package org.apache.druid.segment.virtual
Enum Class ExpressionPlan.Trait
- All Implemented Interfaces:
Serializable,Comparable<ExpressionPlan.Trait>,Constable
- Enclosing class:
- ExpressionPlan
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionexpression has no inputs and can be optimized into a constant selectorexpression is a simple identifier expression, do not transformexpression has inputs whose type was incomplete, such as unknown multi-valuedness, which are not explicitly used as possibly multi-valued/array inputsexpression must be implicitly mapped across the multiple values per row of known multi-value inputs, the final output will be multi-valuedexpression explicitly using multi-valued inputs as array inputs or has array inputsexpression produces explict multi-valued outputexpression has a single input, which may produce single or multi-valued output, but if so, it must be implicitly mappable (i.e.expression has a single, single valued input, and is dictionary encoded if the value is a string, and does not produce non-scalar outputexpression has inputs whose type was unresolveableexpression is vectorizable -
Method Summary
Modifier and TypeMethodDescriptionstatic ExpressionPlan.TraitReturns the enum constant of this class with the specified name.static ExpressionPlan.Trait[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONSTANT
expression has no inputs and can be optimized into a constant selector -
IDENTIFIER
expression is a simple identifier expression, do not transform -
SINGLE_INPUT_SCALAR
expression has a single, single valued input, and is dictionary encoded if the value is a string, and does not produce non-scalar output -
SINGLE_INPUT_MAPPABLE
expression has a single input, which may produce single or multi-valued output, but if so, it must be implicitly mappable (i.e. the expression is not treating its input as an array and does not produce non-scalar output) -
NEEDS_APPLIED
expression must be implicitly mapped across the multiple values per row of known multi-value inputs, the final output will be multi-valued -
UNKNOWN_INPUTS
expression has inputs whose type was unresolveable -
INCOMPLETE_INPUTS
expression has inputs whose type was incomplete, such as unknown multi-valuedness, which are not explicitly used as possibly multi-valued/array inputs -
NON_SCALAR_INPUTS
expression explicitly using multi-valued inputs as array inputs or has array inputs -
NON_SCALAR_OUTPUT
expression produces explict multi-valued output -
VECTORIZABLE
expression is vectorizable
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-