org.apache.hadoop.hive.ql.exec.vector
Enum VectorExpressionDescriptor.ArgumentType

java.lang.Object
  extended by java.lang.Enum<VectorExpressionDescriptor.ArgumentType>
      extended by org.apache.hadoop.hive.ql.exec.vector.VectorExpressionDescriptor.ArgumentType
All Implemented Interfaces:
Serializable, Comparable<VectorExpressionDescriptor.ArgumentType>
Enclosing class:
VectorExpressionDescriptor

public static enum VectorExpressionDescriptor.ArgumentType
extends Enum<VectorExpressionDescriptor.ArgumentType>


Enum Constant Summary
ANY
           
DECIMAL
           
DOUBLE
           
LONG
           
NONE
           
STRING
           
 
Method Summary
static VectorExpressionDescriptor.ArgumentType getType(String inType)
           
 int getValue()
           
static VectorExpressionDescriptor.ArgumentType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static VectorExpressionDescriptor.ArgumentType[] 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

NONE

public static final VectorExpressionDescriptor.ArgumentType NONE

LONG

public static final VectorExpressionDescriptor.ArgumentType LONG

DOUBLE

public static final VectorExpressionDescriptor.ArgumentType DOUBLE

STRING

public static final VectorExpressionDescriptor.ArgumentType STRING

DECIMAL

public static final VectorExpressionDescriptor.ArgumentType DECIMAL

ANY

public static final VectorExpressionDescriptor.ArgumentType ANY
Method Detail

values

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

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

valueOf

public static VectorExpressionDescriptor.ArgumentType 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

getValue

public int getValue()

getType

public static VectorExpressionDescriptor.ArgumentType getType(String inType)


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