public static enum VectorExpressionDescriptor.ArgumentType extends Enum<VectorExpressionDescriptor.ArgumentType>
Enum Constant and Description |
---|
ALL_FAMILY |
CHAR |
DATE |
DATETIME_FAMILY |
DECIMAL |
FLOAT_FAMILY |
INT_DATETIME_INTERVAL_FAMILY |
INT_FAMILY |
INT_INTERVAL_FAMILY |
INT_TIMESTAMP_FAMILY |
INTERVAL_DAY_TIME |
INTERVAL_FAMILY |
INTERVAL_YEAR_MONTH |
NONE |
STRING |
STRING_DATETIME_FAMILY |
STRING_FAMILY |
TIMESTAMP |
VARCHAR |
Modifier and Type | Method and Description |
---|---|
static VectorExpressionDescriptor.ArgumentType |
fromHiveTypeName(String hiveTypeName) |
static VectorExpressionDescriptor.ArgumentType |
getType(String inType) |
int |
getValue() |
static String |
getVectorColumnSimpleName(String hiveTypeName) |
static String |
getVectorColumnSimpleName(VectorExpressionDescriptor.ArgumentType argType) |
boolean |
isSameTypeOrFamily(VectorExpressionDescriptor.ArgumentType other) |
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.
|
public static final VectorExpressionDescriptor.ArgumentType NONE
public static final VectorExpressionDescriptor.ArgumentType INT_FAMILY
public static final VectorExpressionDescriptor.ArgumentType FLOAT_FAMILY
public static final VectorExpressionDescriptor.ArgumentType DECIMAL
public static final VectorExpressionDescriptor.ArgumentType STRING
public static final VectorExpressionDescriptor.ArgumentType CHAR
public static final VectorExpressionDescriptor.ArgumentType VARCHAR
public static final VectorExpressionDescriptor.ArgumentType STRING_FAMILY
public static final VectorExpressionDescriptor.ArgumentType DATE
public static final VectorExpressionDescriptor.ArgumentType TIMESTAMP
public static final VectorExpressionDescriptor.ArgumentType INTERVAL_YEAR_MONTH
public static final VectorExpressionDescriptor.ArgumentType INTERVAL_DAY_TIME
public static final VectorExpressionDescriptor.ArgumentType DATETIME_FAMILY
public static final VectorExpressionDescriptor.ArgumentType INTERVAL_FAMILY
public static final VectorExpressionDescriptor.ArgumentType INT_TIMESTAMP_FAMILY
public static final VectorExpressionDescriptor.ArgumentType INT_INTERVAL_FAMILY
public static final VectorExpressionDescriptor.ArgumentType INT_DATETIME_INTERVAL_FAMILY
public static final VectorExpressionDescriptor.ArgumentType STRING_DATETIME_FAMILY
public static final VectorExpressionDescriptor.ArgumentType ALL_FAMILY
public static VectorExpressionDescriptor.ArgumentType[] values()
for (VectorExpressionDescriptor.ArgumentType c : VectorExpressionDescriptor.ArgumentType.values()) System.out.println(c);
public static VectorExpressionDescriptor.ArgumentType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
public static VectorExpressionDescriptor.ArgumentType fromHiveTypeName(String hiveTypeName)
public static VectorExpressionDescriptor.ArgumentType getType(String inType)
public boolean isSameTypeOrFamily(VectorExpressionDescriptor.ArgumentType other)
public static String getVectorColumnSimpleName(VectorExpressionDescriptor.ArgumentType argType)
Copyright © 2017 The Apache Software Foundation. All rights reserved.