PartialResultSet class

Partial results from a streaming read or SQL query.

Streaming reads and SQL queries better tolerate large result sets, large rows, and large values, but are a little trickier to consume.

Constructors

PartialResultSet({bool? chunkedValue, bool? last, ResultSetMetadata? metadata, MultiplexedSessionPrecommitToken? precommitToken, String? resumeToken, ResultSetStats? stats, List<Object?>? values})
PartialResultSet.fromJson(Map json_)

Properties

chunkedValue ↔ bool?
If true, then the final value in values is chunked, and must be combined with more values from subsequent PartialResultSets to obtain a complete field value.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
last ↔ bool?
Indicates whether this is the last PartialResultSet in the stream.
getter/setter pair
metadata ↔ ResultSetMetadata?
Metadata about the result set, such as row type information.
getter/setter pair
precommitToken ↔ MultiplexedSessionPrecommitToken?
A precommit token is included if the read-write transaction has multiplexed sessions enabled.
getter/setter pair
resumeToken ↔ String?
Streaming calls might be interrupted for a variety of reasons, such as TCP connection loss.
getter/setter pair
resumeTokenAsBytes ↔ List<int>
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stats ↔ ResultSetStats?
Query plan and execution statistics for the statement that produced this streaming result set.
getter/setter pair
values ↔ List<Object?>?
A streamed result set consists of a stream of values, which might be split into many PartialResultSet messages to accommodate large rows and/or large values.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited