public static final class ResultSetStats.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder> implements ResultSetStatsOrBuilder
Additional statistics about a [ResultSet][google.spanner.v1.ResultSet] or [PartialResultSet][google.spanner.v1.PartialResultSet].Protobuf type
google.spanner.v1.ResultSetStats| Modifier and Type | Method and Description |
|---|---|
ResultSetStats.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ResultSetStats |
build() |
ResultSetStats |
buildPartial() |
ResultSetStats.Builder |
clear() |
ResultSetStats.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ResultSetStats.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ResultSetStats.Builder |
clearQueryPlan()
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
|
ResultSetStats.Builder |
clearQueryStats()
Aggregated statistics from the execution of the query.
|
ResultSetStats.Builder |
clearRowCount() |
ResultSetStats.Builder |
clearRowCountExact()
Standard DML returns an exact count of rows that were modified.
|
ResultSetStats.Builder |
clearRowCountLowerBound()
Partitioned DML does not offer exactly-once semantics, so it
returns a lower bound of the rows modified.
|
ResultSetStats.Builder |
clone() |
ResultSetStats |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
QueryPlan |
getQueryPlan()
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
|
QueryPlan.Builder |
getQueryPlanBuilder()
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
|
QueryPlanOrBuilder |
getQueryPlanOrBuilder()
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
|
com.google.protobuf.Struct |
getQueryStats()
Aggregated statistics from the execution of the query.
|
com.google.protobuf.Struct.Builder |
getQueryStatsBuilder()
Aggregated statistics from the execution of the query.
|
com.google.protobuf.StructOrBuilder |
getQueryStatsOrBuilder()
Aggregated statistics from the execution of the query.
|
ResultSetStats.RowCountCase |
getRowCountCase() |
long |
getRowCountExact()
Standard DML returns an exact count of rows that were modified.
|
long |
getRowCountLowerBound()
Partitioned DML does not offer exactly-once semantics, so it
returns a lower bound of the rows modified.
|
boolean |
hasQueryPlan()
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
|
boolean |
hasQueryStats()
Aggregated statistics from the execution of the query.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ResultSetStats.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ResultSetStats.Builder |
mergeFrom(com.google.protobuf.Message other) |
ResultSetStats.Builder |
mergeFrom(ResultSetStats other) |
ResultSetStats.Builder |
mergeQueryPlan(QueryPlan value)
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
|
ResultSetStats.Builder |
mergeQueryStats(com.google.protobuf.Struct value)
Aggregated statistics from the execution of the query.
|
ResultSetStats.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ResultSetStats.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ResultSetStats.Builder |
setQueryPlan(QueryPlan.Builder builderForValue)
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
|
ResultSetStats.Builder |
setQueryPlan(QueryPlan value)
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
|
ResultSetStats.Builder |
setQueryStats(com.google.protobuf.Struct.Builder builderForValue)
Aggregated statistics from the execution of the query.
|
ResultSetStats.Builder |
setQueryStats(com.google.protobuf.Struct value)
Aggregated statistics from the execution of the query.
|
ResultSetStats.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ResultSetStats.Builder |
setRowCountExact(long value)
Standard DML returns an exact count of rows that were modified.
|
ResultSetStats.Builder |
setRowCountLowerBound(long value)
Partitioned DML does not offer exactly-once semantics, so it
returns a lower bound of the rows modified.
|
ResultSetStats.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>public ResultSetStats.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>public ResultSetStats getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ResultSetStats build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ResultSetStats buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ResultSetStats.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>public ResultSetStats.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>public ResultSetStats.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>public ResultSetStats.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>public ResultSetStats.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>public ResultSetStats.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>public ResultSetStats.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ResultSetStats.Builder>public ResultSetStats.Builder mergeFrom(ResultSetStats other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>public ResultSetStats.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ResultSetStats.Builder>IOExceptionpublic ResultSetStats.RowCountCase getRowCountCase()
getRowCountCase in interface ResultSetStatsOrBuilderpublic ResultSetStats.Builder clearRowCount()
public boolean hasQueryPlan()
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;hasQueryPlan in interface ResultSetStatsOrBuilderpublic QueryPlan getQueryPlan()
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;getQueryPlan in interface ResultSetStatsOrBuilderpublic ResultSetStats.Builder setQueryPlan(QueryPlan value)
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;public ResultSetStats.Builder setQueryPlan(QueryPlan.Builder builderForValue)
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;public ResultSetStats.Builder mergeQueryPlan(QueryPlan value)
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;public ResultSetStats.Builder clearQueryPlan()
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;public QueryPlan.Builder getQueryPlanBuilder()
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;public QueryPlanOrBuilder getQueryPlanOrBuilder()
[QueryPlan][google.spanner.v1.QueryPlan] for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;getQueryPlanOrBuilder in interface ResultSetStatsOrBuilderpublic 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;hasQueryStats in interface ResultSetStatsOrBuilderpublic com.google.protobuf.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;getQueryStats in interface ResultSetStatsOrBuilderpublic ResultSetStats.Builder setQueryStats(com.google.protobuf.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;public ResultSetStats.Builder setQueryStats(com.google.protobuf.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;public ResultSetStats.Builder mergeQueryStats(com.google.protobuf.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;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;public com.google.protobuf.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;public com.google.protobuf.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;getQueryStatsOrBuilder in interface ResultSetStatsOrBuilderpublic long getRowCountExact()
Standard DML returns an exact count of rows that were modified.
int64 row_count_exact = 3;getRowCountExact in interface ResultSetStatsOrBuilderpublic ResultSetStats.Builder setRowCountExact(long value)
Standard DML returns an exact count of rows that were modified.
int64 row_count_exact = 3;value - The rowCountExact to set.public ResultSetStats.Builder clearRowCountExact()
Standard DML returns an exact count of rows that were modified.
int64 row_count_exact = 3;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;getRowCountLowerBound in interface ResultSetStatsOrBuilderpublic 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;value - The rowCountLowerBound to set.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;public final ResultSetStats.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>public final ResultSetStats.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ResultSetStats.Builder>Copyright © 2020 Google LLC. All rights reserved.