Enum OperationType
- java.lang.Object
-
- java.lang.Enum<OperationType>
-
- com.databricks.jdbc.model.telemetry.latency.OperationType
-
- All Implemented Interfaces:
Serializable,Comparable<OperationType>
public enum OperationType extends Enum<OperationType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OperationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static OperationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TYPE_UNSPECIFIED
public static final OperationType TYPE_UNSPECIFIED
-
CREATE_SESSION
public static final OperationType CREATE_SESSION
-
DELETE_SESSION
public static final OperationType DELETE_SESSION
-
EXECUTE_STATEMENT
public static final OperationType EXECUTE_STATEMENT
-
EXECUTE_STATEMENT_ASYNC
public static final OperationType EXECUTE_STATEMENT_ASYNC
-
CLOSE_STATEMENT
public static final OperationType CLOSE_STATEMENT
-
CANCEL_STATEMENT
public static final OperationType CANCEL_STATEMENT
-
LIST_TYPE_INFO
public static final OperationType LIST_TYPE_INFO
-
LIST_CATALOGS
public static final OperationType LIST_CATALOGS
-
LIST_SCHEMAS
public static final OperationType LIST_SCHEMAS
-
LIST_TABLES
public static final OperationType LIST_TABLES
-
LIST_TABLE_TYPES
public static final OperationType LIST_TABLE_TYPES
-
LIST_COLUMNS
public static final OperationType LIST_COLUMNS
-
LIST_FUNCTIONS
public static final OperationType LIST_FUNCTIONS
-
LIST_PRIMARY_KEYS
public static final OperationType LIST_PRIMARY_KEYS
-
LIST_IMPORTED_KEYS
public static final OperationType LIST_IMPORTED_KEYS
-
LIST_EXPORTED_KEYS
public static final OperationType LIST_EXPORTED_KEYS
-
LIST_CROSS_REFERENCES
public static final OperationType LIST_CROSS_REFERENCES
-
-
Method Detail
-
values
public static OperationType[] 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 (OperationType c : OperationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationType 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
-
-