public enum Clause extends Enum<Clause>
Enum Constant and Description |
---|
CALL |
DELETE
Not used in 5.x.
|
FROM |
GROUP |
HAVING |
INSERT
The insert values clause
|
IRRELEVANT
Again, not used in 5.x.
|
LIMIT |
ORDER |
SELECT |
UPDATE
The update set clause
|
WHERE |
Modifier and Type | Method and Description |
---|---|
static Clause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Clause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Clause INSERT
public static final Clause UPDATE
public static final Clause DELETE
public static final Clause SELECT
public static final Clause FROM
public static final Clause WHERE
public static final Clause GROUP
public static final Clause HAVING
public static final Clause ORDER
public static final Clause LIMIT
public static final Clause CALL
public static final Clause IRRELEVANT
public static Clause[] values()
for (Clause c : Clause.values()) System.out.println(c);
public static Clause 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 © 2001-2021 Red Hat, Inc. All Rights Reserved.