Class: Google::Spanner::V1::ResultSet
- Inherits:
-
Object
- Object
- Google::Spanner::V1::ResultSet
- Defined in:
- lib/google/cloud/spanner/v1/doc/google/spanner/v1/result_set.rb
Overview
Results from Read or ExecuteSql.
Instance Attribute Summary collapse
-
#metadata ⇒ Google::Spanner::V1::ResultSetMetadata
Metadata about the result set, such as row type information.
-
#rows ⇒ Array<Google::Protobuf::ListValue>
Each element in +rows+ is a row whose format is defined by Metadata::Row_type.
-
#stats ⇒ Google::Spanner::V1::ResultSetStats
Query plan and execution statistics for the query that produced this result set.
Instance Attribute Details
#metadata ⇒ Google::Spanner::V1::ResultSetMetadata
Returns Metadata about the result set, such as row type information.
36 |
# File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/result_set.rb', line 36 class ResultSet; end |
#rows ⇒ Array<Google::Protobuf::ListValue>
Returns Each element in +rows+ is a row whose format is defined by Metadata::Row_type. The ith element in each row matches the ith field in Metadata::Row_type. Elements are encoded based on type as described Here.
36 |
# File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/result_set.rb', line 36 class ResultSet; end |
#stats ⇒ Google::Spanner::V1::ResultSetStats
Returns Query plan and execution statistics for the query that produced this result set. These can be requested by setting ExecuteSqlRequest#query_mode.
36 |
# File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/result_set.rb', line 36 class ResultSet; end |