water
Enum Request2.MultiVecSelectType

java.lang.Object
  extended by java.lang.Enum<Request2.MultiVecSelectType>
      extended by water.Request2.MultiVecSelectType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Request2.MultiVecSelectType>
Enclosing class:
Request2

public static enum Request2.MultiVecSelectType
extends java.lang.Enum<Request2.MultiVecSelectType>

Specify how a column specifier field is parsed.


Enum Constant Summary
INDEXES_THEN_NAMES
          Treat a token as a 0-based index if it looks like a positive integer.
NAMES_ONLY
          Treat a token as a column name no matter what (even if it looks like it is an integer).
 
Method Summary
static Request2.MultiVecSelectType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Request2.MultiVecSelectType[] 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

INDEXES_THEN_NAMES

public static final Request2.MultiVecSelectType INDEXES_THEN_NAMES
Treat a token as a 0-based index if it looks like a positive integer. Otherwise, treat it as a column name.


NAMES_ONLY

public static final Request2.MultiVecSelectType NAMES_ONLY
Treat a token as a column name no matter what (even if it looks like it is an integer). This is used by the Web UI, which blindly specifies column names.

Method Detail

values

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

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

valueOf

public static Request2.MultiVecSelectType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null