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