Package com.google.spanner.v1
Interface ResultSetStatsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResultSetStats,ResultSetStats.Builder
public interface ResultSetStatsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.com.google.protobuf.StructAggregated statistics from the execution of the query.com.google.protobuf.StructOrBuilderAggregated statistics from the execution of the query.longStandard DML returns an exact count of rows that were modified.longPartitioned DML does not offer exactly-once semantics, so it returns a lower bound of the rows modified.boolean[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.booleanAggregated statistics from the execution of the query.booleanStandard DML returns an exact count of rows that were modified.booleanPartitioned DML does not offer exactly-once semantics, so it returns a lower bound of the rows modified.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasQueryPlan
boolean hasQueryPlan()[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;- Returns:
- Whether the queryPlan field is set.
-
getQueryPlan
QueryPlan getQueryPlan()[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;- Returns:
- The queryPlan.
-
getQueryPlanOrBuilder
QueryPlanOrBuilder getQueryPlanOrBuilder()[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1; -
hasQueryStats
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;- Returns:
- Whether the queryStats field is set.
-
getQueryStats
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;- Returns:
- The queryStats.
-
getQueryStatsOrBuilder
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; -
hasRowCountExact
boolean hasRowCountExact()Standard DML returns an exact count of rows that were modified.
int64 row_count_exact = 3;- Returns:
- Whether the rowCountExact field is set.
-
getRowCountExact
long getRowCountExact()Standard DML returns an exact count of rows that were modified.
int64 row_count_exact = 3;- Returns:
- The rowCountExact.
-
hasRowCountLowerBound
boolean hasRowCountLowerBound()Partitioned DML does not offer exactly-once semantics, so it returns a lower bound of the rows modified.
int64 row_count_lower_bound = 4;- Returns:
- Whether the rowCountLowerBound field is set.
-
getRowCountLowerBound
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;- Returns:
- The rowCountLowerBound.
-
getRowCountCase
ResultSetStats.RowCountCase getRowCountCase()
-