public static enum Query.Type extends Enum<Query.Type>
Enum Constant and Description |
---|
DELETE
The instance contains the parts of a delete statement.
|
SELECT
The instance contains the parts of a select statement.
|
UPDATE
The instance contains the parts of an update statement.
|
Modifier and Type | Method and Description |
---|---|
static Query.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Query.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Query.Type SELECT
public static final Query.Type UPDATE
public static final Query.Type DELETE
public static Query.Type[] values()
for (Query.Type c : Query.Type.values()) System.out.println(c);
public static Query.Type 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 © 2000–2020 The Apache Software Foundation. All rights reserved.