public class CMISQLtoNXQL.GeneratingWalker extends org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
Modifier and Type | Field and Description |
---|---|
StringBuilder |
buf |
boolean |
distinct |
static String |
NX_FULLTEXT_INDEX_PREFIX |
Constructor and Description |
---|
GeneratingWalker() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.chemistry.opencmis.server.support.query.ColumnReference |
getColumnReference(org.antlr.runtime.tree.Tree node) |
Boolean |
walkAnd(org.antlr.runtime.tree.Tree opNode,
org.antlr.runtime.tree.Tree leftNode,
org.antlr.runtime.tree.Tree rightNode) |
protected void |
walkAny(org.antlr.runtime.tree.Tree colNode,
String op,
org.antlr.runtime.tree.Tree exprNode) |
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) |
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) |
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) |
protected Boolean |
walkIsNullOrIsNotNull(org.antlr.runtime.tree.Tree colNode,
boolean isNull) |
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) |
Object |
walkString(org.antlr.runtime.tree.Tree node) |
Object |
walkTimestamp(org.antlr.runtime.tree.Tree node) |
public static final String NX_FULLTEXT_INDEX_PREFIX
public StringBuilder buf
public boolean distinct
public GeneratingWalker()
public Boolean walkNot(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree node)
walkNot
in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
walkNot
in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
public Boolean walkAnd(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
walkAnd
in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
walkAnd
in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
public Boolean walkOr(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
walkOr
in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
walkOr
in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
public Boolean walkEquals(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
walkEquals
in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
walkEquals
in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
public Boolean walkNotEquals(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
walkNotEquals
in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
walkNotEquals
in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
public Boolean walkGreaterThan(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
walkGreaterThan
in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
walkGreaterThan
in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
public Boolean walkGreaterOrEquals(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
walkGreaterOrEquals
in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
walkGreaterOrEquals
in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
public Boolean walkLessThan(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
walkLessThan
in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
walkLessThan
in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
public Boolean walkLessOrEquals(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
walkLessOrEquals
in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
walkLessOrEquals
in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
public Boolean walkIn(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode, org.antlr.runtime.tree.Tree listNode)
walkIn
in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
walkIn
in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
public Boolean walkNotIn(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode, org.antlr.runtime.tree.Tree listNode)
walkNotIn
in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
walkNotIn
in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
public Boolean walkInAny(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode, org.antlr.runtime.tree.Tree listNode)
walkInAny
in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
walkInAny
in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
public Boolean walkNotInAny(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode, org.antlr.runtime.tree.Tree listNode)
walkNotInAny
in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
walkNotInAny
in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
public Boolean walkEqAny(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree literalNode, org.antlr.runtime.tree.Tree colNode)
walkEqAny
in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
walkEqAny
in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
protected void walkAny(org.antlr.runtime.tree.Tree colNode, String op, org.antlr.runtime.tree.Tree exprNode)
public Boolean walkIsNull(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode)
walkIsNull
in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
walkIsNull
in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
public Boolean walkIsNotNull(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode)
walkIsNotNull
in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
walkIsNotNull
in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
protected Boolean walkIsNullOrIsNotNull(org.antlr.runtime.tree.Tree colNode, boolean isNull)
public Boolean walkLike(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode, org.antlr.runtime.tree.Tree stringNode)
walkLike
in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
walkLike
in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
public Boolean walkNotLike(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode, org.antlr.runtime.tree.Tree stringNode)
walkNotLike
in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
walkNotLike
in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
public Boolean walkContains(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree qualNode, org.antlr.runtime.tree.Tree queryNode)
walkContains
in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
walkContains
in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
public Boolean walkInFolder(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree qualNode, org.antlr.runtime.tree.Tree paramNode)
walkInFolder
in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
walkInFolder
in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
public Boolean walkInTree(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree qualNode, org.antlr.runtime.tree.Tree paramNode)
walkInTree
in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
walkInTree
in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
public Object walkList(org.antlr.runtime.tree.Tree node)
walkList
in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
walkList
in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
public Object walkBoolean(org.antlr.runtime.tree.Tree node)
walkBoolean
in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
walkBoolean
in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
public Object walkNumber(org.antlr.runtime.tree.Tree node)
walkNumber
in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
walkNumber
in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
public Object walkString(org.antlr.runtime.tree.Tree node)
walkString
in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
walkString
in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
public Object walkTimestamp(org.antlr.runtime.tree.Tree node)
walkTimestamp
in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
walkTimestamp
in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
public Object walkCol(org.antlr.runtime.tree.Tree node)
walkCol
in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
walkCol
in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
protected org.apache.chemistry.opencmis.server.support.query.ColumnReference getColumnReference(org.antlr.runtime.tree.Tree node)
Copyright © 2015 Nuxeo SA. All rights reserved.