A Query query with a primarily asynchronous API.
- Implemented types
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isClosed → bool
-
Whether this resource has been closed.
no setterinherited
- jsonRepresentation → String?
-
The JSON representation of this query.
no setterinherited
- n1ql → String?
-
The N1QL string of this query.
no setterinherited
- parameters → Parameters?
-
The values with which to substitute the parameters defined in the query.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addChangeListener(
QueryChangeListener< ResultSet> listener) → Future<ListenerToken> -
Adds a
listener
to be notified of changes to the results of this query.override -
changes(
) → AsyncListenStream< QueryChange< ResultSet> > -
Returns a Stream to be notified of changes to the results of this query.
override
-
execute(
) → Future< ResultSet> -
Executes this query.
override
-
explain(
) → Future< String> -
Returns a string describing the implementation of the compiled query.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeChangeListener(
ListenerToken token) → Future< void> -
Removes a previously added change listener.
override
-
setParameters(
Parameters? value) → Future< void> -
Sets the parameters of this query.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJsonRepresentation(
AsyncDatabase database, String json) → Future< AsyncQuery> -
Creates an AsyncQuery from the Query.jsonRepresentation of a query.
override
-
fromN1ql(
AsyncDatabase database, String query) → Future< AsyncQuery> -
Creates an AsyncQuery from a N1QL
query
.override