public static final class ResultSet.Builder extends GeneratedMessageV3.Builder<ResultSet.Builder> implements ResultSetOrBuilder
Results from [Read][google.spanner.v1.Spanner.Read] or [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql].Protobuf type
google.spanner.v1.ResultSet
Modifier and Type | Method and Description |
---|---|
ResultSet.Builder |
addAllRows(Iterable<? extends ListValue> values)
Each element in `rows` is a row whose format is defined by
[metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type].
|
ResultSet.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
ResultSet.Builder |
addRows(int index,
ListValue.Builder builderForValue)
Each element in `rows` is a row whose format is defined by
[metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type].
|
ResultSet.Builder |
addRows(int index,
ListValue value)
Each element in `rows` is a row whose format is defined by
[metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type].
|
ResultSet.Builder |
addRows(ListValue.Builder builderForValue)
Each element in `rows` is a row whose format is defined by
[metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type].
|
ResultSet.Builder |
addRows(ListValue value)
Each element in `rows` is a row whose format is defined by
[metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type].
|
ListValue.Builder |
addRowsBuilder()
Each element in `rows` is a row whose format is defined by
[metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type].
|
ListValue.Builder |
addRowsBuilder(int index)
Each element in `rows` is a row whose format is defined by
[metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type].
|
ResultSet |
build() |
ResultSet |
buildPartial() |
ResultSet.Builder |
clear() |
ResultSet.Builder |
clearField(Descriptors.FieldDescriptor field) |
ResultSet.Builder |
clearMetadata()
Metadata about the result set, such as row type information.
|
ResultSet.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
ResultSet.Builder |
clearRows()
Each element in `rows` is a row whose format is defined by
[metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type].
|
ResultSet.Builder |
clearStats()
Query plan and execution statistics for the SQL statement that
produced this result set.
|
ResultSet.Builder |
clone() |
ResultSet |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
ResultSetMetadata |
getMetadata()
Metadata about the result set, such as row type information.
|
ResultSetMetadata.Builder |
getMetadataBuilder()
Metadata about the result set, such as row type information.
|
ResultSetMetadataOrBuilder |
getMetadataOrBuilder()
Metadata about the result set, such as row type information.
|
ListValue |
getRows(int index)
Each element in `rows` is a row whose format is defined by
[metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type].
|
ListValue.Builder |
getRowsBuilder(int index)
Each element in `rows` is a row whose format is defined by
[metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type].
|
List<ListValue.Builder> |
getRowsBuilderList()
Each element in `rows` is a row whose format is defined by
[metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type].
|
int |
getRowsCount()
Each element in `rows` is a row whose format is defined by
[metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type].
|
List<ListValue> |
getRowsList()
Each element in `rows` is a row whose format is defined by
[metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type].
|
ListValueOrBuilder |
getRowsOrBuilder(int index)
Each element in `rows` is a row whose format is defined by
[metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type].
|
List<? extends ListValueOrBuilder> |
getRowsOrBuilderList()
Each element in `rows` is a row whose format is defined by
[metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type].
|
ResultSetStats |
getStats()
Query plan and execution statistics for the SQL statement that
produced this result set.
|
ResultSetStats.Builder |
getStatsBuilder()
Query plan and execution statistics for the SQL statement that
produced this result set.
|
ResultSetStatsOrBuilder |
getStatsOrBuilder()
Query plan and execution statistics for the SQL statement that
produced this result set.
|
boolean |
hasMetadata()
Metadata about the result set, such as row type information.
|
boolean |
hasStats()
Query plan and execution statistics for the SQL statement that
produced this result set.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ResultSet.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ResultSet.Builder |
mergeFrom(Message other) |
ResultSet.Builder |
mergeFrom(ResultSet other) |
ResultSet.Builder |
mergeMetadata(ResultSetMetadata value)
Metadata about the result set, such as row type information.
|
ResultSet.Builder |
mergeStats(ResultSetStats value)
Query plan and execution statistics for the SQL statement that
produced this result set.
|
ResultSet.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
ResultSet.Builder |
removeRows(int index)
Each element in `rows` is a row whose format is defined by
[metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type].
|
ResultSet.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
ResultSet.Builder |
setMetadata(ResultSetMetadata.Builder builderForValue)
Metadata about the result set, such as row type information.
|
ResultSet.Builder |
setMetadata(ResultSetMetadata value)
Metadata about the result set, such as row type information.
|
ResultSet.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
ResultSet.Builder |
setRows(int index,
ListValue.Builder builderForValue)
Each element in `rows` is a row whose format is defined by
[metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type].
|
ResultSet.Builder |
setRows(int index,
ListValue value)
Each element in `rows` is a row whose format is defined by
[metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type].
|
ResultSet.Builder |
setStats(ResultSetStats.Builder builderForValue)
Query plan and execution statistics for the SQL statement that
produced this result set.
|
ResultSet.Builder |
setStats(ResultSetStats value)
Query plan and execution statistics for the SQL statement that
produced this result set.
|
ResultSet.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ResultSet.Builder>
public ResultSet.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ResultSet.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ResultSet.Builder>
public ResultSet getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ResultSet build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ResultSet buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ResultSet.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ResultSet.Builder>
public ResultSet.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ResultSet.Builder>
public ResultSet.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ResultSet.Builder>
public ResultSet.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ResultSet.Builder>
public ResultSet.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ResultSet.Builder>
public ResultSet.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ResultSet.Builder>
public ResultSet.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ResultSet.Builder>
public ResultSet.Builder mergeFrom(ResultSet other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ResultSet.Builder>
public ResultSet.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ResultSet.Builder>
IOException
public boolean hasMetadata()
Metadata about the result set, such as row type information.
.google.spanner.v1.ResultSetMetadata metadata = 1;
hasMetadata
in interface ResultSetOrBuilder
public ResultSetMetadata getMetadata()
Metadata about the result set, such as row type information.
.google.spanner.v1.ResultSetMetadata metadata = 1;
getMetadata
in interface ResultSetOrBuilder
public ResultSet.Builder setMetadata(ResultSetMetadata value)
Metadata about the result set, such as row type information.
.google.spanner.v1.ResultSetMetadata metadata = 1;
public ResultSet.Builder setMetadata(ResultSetMetadata.Builder builderForValue)
Metadata about the result set, such as row type information.
.google.spanner.v1.ResultSetMetadata metadata = 1;
public ResultSet.Builder mergeMetadata(ResultSetMetadata value)
Metadata about the result set, such as row type information.
.google.spanner.v1.ResultSetMetadata metadata = 1;
public ResultSet.Builder clearMetadata()
Metadata about the result set, such as row type information.
.google.spanner.v1.ResultSetMetadata metadata = 1;
public ResultSetMetadata.Builder getMetadataBuilder()
Metadata about the result set, such as row type information.
.google.spanner.v1.ResultSetMetadata metadata = 1;
public ResultSetMetadataOrBuilder getMetadataOrBuilder()
Metadata about the result set, such as row type information.
.google.spanner.v1.ResultSetMetadata metadata = 1;
getMetadataOrBuilder
in interface ResultSetOrBuilder
public List<ListValue> getRowsList()
Each element in `rows` is a row whose format is defined by [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element in each row matches the ith field in [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. Elements are encoded based on type as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue rows = 2;
getRowsList
in interface ResultSetOrBuilder
public int getRowsCount()
Each element in `rows` is a row whose format is defined by [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element in each row matches the ith field in [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. Elements are encoded based on type as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue rows = 2;
getRowsCount
in interface ResultSetOrBuilder
public ListValue getRows(int index)
Each element in `rows` is a row whose format is defined by [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element in each row matches the ith field in [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. Elements are encoded based on type as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue rows = 2;
getRows
in interface ResultSetOrBuilder
public ResultSet.Builder setRows(int index, ListValue value)
Each element in `rows` is a row whose format is defined by [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element in each row matches the ith field in [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. Elements are encoded based on type as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue rows = 2;
public ResultSet.Builder setRows(int index, ListValue.Builder builderForValue)
Each element in `rows` is a row whose format is defined by [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element in each row matches the ith field in [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. Elements are encoded based on type as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue rows = 2;
public ResultSet.Builder addRows(ListValue value)
Each element in `rows` is a row whose format is defined by [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element in each row matches the ith field in [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. Elements are encoded based on type as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue rows = 2;
public ResultSet.Builder addRows(int index, ListValue value)
Each element in `rows` is a row whose format is defined by [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element in each row matches the ith field in [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. Elements are encoded based on type as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue rows = 2;
public ResultSet.Builder addRows(ListValue.Builder builderForValue)
Each element in `rows` is a row whose format is defined by [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element in each row matches the ith field in [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. Elements are encoded based on type as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue rows = 2;
public ResultSet.Builder addRows(int index, ListValue.Builder builderForValue)
Each element in `rows` is a row whose format is defined by [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element in each row matches the ith field in [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. Elements are encoded based on type as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue rows = 2;
public ResultSet.Builder addAllRows(Iterable<? extends ListValue> values)
Each element in `rows` is a row whose format is defined by [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element in each row matches the ith field in [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. Elements are encoded based on type as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue rows = 2;
public ResultSet.Builder clearRows()
Each element in `rows` is a row whose format is defined by [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element in each row matches the ith field in [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. Elements are encoded based on type as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue rows = 2;
public ResultSet.Builder removeRows(int index)
Each element in `rows` is a row whose format is defined by [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element in each row matches the ith field in [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. Elements are encoded based on type as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue rows = 2;
public ListValue.Builder getRowsBuilder(int index)
Each element in `rows` is a row whose format is defined by [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element in each row matches the ith field in [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. Elements are encoded based on type as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue rows = 2;
public ListValueOrBuilder getRowsOrBuilder(int index)
Each element in `rows` is a row whose format is defined by [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element in each row matches the ith field in [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. Elements are encoded based on type as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue rows = 2;
getRowsOrBuilder
in interface ResultSetOrBuilder
public List<? extends ListValueOrBuilder> getRowsOrBuilderList()
Each element in `rows` is a row whose format is defined by [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element in each row matches the ith field in [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. Elements are encoded based on type as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue rows = 2;
getRowsOrBuilderList
in interface ResultSetOrBuilder
public ListValue.Builder addRowsBuilder()
Each element in `rows` is a row whose format is defined by [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element in each row matches the ith field in [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. Elements are encoded based on type as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue rows = 2;
public ListValue.Builder addRowsBuilder(int index)
Each element in `rows` is a row whose format is defined by [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element in each row matches the ith field in [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. Elements are encoded based on type as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue rows = 2;
public List<ListValue.Builder> getRowsBuilderList()
Each element in `rows` is a row whose format is defined by [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. The ith element in each row matches the ith field in [metadata.row_type][google.spanner.v1.ResultSetMetadata.row_type]. Elements are encoded based on type as described [here][google.spanner.v1.TypeCode].
repeated .google.protobuf.ListValue rows = 2;
public boolean hasStats()
Query plan and execution statistics for the SQL statement that produced this result set. These can be requested by setting [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode]. DML statements always produce stats containing the number of rows modified, unless executed using the [ExecuteSqlRequest.QueryMode.PLAN][google.spanner.v1.ExecuteSqlRequest.QueryMode.PLAN] [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode]. Other fields may or may not be populated, based on the [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode].
.google.spanner.v1.ResultSetStats stats = 3;
hasStats
in interface ResultSetOrBuilder
public ResultSetStats getStats()
Query plan and execution statistics for the SQL statement that produced this result set. These can be requested by setting [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode]. DML statements always produce stats containing the number of rows modified, unless executed using the [ExecuteSqlRequest.QueryMode.PLAN][google.spanner.v1.ExecuteSqlRequest.QueryMode.PLAN] [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode]. Other fields may or may not be populated, based on the [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode].
.google.spanner.v1.ResultSetStats stats = 3;
getStats
in interface ResultSetOrBuilder
public ResultSet.Builder setStats(ResultSetStats value)
Query plan and execution statistics for the SQL statement that produced this result set. These can be requested by setting [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode]. DML statements always produce stats containing the number of rows modified, unless executed using the [ExecuteSqlRequest.QueryMode.PLAN][google.spanner.v1.ExecuteSqlRequest.QueryMode.PLAN] [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode]. Other fields may or may not be populated, based on the [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode].
.google.spanner.v1.ResultSetStats stats = 3;
public ResultSet.Builder setStats(ResultSetStats.Builder builderForValue)
Query plan and execution statistics for the SQL statement that produced this result set. These can be requested by setting [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode]. DML statements always produce stats containing the number of rows modified, unless executed using the [ExecuteSqlRequest.QueryMode.PLAN][google.spanner.v1.ExecuteSqlRequest.QueryMode.PLAN] [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode]. Other fields may or may not be populated, based on the [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode].
.google.spanner.v1.ResultSetStats stats = 3;
public ResultSet.Builder mergeStats(ResultSetStats value)
Query plan and execution statistics for the SQL statement that produced this result set. These can be requested by setting [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode]. DML statements always produce stats containing the number of rows modified, unless executed using the [ExecuteSqlRequest.QueryMode.PLAN][google.spanner.v1.ExecuteSqlRequest.QueryMode.PLAN] [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode]. Other fields may or may not be populated, based on the [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode].
.google.spanner.v1.ResultSetStats stats = 3;
public ResultSet.Builder clearStats()
Query plan and execution statistics for the SQL statement that produced this result set. These can be requested by setting [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode]. DML statements always produce stats containing the number of rows modified, unless executed using the [ExecuteSqlRequest.QueryMode.PLAN][google.spanner.v1.ExecuteSqlRequest.QueryMode.PLAN] [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode]. Other fields may or may not be populated, based on the [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode].
.google.spanner.v1.ResultSetStats stats = 3;
public ResultSetStats.Builder getStatsBuilder()
Query plan and execution statistics for the SQL statement that produced this result set. These can be requested by setting [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode]. DML statements always produce stats containing the number of rows modified, unless executed using the [ExecuteSqlRequest.QueryMode.PLAN][google.spanner.v1.ExecuteSqlRequest.QueryMode.PLAN] [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode]. Other fields may or may not be populated, based on the [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode].
.google.spanner.v1.ResultSetStats stats = 3;
public ResultSetStatsOrBuilder getStatsOrBuilder()
Query plan and execution statistics for the SQL statement that produced this result set. These can be requested by setting [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode]. DML statements always produce stats containing the number of rows modified, unless executed using the [ExecuteSqlRequest.QueryMode.PLAN][google.spanner.v1.ExecuteSqlRequest.QueryMode.PLAN] [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode]. Other fields may or may not be populated, based on the [ExecuteSqlRequest.query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode].
.google.spanner.v1.ResultSetStats stats = 3;
getStatsOrBuilder
in interface ResultSetOrBuilder
public final ResultSet.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ResultSet.Builder>
public final ResultSet.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ResultSet.Builder>
Copyright © 2022 Google LLC. All rights reserved.