- 6.108.0 (latest)
- 6.107.0
- 6.103.0
- 6.102.1
- 6.101.1
- 6.100.0
- 6.99.0
- 6.98.1
- 6.97.1
- 6.96.1
- 6.95.1
- 6.94.0
- 6.93.0
- 6.89.0
- 6.88.0
- 6.87.0
- 6.86.0
- 6.85.0
- 6.83.0
- 6.82.0
- 6.80.1
- 6.79.0
- 6.77.0
- 6.74.1
- 6.72.0
- 6.71.0
- 6.69.0
- 6.68.0
- 6.66.0
- 6.65.1
- 6.62.0
- 6.60.0
- 6.58.0
- 6.57.0
- 6.56.0
- 6.55.0
- 6.54.0
- 6.53.0
- 6.52.1
- 6.51.0
- 6.50.1
- 6.49.0
- 6.25.1
- 6.24.0
- 6.23.4
- 6.22.0
- 6.21.2
- 6.20.0
- 6.19.1
- 6.18.0
- 6.17.4
- 6.14.1
public static final class ResultSetStats.Builder extends GeneratedMessage.Builder<ResultSetStats.Builder> implements ResultSetStatsOrBuilderAdditional statistics about a ResultSet or PartialResultSet.
Protobuf type google.spanner.v1.ResultSetStats
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ResultSetStats.BuilderImplements
ResultSetStatsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ResultSetStats build()| Returns | |
|---|---|
| Type | Description |
ResultSetStats |
|
buildPartial()
public ResultSetStats buildPartial()| Returns | |
|---|---|
| Type | Description |
ResultSetStats |
|
clear()
public ResultSetStats.Builder clear()| Returns | |
|---|---|
| Type | Description |
ResultSetStats.Builder |
|
clearQueryPlan()
public ResultSetStats.Builder clearQueryPlan()QueryPlan for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;
| Returns | |
|---|---|
| Type | Description |
ResultSetStats.Builder |
|
clearQueryStats()
public ResultSetStats.Builder clearQueryStats()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 |
ResultSetStats.Builder |
|
clearRowCount()
public ResultSetStats.Builder clearRowCount()| Returns | |
|---|---|
| Type | Description |
ResultSetStats.Builder |
|
clearRowCountExact()
public ResultSetStats.Builder clearRowCountExact()Standard DML returns an exact count of rows that were modified.
int64 row_count_exact = 3;
| Returns | |
|---|---|
| Type | Description |
ResultSetStats.Builder |
This builder for chaining. |
clearRowCountLowerBound()
public ResultSetStats.Builder clearRowCountLowerBound()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 | |
|---|---|
| Type | Description |
ResultSetStats.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ResultSetStats getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ResultSetStats |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getQueryPlan()
public QueryPlan getQueryPlan()QueryPlan for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;
| Returns | |
|---|---|
| Type | Description |
QueryPlan |
The queryPlan. |
getQueryPlanBuilder()
public QueryPlan.Builder getQueryPlanBuilder()QueryPlan for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;
| Returns | |
|---|---|
| Type | Description |
QueryPlan.Builder |
|
getQueryPlanOrBuilder()
public QueryPlanOrBuilder getQueryPlanOrBuilder()QueryPlan for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;
| Returns | |
|---|---|
| Type | Description |
QueryPlanOrBuilder |
|
getQueryStats()
public 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. |
getQueryStatsBuilder()
public Struct.Builder getQueryStatsBuilder()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 |
Builder |
|
getQueryStatsOrBuilder()
public 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 ResultSetStats.RowCountCase getRowCountCase()| Returns | |
|---|---|
| Type | Description |
ResultSetStats.RowCountCase |
|
getRowCountExact()
public 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 long getRowCountLowerBound()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 | |
|---|---|
| Type | Description |
long |
The rowCountLowerBound. |
hasQueryPlan()
public 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 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 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 boolean hasRowCountLowerBound()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 | |
|---|---|
| Type | Description |
boolean |
Whether the rowCountLowerBound field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ResultSetStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ResultSetStats.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ResultSetStats.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ResultSetStats.Builder |
|
mergeFrom(ResultSetStats other)
public ResultSetStats.Builder mergeFrom(ResultSetStats other)| Parameter | |
|---|---|
| Name | Description |
other |
ResultSetStats |
| Returns | |
|---|---|
| Type | Description |
ResultSetStats.Builder |
|
mergeQueryPlan(QueryPlan value)
public ResultSetStats.Builder mergeQueryPlan(QueryPlan value)QueryPlan for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
QueryPlan |
| Returns | |
|---|---|
| Type | Description |
ResultSetStats.Builder |
|
mergeQueryStats(Struct value)
public ResultSetStats.Builder mergeQueryStats(Struct value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
ResultSetStats.Builder |
|
setQueryPlan(QueryPlan value)
public ResultSetStats.Builder setQueryPlan(QueryPlan value)QueryPlan for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
QueryPlan |
| Returns | |
|---|---|
| Type | Description |
ResultSetStats.Builder |
|
setQueryPlan(QueryPlan.Builder builderForValue)
public ResultSetStats.Builder setQueryPlan(QueryPlan.Builder builderForValue)QueryPlan for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
QueryPlan.Builder |
| Returns | |
|---|---|
| Type | Description |
ResultSetStats.Builder |
|
setQueryStats(Struct value)
public ResultSetStats.Builder setQueryStats(Struct value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
ResultSetStats.Builder |
|
setQueryStats(Struct.Builder builderForValue)
public ResultSetStats.Builder setQueryStats(Struct.Builder builderForValue)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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ResultSetStats.Builder |
|
setRowCountExact(long value)
public ResultSetStats.Builder setRowCountExact(long value)Standard DML returns an exact count of rows that were modified.
int64 row_count_exact = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe rowCountExact to set. |
| Returns | |
|---|---|
| Type | Description |
ResultSetStats.Builder |
This builder for chaining. |
setRowCountLowerBound(long value)
public ResultSetStats.Builder setRowCountLowerBound(long value)Partitioned DML doesn't offer exactly-once semantics, so it returns a lower bound of the rows modified.
int64 row_count_lower_bound = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe rowCountLowerBound to set. |
| Returns | |
|---|---|
| Type | Description |
ResultSetStats.Builder |
This builder for chaining. |