class ResultSetStats extends Message

Additional statistics about a [ResultSet][google.spanner.v1.ResultSet] or [PartialResultSet][google.spanner.v1.PartialResultSet].

Protobuf type Google\Spanner\V1\ResultSetStats

Methods

__construct()

No description

getQueryPlan()

[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.

setQueryPlan(QueryPlan $var)

[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.

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" }

setQueryStats(Struct $var)

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" }

Details

at line 38
__construct()

at line 49
QueryPlan getQueryPlan()

[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.

Generated from protobuf field .google.spanner.v1.QueryPlan query_plan = 1;

Return Value

QueryPlan

at line 60
setQueryPlan(QueryPlan $var)

[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.

Generated from protobuf field .google.spanner.v1.QueryPlan query_plan = 1;

Parameters

QueryPlan $var

at line 79
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" }

Generated from protobuf field .google.protobuf.Struct query_stats = 2;

Return Value

Struct

at line 97
setQueryStats(Struct $var)

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" }

Generated from protobuf field .google.protobuf.Struct query_stats = 2;

Parameters

Struct $var