SearchCriteria class

An object that can hold all possible search criteria.

Each criteria can either be set or left blank the search will match all nonempty criteria.

Mixed in types

Constructors

SearchCriteria({String? searchPath, String? key, String? value, String? nodeValueLastModified, String? nodeValueType, String? owner})
Create a [SearchCriteria].

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
getter/setter pair
nodeValueKey String?
getter/setter pair
nodeValueLastModified String?
getter/setter pair
nodeValueType String?
getter/setter pair
nodeValueValue String?
getter/setter pair
owner String?
getter/setter pair
path String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values Map<Field, String>
final
visibility String
getter/setter pair

Methods

compareTo(SearchCriteria other) int
Compares this object to another object.
override
equals(Object o) bool
evaluate(Node node) Future<bool>
Evaluates a provided node against this criteria.
get(Field f) String?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(Field f, String value) → void
toByteArrayStream(ByteSink out) → void
Writes the current object to the output stream.
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

compareSearchResult(List<Node>? result1, List<Node>? result2) bool
compares two list of nodes for equality.
fromByteArrayStream(ByteStream in_) Future<SearchCriteria>
Static deserializer to create a new SearchCriteria from a ByteStream.
override
searchResultHash(List<Node>? result1) String
Encodes the search result hash as hex based string.
searchResultHashRaw(List<Node>? result1) List<int>
Encodes a search result as list of bytes.

Constants

serialversionUID → const int