Package com.databricks.sdk.service.sql
Enum QueryStatementType
- java.lang.Object
-
- java.lang.Enum<QueryStatementType>
-
- com.databricks.sdk.service.sql.QueryStatementType
-
- All Implemented Interfaces:
Serializable,Comparable<QueryStatementType>
@Generated public enum QueryStatementType extends Enum<QueryStatementType>
Type of statement for this query
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static QueryStatementTypevalueOf(String name)Returns the enum constant of this type with the specified name.static QueryStatementType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALTER
public static final QueryStatementType ALTER
-
ANALYZE
public static final QueryStatementType ANALYZE
-
COPY
public static final QueryStatementType COPY
-
CREATE
public static final QueryStatementType CREATE
-
DELETE
public static final QueryStatementType DELETE
-
DESCRIBE
public static final QueryStatementType DESCRIBE
-
DROP
public static final QueryStatementType DROP
-
EXPLAIN
public static final QueryStatementType EXPLAIN
-
GRANT
public static final QueryStatementType GRANT
-
INSERT
public static final QueryStatementType INSERT
-
MERGE
public static final QueryStatementType MERGE
-
OPTIMIZE
public static final QueryStatementType OPTIMIZE
-
OTHER
public static final QueryStatementType OTHER
-
REFRESH
public static final QueryStatementType REFRESH
-
REPLACE
public static final QueryStatementType REPLACE
-
REVOKE
public static final QueryStatementType REVOKE
-
SELECT
public static final QueryStatementType SELECT
-
SET
public static final QueryStatementType SET
-
SHOW
public static final QueryStatementType SHOW
-
TRUNCATE
public static final QueryStatementType TRUNCATE
-
UPDATE
public static final QueryStatementType UPDATE
-
USE
public static final QueryStatementType USE
-
-
Method Detail
-
values
public static QueryStatementType[] 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 (QueryStatementType c : QueryStatementType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QueryStatementType 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
-
-