RelationalQuery class
Represents a query with relational operators
.
Relational queries compare a value at a specific position in the model
(given by jsonPointer) to an actual value (value). See
_RelationalOperatorType
for all comparison methods.
EXISTS
and IN
are relational operators too, but have different args,
so see EXISTS and IN for details.
For more information about relational operators in RQL refer to the Ditto docs.
Constructors
- RelationalQuery.new(String jsonPointer, _RelationalOperatorType type, Val value)
-
Creates a new RelationalQuery of
type
with the givenjsonPointer
and the comparisonvalue
.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- jsonPointer ↔ String
-
The JSON Pointer to the value in the model.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ _RelationalOperatorType
-
The method of comparison between the values.
getter/setter pair
- value ↔ Val
-
The value to which the value at jsonPointer is compared to.
getter/setter pair
Methods
-
generateString(
) → String -
Returns the stored information in this
QueryParam
ready to use in a request. -
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