public static enum QueryContext.SqlStatementType extends Enum<QueryContext.SqlStatementType>
Enum Constant and Description |
---|
ANALYZE |
CTAS |
DESCRIBE_SCHEMA |
DESCRIBE_TABLE |
EXPLAIN |
OTHER |
REFRESH |
SELECT |
SETOPTION |
Modifier and Type | Method and Description |
---|---|
static QueryContext.SqlStatementType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryContext.SqlStatementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryContext.SqlStatementType OTHER
public static final QueryContext.SqlStatementType ANALYZE
public static final QueryContext.SqlStatementType CTAS
public static final QueryContext.SqlStatementType EXPLAIN
public static final QueryContext.SqlStatementType DESCRIBE_TABLE
public static final QueryContext.SqlStatementType DESCRIBE_SCHEMA
public static final QueryContext.SqlStatementType REFRESH
public static final QueryContext.SqlStatementType SELECT
public static final QueryContext.SqlStatementType SETOPTION
public static QueryContext.SqlStatementType[] values()
for (QueryContext.SqlStatementType c : QueryContext.SqlStatementType.values()) System.out.println(c);
public static QueryContext.SqlStatementType 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 nullCopyright © 1970 The Apache Software Foundation. All rights reserved.