public enum StatementType extends Enum<StatementType>
Enum Constant and Description |
---|
BEGIN_STATEMENT_SET
'BEGIN STATEMENT SET;' SQL statement.
|
CLEAR
Command to clear the terminal's screen.
|
END
'END;' SQL statement.
|
EXPLAIN
'EXPLAIN' SQL statement.
|
HELP
Command to print help message.
|
OTHER
Type not covered by any other type value.
|
QUIT
Command to quit the client.
|
REMOVE_JAR
'REMOVE JAR' SQL statement.
|
RESET
Command to reset session configuration property or reset all properties.
|
SELECT
'SELECT' SQL statement.
|
SET
Command to set session configuration property.
|
SHOW_CREATE
'SHOW CREATE TABLE/VIEW' SQL statement.
|
Modifier and Type | Method and Description |
---|---|
static StatementType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatementType QUIT
public static final StatementType CLEAR
public static final StatementType HELP
public static final StatementType SET
public static final StatementType RESET
public static final StatementType EXPLAIN
public static final StatementType SHOW_CREATE
public static final StatementType BEGIN_STATEMENT_SET
public static final StatementType END
public static final StatementType REMOVE_JAR
public static final StatementType SELECT
public static final StatementType OTHER
public static StatementType[] values()
for (StatementType c : StatementType.values()) System.out.println(c);
public static StatementType 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 © 2014–2023 The Apache Software Foundation. All rights reserved.