java.io.Serializable, java.lang.Comparable<StatementResult.Kind>, oracle.kv.impl.util.FastExternalizablepublic static enum StatementResult.Kind extends java.lang.Enum<StatementResult.Kind> implements oracle.kv.impl.util.FastExternalizable
StatementResult.getKind()| Enum Constant | 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 | Description |
|---|---|---|
static StatementResult.Kind |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright (c) 2011, 2018 Oracle and/or its affiliates. All rights reserved.