org.eigenbase.relopt
Enum RelOptRuleOperand.Dummy

java.lang.Object
  extended by java.lang.Enum<RelOptRuleOperand.Dummy>
      extended by org.eigenbase.relopt.RelOptRuleOperand.Dummy
All Implemented Interfaces:
Serializable, Comparable<RelOptRuleOperand.Dummy>
Enclosing class:
RelOptRuleOperand

public static enum RelOptRuleOperand.Dummy
extends Enum<RelOptRuleOperand.Dummy>

Dummy type, containing a single value, for parameters to overloaded forms of the RelOptRuleOperand constructor signifying operands that will be matched by relational expressions with any number of children.


Enum Constant Summary
ANY
          Signifies that operand can have any number of children.
 
Method Summary
static RelOptRuleOperand.Dummy valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RelOptRuleOperand.Dummy[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ANY

public static final RelOptRuleOperand.Dummy ANY
Signifies that operand can have any number of children.

Method Detail

values

public static final RelOptRuleOperand.Dummy[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(RelOptRuleOperand.Dummy c : RelOptRuleOperand.Dummy.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static RelOptRuleOperand.Dummy valueOf(String name)
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 name