org.eigenbase.reltype
Enum RelDataTypeComparability
java.lang.Object
java.lang.Enum<RelDataTypeComparability>
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
None
public static final RelDataTypeComparability None
Unordered
public static final RelDataTypeComparability Unordered
All
public static final RelDataTypeComparability All
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