public enum OperatorType extends Enum<OperatorType>
Enum Constant and Description |
---|
COMPOSITE
Corresponds to the
CompositeOperator class. |
DEFERRED_COMPOSITE
Corresponds to the
DeferredCompositeOperator class. |
EXECUTABLE
Corresponds to the
ExecutableOperator class. |
ITERATIVE
Corresponds to the
IterativeOperator class. |
Modifier and Type | Method and Description |
---|---|
static OperatorType |
of(LogicalOperator op)
Returns the operator type that corresponds to the
given operator.
|
static OperatorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperatorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperatorType EXECUTABLE
ExecutableOperator
class.public static final OperatorType COMPOSITE
CompositeOperator
class.public static final OperatorType ITERATIVE
IterativeOperator
class.public static final OperatorType DEFERRED_COMPOSITE
DeferredCompositeOperator
class.public static OperatorType[] values()
for (OperatorType c : OperatorType.values()) System.out.println(c);
public static OperatorType 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 nullpublic static OperatorType of(LogicalOperator op)
op
- the operatorIllegalArgumentException
- if the operator
is not of one of the supported base classesCopyright © 2020 Actian Corporation. All rights reserved.