SearchQueryPrinter class

Prints Filter trees in our search query language.

The language is very similar to Lucene query language. For a description of the language, see SearchQueryParser.

final printer = SearchQueryPrinter();
filter.acceptVisitor(printer);
final source = printer.toString();
Inheritance

Constructors

SearchQueryPrinter()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override
visitAndFilter(AndFilter filter, Null context) → void
override
visitGeoPointFilter(GeoPointFilter filter, Null context) → void
override
visitKeywordFilter(KeywordFilter filter, Null context) → void
override
visitListFilter(ListFilter filter, Null context) → void
override
visitMapFilter(MapFilter filter, Null context) → void
override
visitNotFilter(NotFilter filter, Null context) → void
override
visitOrFilter(OrFilter filter, Null context) → void
override
visitRangeFilter(RangeFilter filter, Null context) → void
override
visitRegExpFilter(RegExpFilter filter, Null context) → void
override
visitSqlFilter(SqlFilter filter, Null context) → void
override
visitValueFilter(ValueFilter filter, Null context) → void
override
write(Object value) → void
writeStringValue(String value) → void
writeValue(Object value) → void

Operators

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