org.eigenbase.sql
Class SqlSelectKeyword

java.lang.Object
  extended by org.eigenbase.util14.Enum14.BasicValue
      extended by org.eigenbase.sql.SqlSelectKeyword
All Implemented Interfaces:
Serializable, Comparable, SqlLiteral.SqlSymbol, Enum14.Value

public class SqlSelectKeyword
extends Enum14.BasicValue
implements SqlLiteral.SqlSymbol

Defines the keywords which can occur immediately after the "SELECT" keyword.

Version:
$Id: //open/dev/farrago/src/org/eigenbase/sql/SqlSelectKeyword.java#8 $
Author:
jhyde
See Also:
Serialized Form

Field Summary
static SqlSelectKeyword All
           
static int All_ordinal
           
static SqlSelectKeyword Distinct
           
static int Distinct_ordinal
           
static EnumeratedValues enumeration
           
 
Constructor Summary
protected SqlSelectKeyword(String name, int ordinal)
           
 
Method Summary
 String name()
           
 int ordinal()
           
 
Methods inherited from class org.eigenbase.util14.Enum14.BasicValue
compareTo, equals, equals, getDescription, getName, getOrdinal, hashCode, toString, unexpected
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

Distinct_ordinal

public static final int Distinct_ordinal
See Also:
Constant Field Values

Distinct

public static final SqlSelectKeyword Distinct

All_ordinal

public static final int All_ordinal
See Also:
Constant Field Values

All

public static final SqlSelectKeyword All

enumeration

public static final EnumeratedValues enumeration
Constructor Detail

SqlSelectKeyword

protected SqlSelectKeyword(String name,
                           int ordinal)
Method Detail

name

public String name()
Specified by:
name in interface SqlLiteral.SqlSymbol

ordinal

public int ordinal()
Specified by:
ordinal in interface SqlLiteral.SqlSymbol