public interface ExecuteBatchDmlResponseOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getResultSets(int index)
public abstract ResultSet getResultSets(int index)
One ResultSet for each statement in the request that ran successfully, in the same order as the statements in the request. Each ResultSet does not contain any rows. The ResultSetStats in each ResultSet contain the number of rows modified by the statement. Only the first ResultSet in the response contains valid ResultSetMetadata.
repeated .google.spanner.v1.ResultSet result_sets = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ResultSet |
getResultSetsCount()
public abstract int getResultSetsCount()
One ResultSet for each statement in the request that ran successfully, in the same order as the statements in the request. Each ResultSet does not contain any rows. The ResultSetStats in each ResultSet contain the number of rows modified by the statement. Only the first ResultSet in the response contains valid ResultSetMetadata.
repeated .google.spanner.v1.ResultSet result_sets = 1;
Returns | |
---|---|
Type | Description |
int |
getResultSetsList()
public abstract List<ResultSet> getResultSetsList()
One ResultSet for each statement in the request that ran successfully, in the same order as the statements in the request. Each ResultSet does not contain any rows. The ResultSetStats in each ResultSet contain the number of rows modified by the statement. Only the first ResultSet in the response contains valid ResultSetMetadata.
repeated .google.spanner.v1.ResultSet result_sets = 1;
Returns | |
---|---|
Type | Description |
List<ResultSet> |
getResultSetsOrBuilder(int index)
public abstract ResultSetOrBuilder getResultSetsOrBuilder(int index)
One ResultSet for each statement in the request that ran successfully, in the same order as the statements in the request. Each ResultSet does not contain any rows. The ResultSetStats in each ResultSet contain the number of rows modified by the statement. Only the first ResultSet in the response contains valid ResultSetMetadata.
repeated .google.spanner.v1.ResultSet result_sets = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ResultSetOrBuilder |
getResultSetsOrBuilderList()
public abstract List<? extends ResultSetOrBuilder> getResultSetsOrBuilderList()
One ResultSet for each statement in the request that ran successfully, in the same order as the statements in the request. Each ResultSet does not contain any rows. The ResultSetStats in each ResultSet contain the number of rows modified by the statement. Only the first ResultSet in the response contains valid ResultSetMetadata.
repeated .google.spanner.v1.ResultSet result_sets = 1;
Returns | |
---|---|
Type | Description |
List<? extends com.google.spanner.v1.ResultSetOrBuilder> |
getStatus()
public abstract Status getStatus()
If all DML statements are executed successfully, the status is OK
.
Otherwise, the error status of the first failed statement.
.google.rpc.Status status = 2;
Returns | |
---|---|
Type | Description |
com.google.rpc.Status | The status. |
getStatusOrBuilder()
public abstract StatusOrBuilder getStatusOrBuilder()
If all DML statements are executed successfully, the status is OK
.
Otherwise, the error status of the first failed statement.
.google.rpc.Status status = 2;
Returns | |
---|---|
Type | Description |
com.google.rpc.StatusOrBuilder |
hasStatus()
public abstract boolean hasStatus()
If all DML statements are executed successfully, the status is OK
.
Otherwise, the error status of the first failed statement.
.google.rpc.Status status = 2;
Returns | |
---|---|
Type | Description |
boolean | Whether the status field is set. |