QueryNodeProcessor

A QueryNodeProcessor is an interface for classes that process a QueryNode tree.

The implementor of this class should perform some operation on a query node tree and return the same or another query node tree.

It also may carry a QueryConfigHandler object that contains configuration about the query represented by the query tree or the collection/index where it's intended to be executed.

In case there is any QueryConfigHandler associated to the query tree to be processed, it should be set using queryConfigHandler before process is invoked.

See also

Inheritors

Properties

Link copied to clipboard

Sets and returns the QueryConfigHandler associated to the query tree.

Functions

Link copied to clipboard
abstract fun process(queryTree: QueryNode): QueryNode

Processes a query node tree. It may return the same or another query tree. I should never return null.