public static enum StatementResult.Kind extends Enum<StatementResult.Kind> implements oracle.kv.impl.util.FastExternalizable
StatementResult.getKind()
Enum Constant and Description |
---|
DDL
Results of data definition language statements: create or remove
table, a create or remove index or an alter index, or other
statements that don't return data records.
|
QUERY
Query statements that return records, for example SELECT FROM ....
|
Modifier and Type | Method and Description |
---|---|
static StatementResult.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatementResult.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatementResult.Kind DDL
public static final StatementResult.Kind QUERY
public static StatementResult.Kind[] values()
for (StatementResult.Kind c : StatementResult.Kind.values()) System.out.println(c);
public static StatementResult.Kind 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 (c) 2011, 2017 Oracle and/or its affiliates. All rights reserved.