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 TypeMethodDescriptionvoid
visitConjunction
(org.antlr.runtime.tree.Tree node, T context) Visits a node that represents a conjunction (logical and) of conditions.void
visitContains
(org.antlr.runtime.tree.Tree node, T context) Visits a node that represents that a field must contain a value.void
visitDisjunction
(org.antlr.runtime.tree.Tree node, T context) Visits a node that represents a disjunction (logical or) of conditions.void
visitEqual
(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.void
visitFunction
(org.antlr.runtime.tree.Tree node, T context) Visits a node that represents a function computed on some arguments.void
visitFuzzy
(org.antlr.runtime.tree.Tree node, T context) Visits a node that represents a text field that is subject to query rewrite.void
visitGlobal
(org.antlr.runtime.tree.Tree node, T context) Visits a node that represents a global field.void
visitGreaterOrEqual
(org.antlr.runtime.tree.Tree node, T context) Visits a node that represents an inequality between a field and value.void
visitGreaterThan
(org.antlr.runtime.tree.Tree node, T context) Visits a node that represents that a field value must be greater than some specified value.void
visitLessOrEqual
(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.void
visitLessThan
(org.antlr.runtime.tree.Tree node, T context) Visits a node that represents that a field value must be less than some specified value.void
visitLiteral
(org.antlr.runtime.tree.Tree node, T context) Visits a node that represents a text field that must not be altered.void
visitNegation
(org.antlr.runtime.tree.Tree node, T context) Visits a node that represents a negation of conditions.void
visitOther
(org.antlr.runtime.tree.Tree node, T context) Catch-all method for future type of query nodes.void
visitSequence
(org.antlr.runtime.tree.Tree node, T context) Visits a node that represents a sequence of expressions.void
visitValue
(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.
-