Interface QueryTreeVisitor<T extends QueryTreeContext<T>>
- Type Parameters:
T- the type of the context object accompanying visited tree nodes.
public interface QueryTreeVisitor<T extends QueryTreeContext<T>>
Defines an interface of the visitor invoked by the walker.
-
Method Summary
Modifier and TypeMethodDescriptionvoidvisitConjunction(org.antlr.runtime.tree.Tree node, T context) Visits a node that represents a conjunction (logical and) of conditions.voidvisitContains(org.antlr.runtime.tree.Tree node, T context) Visits a node that represents that a field must contain a value.voidvisitDisjunction(org.antlr.runtime.tree.Tree node, T context) Visits a node that represents a disjunction (logical or) of conditions.voidvisitEqual(org.antlr.runtime.tree.Tree node, T context) Visits a node that represents that a field value must be greater than or equal to some specified value.voidvisitFunction(org.antlr.runtime.tree.Tree node, T context) Visits a node that represents a function computed on some arguments.voidvisitFuzzy(org.antlr.runtime.tree.Tree node, T context) Visits a node that represents a text field that is subject to query rewrite.voidvisitGlobal(org.antlr.runtime.tree.Tree node, T context) Visits a node that represents a global field.voidvisitGreaterOrEqual(org.antlr.runtime.tree.Tree node, T context) Visits a node that represents an inequality between a field and value.voidvisitGreaterThan(org.antlr.runtime.tree.Tree node, T context) Visits a node that represents that a field value must be greater than some specified value.voidvisitLessOrEqual(org.antlr.runtime.tree.Tree node, T context) Visits a node that represents that a field value must be less than or equal to some specified value.voidvisitLessThan(org.antlr.runtime.tree.Tree node, T context) Visits a node that represents that a field value must be less than some specified value.voidvisitLiteral(org.antlr.runtime.tree.Tree node, T context) Visits a node that represents a text field that must not be altered.voidvisitNegation(org.antlr.runtime.tree.Tree node, T context) Visits a node that represents a negation of conditions.voidvisitOther(org.antlr.runtime.tree.Tree node, T context) Catch-all method for future type of query nodes.voidvisitSequence(org.antlr.runtime.tree.Tree node, T context) Visits a node that represents a sequence of expressions.voidvisitValue(org.antlr.runtime.tree.Tree node, T context) Visits a node that represents a constant value.
-
Method Details
-
visitSequence
Visits a node that represents a sequence of expressions. -
visitConjunction
Visits a node that represents a conjunction (logical and) of conditions. -
visitDisjunction
Visits a node that represents a disjunction (logical or) of conditions. -
visitNegation
Visits a node that represents a negation of conditions. -
visitFuzzy
Visits a node that represents a text field that is subject to query rewrite. -
visitLiteral
Visits a node that represents a text field that must not be altered. -
visitLessThan
Visits a node that represents that a field value must be less than some specified value. -
visitLessOrEqual
Visits a node that represents that a field value must be less than or equal to some specified value. -
visitGreaterThan
Visits a node that represents that a field value must be greater than some specified value. -
visitGreaterOrEqual
Visits a node that represents an inequality between a field and value. -
visitEqual
Visits a node that represents that a field value must be greater than or equal to some specified value. -
visitContains
Visits a node that represents that a field must contain a value. -
visitValue
Visits a node that represents a constant value. -
visitFunction
Visits a node that represents a function computed on some arguments. -
visitGlobal
Visits a node that represents a global field. -
visitOther
Catch-all method for future type of query nodes.
-