public interface ResultSetStatsOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
QueryPlan |
getQueryPlan()
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
|
QueryPlanOrBuilder |
getQueryPlanOrBuilder()
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
|
com.google.protobuf.Struct |
getQueryStats()
Aggregated statistics from the execution of the query.
|
com.google.protobuf.StructOrBuilder |
getQueryStatsOrBuilder()
Aggregated statistics from the execution of the query.
|
ResultSetStats.RowCountCase |
getRowCountCase() |
long |
getRowCountExact()
Standard DML returns an exact count of rows that were modified.
|
long |
getRowCountLowerBound()
Partitioned DML does not offer exactly-once semantics, so it
returns a lower bound of the rows modified.
|
boolean |
hasQueryPlan()
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
|
boolean |
hasQueryStats()
Aggregated statistics from the execution of the query.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasQueryPlan()
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;QueryPlan getQueryPlan()
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;QueryPlanOrBuilder getQueryPlanOrBuilder()
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;boolean hasQueryStats()
Aggregated statistics from the execution of the query. Only present when
the query is profiled. For example, a query could return the statistics as
follows:
{
"rows_returned": "3",
"elapsed_time": "1.22 secs",
"cpu_time": "1.19 secs"
}
.google.protobuf.Struct query_stats = 2;com.google.protobuf.Struct getQueryStats()
Aggregated statistics from the execution of the query. Only present when
the query is profiled. For example, a query could return the statistics as
follows:
{
"rows_returned": "3",
"elapsed_time": "1.22 secs",
"cpu_time": "1.19 secs"
}
.google.protobuf.Struct query_stats = 2;com.google.protobuf.StructOrBuilder getQueryStatsOrBuilder()
Aggregated statistics from the execution of the query. Only present when
the query is profiled. For example, a query could return the statistics as
follows:
{
"rows_returned": "3",
"elapsed_time": "1.22 secs",
"cpu_time": "1.19 secs"
}
.google.protobuf.Struct query_stats = 2;long getRowCountExact()
Standard DML returns an exact count of rows that were modified.
int64 row_count_exact = 3;long getRowCountLowerBound()
Partitioned DML does not offer exactly-once semantics, so it returns a lower bound of the rows modified.
int64 row_count_lower_bound = 4;ResultSetStats.RowCountCase getRowCountCase()
Copyright © 2019 Google LLC. All rights reserved.