org.eigenbase.reltype
Enum RelDataTypeComparability

java.lang.Object
  extended by java.lang.Enum<RelDataTypeComparability>
      extended by org.eigenbase.reltype.RelDataTypeComparability
All Implemented Interfaces:
Serializable, Comparable<RelDataTypeComparability>

public enum RelDataTypeComparability
extends Enum<RelDataTypeComparability>

RelDataTypeComparability is an enumeration of the categories of comparison operators which types may support.

NOTE jvs 17-Mar-2005: the order of values of this enumeration is significant (from least inclusive to most inclusive) and should not be changed.

Version:
$Id: //open/dev/farrago/src/org/eigenbase/reltype/RelDataTypeComparability.java#8 $
Author:
John V. Sichi

Enum Constant Summary
All
           
None
           
Unordered
           
 
Method Summary
static RelDataTypeComparability valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RelDataTypeComparability[] 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

None

public static final RelDataTypeComparability None

Unordered

public static final RelDataTypeComparability Unordered

All

public static final RelDataTypeComparability All
Method Detail

values

public static final RelDataTypeComparability[] 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(RelDataTypeComparability c : RelDataTypeComparability.values())
        System.out.println(c);

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

valueOf

public static RelDataTypeComparability 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