public abstract class AbstractPredicateWalker extends Object implements PredicateWalker
The walkXYZ
methods can be overridden to change the walking order.
Constructor and Description |
---|
AbstractPredicateWalker() |
Modifier and Type | Method and Description |
---|---|
Boolean |
walkAnd(org.antlr.runtime.tree.Tree opNode,
org.antlr.runtime.tree.Tree leftNode,
org.antlr.runtime.tree.Tree rightNode) |
Object |
walkBoolean(org.antlr.runtime.tree.Tree node) |
Object |
walkCol(org.antlr.runtime.tree.Tree node) |
Boolean |
walkContains(org.antlr.runtime.tree.Tree opNode,
org.antlr.runtime.tree.Tree qualNode,
org.antlr.runtime.tree.Tree queryNode) |
Boolean |
walkEqAny(org.antlr.runtime.tree.Tree opNode,
org.antlr.runtime.tree.Tree literalNode,
org.antlr.runtime.tree.Tree colNode) |
Boolean |
walkEquals(org.antlr.runtime.tree.Tree opNode,
org.antlr.runtime.tree.Tree leftNode,
org.antlr.runtime.tree.Tree rightNode) |
Object |
walkExpr(org.antlr.runtime.tree.Tree node) |
Boolean |
walkGreaterOrEquals(org.antlr.runtime.tree.Tree opNode,
org.antlr.runtime.tree.Tree leftNode,
org.antlr.runtime.tree.Tree rightNode) |
Boolean |
walkGreaterThan(org.antlr.runtime.tree.Tree opNode,
org.antlr.runtime.tree.Tree leftNode,
org.antlr.runtime.tree.Tree rightNode) |
Object |
walkId(org.antlr.runtime.tree.Tree node) |
Boolean |
walkIn(org.antlr.runtime.tree.Tree opNode,
org.antlr.runtime.tree.Tree colNode,
org.antlr.runtime.tree.Tree listNode) |
Boolean |
walkInAny(org.antlr.runtime.tree.Tree opNode,
org.antlr.runtime.tree.Tree colNode,
org.antlr.runtime.tree.Tree listNode) |
Boolean |
walkInFolder(org.antlr.runtime.tree.Tree opNode,
org.antlr.runtime.tree.Tree qualNode,
org.antlr.runtime.tree.Tree paramNode) |
Boolean |
walkInTree(org.antlr.runtime.tree.Tree opNode,
org.antlr.runtime.tree.Tree qualNode,
org.antlr.runtime.tree.Tree paramNode) |
Boolean |
walkIsNotNull(org.antlr.runtime.tree.Tree opNode,
org.antlr.runtime.tree.Tree colNode) |
Boolean |
walkIsNull(org.antlr.runtime.tree.Tree opNode,
org.antlr.runtime.tree.Tree colNode) |
Boolean |
walkLessOrEquals(org.antlr.runtime.tree.Tree opNode,
org.antlr.runtime.tree.Tree leftNode,
org.antlr.runtime.tree.Tree rightNode) |
Boolean |
walkLessThan(org.antlr.runtime.tree.Tree opNode,
org.antlr.runtime.tree.Tree leftNode,
org.antlr.runtime.tree.Tree rightNode) |
Boolean |
walkLike(org.antlr.runtime.tree.Tree opNode,
org.antlr.runtime.tree.Tree colNode,
org.antlr.runtime.tree.Tree stringNode) |
Object |
walkList(org.antlr.runtime.tree.Tree node) |
Boolean |
walkNot(org.antlr.runtime.tree.Tree opNode,
org.antlr.runtime.tree.Tree node) |
Boolean |
walkNotEquals(org.antlr.runtime.tree.Tree opNode,
org.antlr.runtime.tree.Tree leftNode,
org.antlr.runtime.tree.Tree rightNode) |
Boolean |
walkNotIn(org.antlr.runtime.tree.Tree opNode,
org.antlr.runtime.tree.Tree colNode,
org.antlr.runtime.tree.Tree listNode) |
Boolean |
walkNotInAny(org.antlr.runtime.tree.Tree opNode,
org.antlr.runtime.tree.Tree colNode,
org.antlr.runtime.tree.Tree listNode) |
Boolean |
walkNotLike(org.antlr.runtime.tree.Tree opNode,
org.antlr.runtime.tree.Tree colNode,
org.antlr.runtime.tree.Tree stringNode) |
Object |
walkNumber(org.antlr.runtime.tree.Tree node) |
Boolean |
walkOr(org.antlr.runtime.tree.Tree opNode,
org.antlr.runtime.tree.Tree leftNode,
org.antlr.runtime.tree.Tree rightNode) |
protected Object |
walkOtherExpr(org.antlr.runtime.tree.Tree node)
For extensibility.
|
protected Boolean |
walkOtherPredicate(org.antlr.runtime.tree.Tree node)
For extensibility.
|
Boolean |
walkPredicate(org.antlr.runtime.tree.Tree node) |
protected Boolean |
walkScore(org.antlr.runtime.tree.Tree node) |
Boolean |
walkSearchExpr(org.antlr.runtime.tree.Tree node) |
Object |
walkString(org.antlr.runtime.tree.Tree node) |
protected Boolean |
walkTextAnd(org.antlr.runtime.tree.Tree node) |
protected Boolean |
walkTextMinus(org.antlr.runtime.tree.Tree node) |
protected Boolean |
walkTextOr(org.antlr.runtime.tree.Tree node) |
protected Boolean |
walkTextPhrase(org.antlr.runtime.tree.Tree node) |
protected Boolean |
walkTextWord(org.antlr.runtime.tree.Tree node) |
Object |
walkTimestamp(org.antlr.runtime.tree.Tree node) |
public Boolean walkPredicate(org.antlr.runtime.tree.Tree node)
walkPredicate
in interface PredicateWalkerBase
protected Boolean walkOtherPredicate(org.antlr.runtime.tree.Tree node)
public Boolean walkNot(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree node)
walkNot
in interface PredicateWalker
public Boolean walkAnd(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
walkAnd
in interface PredicateWalker
public Boolean walkOr(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
walkOr
in interface PredicateWalker
public Object walkExpr(org.antlr.runtime.tree.Tree node)
walkExpr
in interface PredicateWalker
public Boolean walkSearchExpr(org.antlr.runtime.tree.Tree node)
protected Object walkOtherExpr(org.antlr.runtime.tree.Tree node)
public Boolean walkEquals(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
walkEquals
in interface PredicateWalker
public Boolean walkNotEquals(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
walkNotEquals
in interface PredicateWalker
public Boolean walkGreaterThan(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
walkGreaterThan
in interface PredicateWalker
public Boolean walkGreaterOrEquals(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
walkGreaterOrEquals
in interface PredicateWalker
public Boolean walkLessThan(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
walkLessThan
in interface PredicateWalker
public Boolean walkLessOrEquals(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
walkLessOrEquals
in interface PredicateWalker
public Boolean walkIn(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode, org.antlr.runtime.tree.Tree listNode)
walkIn
in interface PredicateWalker
public Boolean walkNotIn(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode, org.antlr.runtime.tree.Tree listNode)
walkNotIn
in interface PredicateWalker
public Boolean walkInAny(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode, org.antlr.runtime.tree.Tree listNode)
walkInAny
in interface PredicateWalker
public Boolean walkNotInAny(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode, org.antlr.runtime.tree.Tree listNode)
walkNotInAny
in interface PredicateWalker
public Boolean walkEqAny(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree literalNode, org.antlr.runtime.tree.Tree colNode)
walkEqAny
in interface PredicateWalker
public Boolean walkIsNull(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode)
walkIsNull
in interface PredicateWalker
public Boolean walkIsNotNull(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode)
walkIsNotNull
in interface PredicateWalker
public Boolean walkLike(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode, org.antlr.runtime.tree.Tree stringNode)
walkLike
in interface PredicateWalker
public Boolean walkNotLike(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode, org.antlr.runtime.tree.Tree stringNode)
walkNotLike
in interface PredicateWalker
public Boolean walkContains(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree qualNode, org.antlr.runtime.tree.Tree queryNode)
walkContains
in interface PredicateWalker
public Boolean walkInFolder(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree qualNode, org.antlr.runtime.tree.Tree paramNode)
walkInFolder
in interface PredicateWalker
public Boolean walkInTree(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree qualNode, org.antlr.runtime.tree.Tree paramNode)
walkInTree
in interface PredicateWalker
public Object walkList(org.antlr.runtime.tree.Tree node)
walkList
in interface PredicateWalker
public Object walkBoolean(org.antlr.runtime.tree.Tree node)
walkBoolean
in interface PredicateWalker
public Object walkNumber(org.antlr.runtime.tree.Tree node)
walkNumber
in interface PredicateWalker
public Object walkString(org.antlr.runtime.tree.Tree node)
walkString
in interface PredicateWalker
public Object walkTimestamp(org.antlr.runtime.tree.Tree node)
walkTimestamp
in interface PredicateWalker
public Object walkCol(org.antlr.runtime.tree.Tree node)
walkCol
in interface PredicateWalker
public Object walkId(org.antlr.runtime.tree.Tree node)
walkId
in interface PredicateWalker
protected Boolean walkTextAnd(org.antlr.runtime.tree.Tree node)
protected Boolean walkTextOr(org.antlr.runtime.tree.Tree node)
protected Boolean walkTextMinus(org.antlr.runtime.tree.Tree node)
protected Boolean walkTextWord(org.antlr.runtime.tree.Tree node)
protected Boolean walkTextPhrase(org.antlr.runtime.tree.Tree node)
protected Boolean walkScore(org.antlr.runtime.tree.Tree node)
Copyright © 2009–2017 The Apache Software Foundation. All rights reserved.