ElasticEngine class
An object representing an Elastic engine
Constructors
- ElasticEngine({required String name, required ElasticAppSearch service})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name must fit one of the engines created in your Elastic deployment
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- service → ElasticAppSearch
-
An instance of ElasticAppSearch is required to handle queries through the object
final
Methods
-
get(
ElasticQuery query, [CancelToken? cancelToken]) → Future< ElasticResponse> - Executes the given query on this engine
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
query(
String query) → ElasticQuery - Creates a ElasticQuery object related to this engine
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited