org.apache.hadoop.hive.ql.exec.vector
Enum VectorExpressionDescriptor.ArgumentType
java.lang.Object
java.lang.Enum<VectorExpressionDescriptor.ArgumentType>
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>
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
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.