org.apache.hadoop.hive.ql.parse
Enum QBSubQuery.SubQueryType

java.lang.Object
  extended by java.lang.Enum<QBSubQuery.SubQueryType>
      extended by org.apache.hadoop.hive.ql.parse.QBSubQuery.SubQueryType
All Implemented Interfaces:
Serializable, Comparable<QBSubQuery.SubQueryType>
Enclosing class:
QBSubQuery

public static enum QBSubQuery.SubQueryType
extends Enum<QBSubQuery.SubQueryType>


Enum Constant Summary
EXISTS
           
IN
           
NOT_EXISTS
           
NOT_IN
           
 
Method Summary
static QBSubQuery.SubQueryType get(ASTNode opNode)
           
static QBSubQuery.SubQueryType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static QBSubQuery.SubQueryType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

EXISTS

public static final QBSubQuery.SubQueryType EXISTS

NOT_EXISTS

public static final QBSubQuery.SubQueryType NOT_EXISTS

IN

public static final QBSubQuery.SubQueryType IN

NOT_IN

public static final QBSubQuery.SubQueryType NOT_IN
Method Detail

values

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

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

valueOf

public static QBSubQuery.SubQueryType 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

get

public static QBSubQuery.SubQueryType get(ASTNode opNode)
                                   throws SemanticException
Throws:
SemanticException


Copyright © 2014 The Apache Software Foundation. All rights reserved.