public static enum StatementResult.ResultType extends Enum<StatementResult.ResultType>
Connection.execute(com.google.cloud.spanner.Statement)
Enum Constant and Description |
---|
NO_RESULT
DDL statements and client side statements that set the state of a connection return no
result.
|
RESULT_SET
A result set either returned by a query on Cloud Spanner or a local result set generated by a
client side statement.
|
UPDATE_COUNT
An update count returned by Cloud Spanner.
|
Modifier and Type | Method and Description |
---|---|
static StatementResult.ResultType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatementResult.ResultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatementResult.ResultType RESULT_SET
public static final StatementResult.ResultType UPDATE_COUNT
public static final StatementResult.ResultType NO_RESULT
public static StatementResult.ResultType[] values()
for (StatementResult.ResultType c : StatementResult.ResultType.values()) System.out.println(c);
public static StatementResult.ResultType 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 © 2021 Google LLC. All rights reserved.