Reference documentation and code samples for the Cloud Spanner V1 API class Google::Cloud::Spanner::V1::ResultSetStats.
Additional statistics about a ResultSet or PartialResultSet.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#query_plan
def query_plan() -> ::Google::Cloud::Spanner::V1::QueryPlan
- (::Google::Cloud::Spanner::V1::QueryPlan) — QueryPlan for the query associated with this result.
#query_plan=
def query_plan=(value) -> ::Google::Cloud::Spanner::V1::QueryPlan
- value (::Google::Cloud::Spanner::V1::QueryPlan) — QueryPlan for the query associated with this result.
- (::Google::Cloud::Spanner::V1::QueryPlan) — QueryPlan for the query associated with this result.
#query_stats
def query_stats() -> ::Google::Protobuf::Struct
-
(::Google::Protobuf::Struct) —
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" }
#query_stats=
def query_stats=(value) -> ::Google::Protobuf::Struct
-
value (::Google::Protobuf::Struct) —
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) —
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" }
#row_count_exact
def row_count_exact() -> ::Integer
- (::Integer) — Standard DML returns an exact count of rows that were modified.
#row_count_exact=
def row_count_exact=(value) -> ::Integer
- value (::Integer) — Standard DML returns an exact count of rows that were modified.
- (::Integer) — Standard DML returns an exact count of rows that were modified.
#row_count_lower_bound
def row_count_lower_bound() -> ::Integer
- (::Integer) — Partitioned DML does not offer exactly-once semantics, so it returns a lower bound of the rows modified.
#row_count_lower_bound=
def row_count_lower_bound=(value) -> ::Integer
- value (::Integer) — Partitioned DML does not offer exactly-once semantics, so it returns a lower bound of the rows modified.
- (::Integer) — Partitioned DML does not offer exactly-once semantics, so it returns a lower bound of the rows modified.