public static final class ResultSetStats.Builder extends GeneratedMessageV3.Builder<ResultSetStats.Builder> implements ResultSetStatsOrBuilder
Additional statistics about a ResultSet or PartialResultSet.
Protobuf type google.spanner.v1.ResultSetStats
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ResultSetStats.BuilderImplements
ResultSetStatsOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResultSetStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ResultSetStats.Builder |
build()
public ResultSetStats build()
Type | Description |
ResultSetStats |
buildPartial()
public ResultSetStats buildPartial()
Type | Description |
ResultSetStats |
clear()
public ResultSetStats.Builder clear()
Type | Description |
ResultSetStats.Builder |
clearField(Descriptors.FieldDescriptor field)
public ResultSetStats.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ResultSetStats.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ResultSetStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ResultSetStats.Builder |
clearQueryPlan()
public ResultSetStats.Builder clearQueryPlan()
QueryPlan for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;
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;
Type | Description |
ResultSetStats.Builder |
clearRowCount()
public ResultSetStats.Builder clearRowCount()
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;
Type | Description |
ResultSetStats.Builder | This builder for chaining. |
clearRowCountLowerBound()
public ResultSetStats.Builder clearRowCountLowerBound()
Partitioned DML does not offer exactly-once semantics, so it returns a lower bound of the rows modified.
int64 row_count_lower_bound = 4;
Type | Description |
ResultSetStats.Builder | This builder for chaining. |
clone()
public ResultSetStats.Builder clone()
Type | Description |
ResultSetStats.Builder |
getDefaultInstanceForType()
public ResultSetStats getDefaultInstanceForType()
Type | Description |
ResultSetStats |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getQueryPlan()
public QueryPlan getQueryPlan()
QueryPlan for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;
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;
Type | Description |
QueryPlan.Builder |
getQueryPlanOrBuilder()
public QueryPlanOrBuilder getQueryPlanOrBuilder()
QueryPlan for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;
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;
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;
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;
Type | Description |
StructOrBuilder |
getRowCountCase()
public ResultSetStats.RowCountCase getRowCountCase()
Type | Description |
ResultSetStats.RowCountCase |
getRowCountExact()
public long getRowCountExact()
Standard DML returns an exact count of rows that were modified.
int64 row_count_exact = 3;
Type | Description |
long | The rowCountExact. |
getRowCountLowerBound()
public 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;
Type | Description |
long | The rowCountLowerBound. |
hasQueryPlan()
public boolean hasQueryPlan()
QueryPlan for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;
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;
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;
Type | Description |
boolean | Whether the rowCountExact field is set. |
hasRowCountLowerBound()
public 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;
Type | Description |
boolean | Whether the rowCountLowerBound field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ResultSetStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ResultSetStats.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ResultSetStats.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ResultSetStats.Builder |
mergeFrom(ResultSetStats other)
public ResultSetStats.Builder mergeFrom(ResultSetStats other)
Name | Description |
other | ResultSetStats |
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;
Name | Description |
value | QueryPlan |
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;
Name | Description |
value | Struct |
Type | Description |
ResultSetStats.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResultSetStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ResultSetStats.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ResultSetStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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;
Name | Description |
value | QueryPlan |
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;
Name | Description |
builderForValue | QueryPlan.Builder |
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;
Name | Description |
value | Struct |
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;
Name | Description |
builderForValue | Builder |
Type | Description |
ResultSetStats.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResultSetStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
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;
Name | Description |
value | long The rowCountExact to set. |
Type | Description |
ResultSetStats.Builder | This builder for chaining. |
setRowCountLowerBound(long value)
public ResultSetStats.Builder setRowCountLowerBound(long value)
Partitioned DML does not offer exactly-once semantics, so it returns a lower bound of the rows modified.
int64 row_count_lower_bound = 4;
Name | Description |
value | long The rowCountLowerBound to set. |
Type | Description |
ResultSetStats.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ResultSetStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ResultSetStats.Builder |