Interface ResultSetStatsOrBuilder (6.89.0)

publicinterfaceResultSetStatsOrBuilderextendsMessageOrBuilder

Methods

getQueryPlan()

publicabstractQueryPlangetQueryPlan()

QueryPlan for the query associated with this result.

.google.spanner.v1.QueryPlan query_plan = 1;

Returns
TypeDescription
QueryPlan

The queryPlan.

getQueryPlanOrBuilder()

publicabstractQueryPlanOrBuildergetQueryPlanOrBuilder()

QueryPlan for the query associated with this result.

.google.spanner.v1.QueryPlan query_plan = 1;

Returns
TypeDescription
QueryPlanOrBuilder

getQueryStats()

publicabstractStructgetQueryStats()

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
TypeDescription
Struct

The queryStats.

getQueryStatsOrBuilder()

publicabstractStructOrBuildergetQueryStatsOrBuilder()

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
TypeDescription
StructOrBuilder

getRowCountCase()

publicabstractResultSetStats.RowCountCasegetRowCountCase()
Returns
TypeDescription
ResultSetStats.RowCountCase

getRowCountExact()

publicabstractlonggetRowCountExact()

Standard DML returns an exact count of rows that were modified.

int64 row_count_exact = 3;

Returns
TypeDescription
long

The rowCountExact.

getRowCountLowerBound()

publicabstractlonggetRowCountLowerBound()

Partitioned DML doesn't offer exactly-once semantics, so it returns a lower bound of the rows modified.

int64 row_count_lower_bound = 4;

Returns
TypeDescription
long

The rowCountLowerBound.

hasQueryPlan()

publicabstractbooleanhasQueryPlan()

QueryPlan for the query associated with this result.

.google.spanner.v1.QueryPlan query_plan = 1;

Returns
TypeDescription
boolean

Whether the queryPlan field is set.

hasQueryStats()

publicabstractbooleanhasQueryStats()

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
TypeDescription
boolean

Whether the queryStats field is set.

hasRowCountExact()

publicabstractbooleanhasRowCountExact()

Standard DML returns an exact count of rows that were modified.

int64 row_count_exact = 3;

Returns
TypeDescription
boolean

Whether the rowCountExact field is set.

hasRowCountLowerBound()

publicabstractbooleanhasRowCountLowerBound()

Partitioned DML doesn't offer exactly-once semantics, so it returns a lower bound of the rows modified.

int64 row_count_lower_bound = 4;

Returns
TypeDescription
boolean

Whether the rowCountLowerBound field is set.