public enum SQLType extends Enum<SQLType>
Enum Constant and Description |
---|
DAL
Database administrator Language.
|
DDL
Data Definition Language.
|
DML
Data Manipulation Language.
|
DQL
Data Query Language.
|
TCL
Transaction Control Language.
|
Modifier and Type | Method and Description |
---|---|
static SQLType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SQLType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SQLType DQL
Such as SELECT
.
public static final SQLType DML
Such as INSERT
, UPDATE
, DELETE
.
public static final SQLType DDL
Such as CREATE
, ALTER
, DROP
, TRUNCATE
.
public static final SQLType TCL
Such as SET
, COMMIT
, ROLLBACK
, SAVEPOIINT
, BEGIN
.
public static final SQLType DAL
public static SQLType[] values()
for (SQLType c : SQLType.values()) System.out.println(c);
public static SQLType 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 © 2018. All rights reserved.