HFilter class abstract
HFilter models a parsed tag query string.
@see Project Haystack
- Implementers
Properties
- hashCode → int
-
Hash code is based on string encoding.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
and(
HFilter that) → HFilter - Returns a query which is the logical-and of this and that query.
-
include(
HDict dict, Pather pather) → bool - /////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////// Returns if given tags entity matches this query.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
or(
HFilter that) → HFilter - Returns a query which is the logical-or of this and that query.
-
toStr(
) → String - Used to lazily build toString.
-
toString(
) → String -
String encoding.
override
Operators
-
operator ==(
Object that) → bool -
Equality is based on string encoding.
override
Static Methods
-
eq(
String path, HVal val) → HFilter - Match records which have a tag are equal to the specified value.
-
ge(
String path, HVal val) → HFilter - Match records which have tags greater than or equal to specified value.
-
gt(
String path, HVal val) → HFilter - Match records which have tags greater than specified value.
-
has(
String path) → HFilter - /////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////// Match records which have the specified tag path defined.
-
le(
String path, HVal val) → HFilter - Match records which have tags less than or equals to specified value.
-
lt(
String path, HVal val) → HFilter - Match records which have tags less than the specified value.
-
missing(
String path) → HFilter - Match records which do not define the specified tag path.
-
ne(
String path, HVal val) → HFilter - Match records which have a tag not equal to the specified value.
-
parse(
String s, [bool checked = true]) → HFilter? - /////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////// Decode a string into a HFilter; return null or throw ParseError if not formatted correctly.