public enum RelOptRuleOperandChildPolicy extends java.lang.Enum<RelOptRuleOperandChildPolicy>
Enum Constant and Description |
---|
ANY
Signifies that operand can have any number of children.
|
LEAF
Signifies that operand has no children.
|
SOME
Signifies that the operand's children must precisely match its
child operands, in order.
|
UNORDERED
Signifies that the rule matches any one of its parents' children.
|
Modifier and Type | Method and Description |
---|---|
static RelOptRuleOperandChildPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RelOptRuleOperandChildPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelOptRuleOperandChildPolicy ANY
public static final RelOptRuleOperandChildPolicy LEAF
RelOptRuleOperand(Foo.class, NONE)
is equivalent to
RelOptRuleOperand(Foo.class)
but we prefer the former because
it is more explicit.
public static final RelOptRuleOperandChildPolicy SOME
public static final RelOptRuleOperandChildPolicy UNORDERED
public static RelOptRuleOperandChildPolicy[] values()
for (RelOptRuleOperandChildPolicy c : RelOptRuleOperandChildPolicy.values()) System.out.println(c);
public static RelOptRuleOperandChildPolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2012–2019 The Apache Software Foundation. All rights reserved.