Enum HiveCreateFunctionStatement.ResourceType
- java.lang.Object
-
- java.lang.Enum<HiveCreateFunctionStatement.ResourceType>
-
- com.alibaba.druid.sql.dialect.hive.stmt.HiveCreateFunctionStatement.ResourceType
-
- All Implemented Interfaces:
Serializable,Comparable<HiveCreateFunctionStatement.ResourceType>
- Enclosing class:
- HiveCreateFunctionStatement
public static enum HiveCreateFunctionStatement.ResourceType extends Enum<HiveCreateFunctionStatement.ResourceType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HiveCreateFunctionStatement.ResourceTypevalueOf(String name)Returns the enum constant of this type with the specified name.static HiveCreateFunctionStatement.ResourceType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JAR
public static final HiveCreateFunctionStatement.ResourceType JAR
-
FILE
public static final HiveCreateFunctionStatement.ResourceType FILE
-
ARCHIVE
public static final HiveCreateFunctionStatement.ResourceType ARCHIVE
-
CODE
public static final HiveCreateFunctionStatement.ResourceType CODE
-
-
Method Detail
-
values
public static HiveCreateFunctionStatement.ResourceType[] 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 (HiveCreateFunctionStatement.ResourceType c : HiveCreateFunctionStatement.ResourceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HiveCreateFunctionStatement.ResourceType 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 nameNullPointerException- if the argument is null
-
-