QueryResultMultiBatchItem class
One fetch batch from a streaming multi-result query.
Unlike QueryResultMultiItem, a result-set item here represents only the rows from one native fetch batch. This keeps consumption bounded by the configured fetch size. isContinuationBatch identifies batches after the first one for the same SQL cursor.
Constructors
- QueryResultMultiBatchItem.resultSet(QueryResult? resultSet, {bool isContinuationBatch = false})
-
Creates a result-set batch.
const
- QueryResultMultiBatchItem.rowCount(int? rowCount)
-
Creates an affected-row-count item.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isContinuationBatch → bool
-
Whether this result-set batch continues the preceding cursor.
final
- isResultSet → bool
-
Returns true when this item contains a result-set batch.
no setter
- isRowCount → bool
-
Returns true when this item contains a row count.
no setter
- resultSet → QueryResult?
-
Rows decoded for this fetch batch, when the item represents a cursor.
final
- rowCount → int?
-
Affected rows, when the item represents a DML result.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited