public final class ResultSetStats extends GeneratedMessageV3 implements ResultSetStatsOrBuilder
Additional statistics about a ResultSet or PartialResultSet.
Protobuf type google.spanner.v1.ResultSetStats
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ResultSetStatsImplements
ResultSetStatsOrBuilderStatic Fields
QUERY_PLAN_FIELD_NUMBER
public static final int QUERY_PLAN_FIELD_NUMBER
Type | Description |
int |
QUERY_STATS_FIELD_NUMBER
public static final int QUERY_STATS_FIELD_NUMBER
Type | Description |
int |
ROW_COUNT_EXACT_FIELD_NUMBER
public static final int ROW_COUNT_EXACT_FIELD_NUMBER
Type | Description |
int |
ROW_COUNT_LOWER_BOUND_FIELD_NUMBER
public static final int ROW_COUNT_LOWER_BOUND_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ResultSetStats getDefaultInstance()
Type | Description |
ResultSetStats |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static ResultSetStats.Builder newBuilder()
Type | Description |
ResultSetStats.Builder |
newBuilder(ResultSetStats prototype)
public static ResultSetStats.Builder newBuilder(ResultSetStats prototype)
Name | Description |
prototype | ResultSetStats |
Type | Description |
ResultSetStats.Builder |
parseDelimitedFrom(InputStream input)
public static ResultSetStats parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ResultSetStats |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ResultSetStats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ResultSetStats |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ResultSetStats parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
ResultSetStats |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ResultSetStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ResultSetStats |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ResultSetStats parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
ResultSetStats |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ResultSetStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ResultSetStats |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ResultSetStats parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
ResultSetStats |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ResultSetStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ResultSetStats |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ResultSetStats parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ResultSetStats |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ResultSetStats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ResultSetStats |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ResultSetStats parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
ResultSetStats |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ResultSetStats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ResultSetStats |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ResultSetStats> parser()
Type | Description |
Parser<ResultSetStats> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public ResultSetStats getDefaultInstanceForType()
Type | Description |
ResultSetStats |
getParserForType()
public Parser<ResultSetStats> getParserForType()
Type | Description |
Parser<ResultSetStats> |
getQueryPlan()
public QueryPlan getQueryPlan()
QueryPlan for the query associated with this result.
.google.spanner.v1.QueryPlan query_plan = 1;
Type | Description |
QueryPlan | The queryPlan. |
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. |
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. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
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. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public ResultSetStats.Builder newBuilderForType()
Type | Description |
ResultSetStats.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ResultSetStats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
ResultSetStats.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public ResultSetStats.Builder toBuilder()
Type | Description |
ResultSetStats.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |