Interface ResultSetStatsOrBuilder (6.65.1)

public interface ResultSetStatsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getQueryPlan()

public abstract QueryPlan getQueryPlan()

QueryPlan for the query associated with this result.

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

Returns
Type Description
QueryPlan

The queryPlan.

getQueryPlanOrBuilder()

public abstract QueryPlanOrBuilder getQueryPlanOrBuilder()

QueryPlan for the query associated with this result.

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

Returns
Type Description
QueryPlanOrBuilder

getQueryStats()

public abstract 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
Type Description
Struct

The queryStats.

getQueryStatsOrBuilder()

public abstract 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;

Returns
Type Description
StructOrBuilder

getRowCountCase()

public abstract ResultSetStats.RowCountCase getRowCountCase()
Returns
Type Description
ResultSetStats.RowCountCase

getRowCountExact()

public abstract long getRowCountExact()

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

int64 row_count_exact = 3;

Returns
Type Description
long

The rowCountExact.

getRowCountLowerBound()

public abstract 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
Type Description
long

The rowCountLowerBound.

hasQueryPlan()

public abstract boolean hasQueryPlan()

QueryPlan for the query associated with this result.

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

Returns
Type Description
boolean

Whether the queryPlan field is set.

hasQueryStats()

public abstract 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
Type Description
boolean

Whether the queryStats field is set.

hasRowCountExact()

public abstract boolean hasRowCountExact()

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

int64 row_count_exact = 3;

Returns
Type Description
boolean

Whether the rowCountExact field is set.

hasRowCountLowerBound()

public abstract 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
Type Description
boolean

Whether the rowCountLowerBound field is set.