com.akiban.sql.parser
Enum TableElementNode.ElementType

java.lang.Object
  extended by java.lang.Enum<TableElementNode.ElementType>
      extended by com.akiban.sql.parser.TableElementNode.ElementType
All Implemented Interfaces:
Serializable, Comparable<TableElementNode.ElementType>
Enclosing class:
TableElementNode

public static enum TableElementNode.ElementType
extends Enum<TableElementNode.ElementType>


Enum Constant Summary
AT_ADD_CHECK_CONSTRAINT
           
AT_ADD_FOREIGN_KEY_CONSTRAINT
           
AT_ADD_INDEX
           
AT_ADD_PRIMARY_KEY_CONSTRAINT
           
AT_ADD_UNIQUE_CONSTRAINT
           
AT_DROP_COLUMN
           
AT_DROP_CONSTRAINT
           
AT_DROP_INDEX
           
AT_MODIFY_COLUMN
           
AT_RENAME
           
AT_RENAME_COLUMN
           
AT_UNKNOWN
           
 
Method Summary
static TableElementNode.ElementType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TableElementNode.ElementType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AT_UNKNOWN

public static final TableElementNode.ElementType AT_UNKNOWN

AT_ADD_FOREIGN_KEY_CONSTRAINT

public static final TableElementNode.ElementType AT_ADD_FOREIGN_KEY_CONSTRAINT

AT_ADD_PRIMARY_KEY_CONSTRAINT

public static final TableElementNode.ElementType AT_ADD_PRIMARY_KEY_CONSTRAINT

AT_ADD_UNIQUE_CONSTRAINT

public static final TableElementNode.ElementType AT_ADD_UNIQUE_CONSTRAINT

AT_ADD_CHECK_CONSTRAINT

public static final TableElementNode.ElementType AT_ADD_CHECK_CONSTRAINT

AT_DROP_CONSTRAINT

public static final TableElementNode.ElementType AT_DROP_CONSTRAINT

AT_MODIFY_COLUMN

public static final TableElementNode.ElementType AT_MODIFY_COLUMN

AT_DROP_COLUMN

public static final TableElementNode.ElementType AT_DROP_COLUMN

AT_DROP_INDEX

public static final TableElementNode.ElementType AT_DROP_INDEX

AT_ADD_INDEX

public static final TableElementNode.ElementType AT_ADD_INDEX

AT_RENAME

public static final TableElementNode.ElementType AT_RENAME

AT_RENAME_COLUMN

public static final TableElementNode.ElementType AT_RENAME_COLUMN
Method Detail

values

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

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

valueOf

public static TableElementNode.ElementType 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
NullPointerException - if the argument is null


Copyright © 2013 Akiban Technologies, Inc. All rights reserved.