QueryResultBatch class

A batch of results produced by a query.

Constructors

QueryResultBatch()
QueryResultBatch.fromJson(Map _json)

Properties

endCursor String
A cursor that points to the position after the last result in the batch.
read / write
endCursorAsBytes List<int>
read / write
entityResults List<EntityResult>
The results for this batch.
read / write
entityResultType String
The result type for every entity in entity_results. Possible string values are: [...]
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
moreResults String
The state of the query after the current batch. Possible string values are: [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
skippedCursor String
A cursor that points to the position after the last skipped result. Will be set when skipped_results != 0.
read / write
skippedCursorAsBytes List<int>
read / write
skippedResults int
The number of results skipped, typically because of an offset.
read / write
snapshotVersion String
The version number of the snapshot this batch was returned from. This applies to the range of results from the query's start_cursor (or the beginning of the query if no cursor was given) to this batch's end_cursor (not the query's end_cursor). In a single transaction, subsequent query result batches for the same query can have a greater snapshot version number. Each batch's snapshot version is valid for all preceding batches. The value will be zero for eventually consistent queries.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited