com.akiban.sql.parser
Enum RenameNode.RenameType

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

public static enum RenameNode.RenameType
extends Enum<RenameNode.RenameType>


Enum Constant Summary
COLUMN
           
INDEX
           
TABLE
           
 
Method Summary
static RenameNode.RenameType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RenameNode.RenameType[] 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

TABLE

public static final RenameNode.RenameType TABLE

COLUMN

public static final RenameNode.RenameType COLUMN

INDEX

public static final RenameNode.RenameType INDEX
Method Detail

values

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

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

valueOf

public static RenameNode.RenameType 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.