public static enum ExpressionPlan.Trait extends Enum<ExpressionPlan.Trait>
| Enum Constant and Description |
|---|
CONSTANT
expression has no inputs and can be optimized into a constant selector
|
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
|
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
|
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
|
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.
|
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
|
UNKNOWN_INPUTS
expression has inputs whose type was unresolveable
|
VECTORIZABLE
expression is vectorizable
|
| Modifier and Type | Method and Description |
|---|---|
static ExpressionPlan.Trait |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExpressionPlan.Trait[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExpressionPlan.Trait CONSTANT
public static final ExpressionPlan.Trait SINGLE_INPUT_SCALAR
public static final ExpressionPlan.Trait SINGLE_INPUT_MAPPABLE
public static final ExpressionPlan.Trait NEEDS_APPLIED
public static final ExpressionPlan.Trait UNKNOWN_INPUTS
public static final ExpressionPlan.Trait INCOMPLETE_INPUTS
public static final ExpressionPlan.Trait NON_SCALAR_INPUTS
public static final ExpressionPlan.Trait NON_SCALAR_OUTPUT
public static final ExpressionPlan.Trait VECTORIZABLE
public static ExpressionPlan.Trait[] values()
for (ExpressionPlan.Trait c : ExpressionPlan.Trait.values()) System.out.println(c);
public static ExpressionPlan.Trait valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.