public final class ResultSetStats extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
ResultSetStats.Builder
Additional statistics about a [ResultSet][google.spanner.v1.ResultSet] or [PartialResultSet][google.spanner.v1.PartialResultSet].
|
static class |
ResultSetStats.RowCountCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
QUERY_PLAN_FIELD_NUMBER |
static int |
QUERY_STATS_FIELD_NUMBER |
static int |
ROW_COUNT_EXACT_FIELD_NUMBER |
static int |
ROW_COUNT_LOWER_BOUND_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ResultSetStats |
getDefaultInstance() |
ResultSetStats |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<ResultSetStats> |
getParserForType() |
QueryPlan |
getQueryPlan()
[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.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.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
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() |
static ResultSetStats.Builder |
newBuilder() |
static ResultSetStats.Builder |
newBuilder(ResultSetStats prototype) |
ResultSetStats.Builder |
newBuilderForType() |
protected ResultSetStats.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ResultSetStats |
parseDelimitedFrom(InputStream input) |
static ResultSetStats |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResultSetStats |
parseFrom(byte[] data) |
static ResultSetStats |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResultSetStats |
parseFrom(ByteBuffer data) |
static ResultSetStats |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResultSetStats |
parseFrom(com.google.protobuf.ByteString data) |
static ResultSetStats |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResultSetStats |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ResultSetStats |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ResultSetStats |
parseFrom(InputStream input) |
static ResultSetStats |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ResultSetStats> |
parser() |
ResultSetStats.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int QUERY_PLAN_FIELD_NUMBER
public static final int QUERY_STATS_FIELD_NUMBER
public static final int ROW_COUNT_EXACT_FIELD_NUMBER
public static final int ROW_COUNT_LOWER_BOUND_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public ResultSetStats.RowCountCase getRowCountCase()
getRowCountCase in interface ResultSetStatsOrBuilderpublic 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 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ResultSetStats parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResultSetStats parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResultSetStats parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResultSetStats parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResultSetStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResultSetStats parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ResultSetStats parseFrom(InputStream input) throws IOException
IOExceptionpublic static ResultSetStats parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ResultSetStats parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ResultSetStats parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ResultSetStats parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ResultSetStats parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ResultSetStats.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ResultSetStats.Builder newBuilder()
public static ResultSetStats.Builder newBuilder(ResultSetStats prototype)
public ResultSetStats.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ResultSetStats.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ResultSetStats getDefaultInstance()
public static com.google.protobuf.Parser<ResultSetStats> parser()
public com.google.protobuf.Parser<ResultSetStats> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ResultSetStats getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020 Google LLC. All rights reserved.