class Google::Apis::SpannerV1::ResultSet

Results from Read or ExecuteSql.

Attributes

metadata[RW]

Metadata about a ResultSet or PartialResultSet. Corresponds to the JSON property `metadata` @return [Google::Apis::SpannerV1::ResultSetMetadata]

rows[RW]

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. Corresponds to the JSON property `rows` @return [Array<Array<Object>>]

stats[RW]

Additional statistics about a ResultSet or PartialResultSet. Corresponds to the JSON property `stats` @return [Google::Apis::SpannerV1::ResultSetStats]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/spanner_v1/classes.rb, line 3545
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/spanner_v1/classes.rb, line 3550
def update!(**args)
  @metadata = args[:metadata] if args.key?(:metadata)
  @rows = args[:rows] if args.key?(:rows)
  @stats = args[:stats] if args.key?(:stats)
end