org.apache.hadoop.hbase.hbql.statement.args
Enum SelectStatementArgs.ArgType

java.lang.Object
  extended by java.lang.Enum<SelectStatementArgs.ArgType>
      extended by org.apache.hadoop.hbase.hbql.statement.args.SelectStatementArgs.ArgType
All Implemented Interfaces:
Serializable, Comparable<SelectStatementArgs.ArgType>, PropertyType
Enclosing class:
SelectStatementArgs

public static enum SelectStatementArgs.ArgType
extends Enum<SelectStatementArgs.ArgType>
implements PropertyType


Enum Constant Summary
KEYRANGE
           
LIMIT
           
NOARGSKEY
           
SCANNERCACHE
           
SINGLEKEY
           
TIMESTAMPRANGE
           
VERSION
           
WIDTH
           
 
Method Summary
 String getDescription()
           
 ArgumentListTypeSignature getTypeSignature()
           
static SelectStatementArgs.ArgType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SelectStatementArgs.ArgType[] 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

NOARGSKEY

public static final SelectStatementArgs.ArgType NOARGSKEY

SINGLEKEY

public static final SelectStatementArgs.ArgType SINGLEKEY

KEYRANGE

public static final SelectStatementArgs.ArgType KEYRANGE

TIMESTAMPRANGE

public static final SelectStatementArgs.ArgType TIMESTAMPRANGE

LIMIT

public static final SelectStatementArgs.ArgType LIMIT

SCANNERCACHE

public static final SelectStatementArgs.ArgType SCANNERCACHE

VERSION

public static final SelectStatementArgs.ArgType VERSION

WIDTH

public static final SelectStatementArgs.ArgType WIDTH
Method Detail

values

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

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

valueOf

public static SelectStatementArgs.ArgType 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

getTypeSignature

public ArgumentListTypeSignature getTypeSignature()
Specified by:
getTypeSignature in interface PropertyType

getDescription

public String getDescription()
Specified by:
getDescription in interface PropertyType


Copyright © 2011. All Rights Reserved.