Interface QueryTreeVisitor<T> (2.0.0)

public interface QueryTreeVisitor<T>

Defines an interface of the visitor invoked by the walker.

Type Parameter

NameDescription
T

Methods

visitConjunction(Tree node, T context)

public abstract void visitConjunction(Tree node, T context)

Visits a node that represents a conjunction (logical and) of conditions.

Parameters
NameDescription
nodeorg.antlr.runtime.tree.Tree
contextT

visitContains(Tree node, T context)

public abstract void visitContains(Tree node, T context)

Visits a node that represents that a field must contain a value.

Parameters
NameDescription
nodeorg.antlr.runtime.tree.Tree
contextT

visitDisjunction(Tree node, T context)

public abstract void visitDisjunction(Tree node, T context)

Visits a node that represents a disjunction (logical or) of conditions.

Parameters
NameDescription
nodeorg.antlr.runtime.tree.Tree
contextT

visitEqual(Tree node, T context)

public abstract 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.

Parameters
NameDescription
nodeorg.antlr.runtime.tree.Tree
contextT

visitFunction(Tree node, T context)

public abstract void visitFunction(Tree node, T context)

Visits a node that represents a function computed on some arguments.

Parameters
NameDescription
nodeorg.antlr.runtime.tree.Tree
contextT

visitFuzzy(Tree node, T context)

public abstract void visitFuzzy(Tree node, T context)

Visits a node that represents a text field that is subject to query rewrite.

Parameters
NameDescription
nodeorg.antlr.runtime.tree.Tree
contextT

visitGlobal(Tree node, T context)

public abstract void visitGlobal(Tree node, T context)

Visits a node that represents a global field.

Parameters
NameDescription
nodeorg.antlr.runtime.tree.Tree
contextT

visitGreaterOrEqual(Tree node, T context)

public abstract void visitGreaterOrEqual(Tree node, T context)

Visits a node that represents an inequality between a field and value.

Parameters
NameDescription
nodeorg.antlr.runtime.tree.Tree
contextT

visitGreaterThan(Tree node, T context)

public abstract void visitGreaterThan(Tree node, T context)

Visits a node that represents that a field value must be greater than some specified value.

Parameters
NameDescription
nodeorg.antlr.runtime.tree.Tree
contextT

visitLessOrEqual(Tree node, T context)

public abstract 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.

Parameters
NameDescription
nodeorg.antlr.runtime.tree.Tree
contextT

visitLessThan(Tree node, T context)

public abstract void visitLessThan(Tree node, T context)

Visits a node that represents that a field value must be less than some specified value.

Parameters
NameDescription
nodeorg.antlr.runtime.tree.Tree
contextT

visitLiteral(Tree node, T context)

public abstract void visitLiteral(Tree node, T context)

Visits a node that represents a text field that must not be altered.

Parameters
NameDescription
nodeorg.antlr.runtime.tree.Tree
contextT

visitNegation(Tree node, T context)

public abstract void visitNegation(Tree node, T context)

Visits a node that represents a negation of conditions.

Parameters
NameDescription
nodeorg.antlr.runtime.tree.Tree
contextT

visitOther(Tree node, T context)

public abstract void visitOther(Tree node, T context)

Catch-all method for future type of query nodes.

Parameters
NameDescription
nodeorg.antlr.runtime.tree.Tree
contextT

visitSequence(Tree node, T context)

public abstract void visitSequence(Tree node, T context)

Visits a node that represents a sequence of expressions.

Parameters
NameDescription
nodeorg.antlr.runtime.tree.Tree
contextT

visitValue(Tree node, T context)

public abstract void visitValue(Tree node, T context)

Visits a node that represents a constant value.

Parameters
NameDescription
nodeorg.antlr.runtime.tree.Tree
contextT