Class CMISQLQueryMaker.GeneratingWalker

java.lang.Object
org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
org.nuxeo.ecm.core.opencmis.impl.server.CMISQLQueryMaker.GeneratingWalker
All Implemented Interfaces:
org.apache.chemistry.opencmis.server.support.query.PredicateWalker, org.apache.chemistry.opencmis.server.support.query.PredicateWalkerBase
Enclosing class:
CMISQLQueryMaker

public class CMISQLQueryMaker.GeneratingWalker extends org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
Walker of the WHERE clause that generates final SQL.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final List<Join>
    joins added by fulltext match
     
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    resolveColumn(org.antlr.runtime.tree.Tree node)
     
    org.apache.chemistry.opencmis.server.support.query.ColumnReference
    resolveColumnReference(org.antlr.runtime.tree.Tree node)
     
    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)
     
    walkBoolean(org.antlr.runtime.tree.Tree node)
     
    walkCol(org.antlr.runtime.tree.Tree node)
     
    walkContains(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree qualNode, org.antlr.runtime.tree.Tree queryNode)
     
    walkEqAny(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree literalNode, org.antlr.runtime.tree.Tree colNode)
     
    walkEquals(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
     
    protected void
    walkFacets(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNodel, org.antlr.runtime.tree.Tree literalNode)
     
    walkGreaterOrEquals(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
     
    walkGreaterThan(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
     
    walkIn(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode, org.antlr.runtime.tree.Tree listNode)
     
    walkInAny(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode, org.antlr.runtime.tree.Tree listNode)
     
    walkInFolder(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree qualNode, org.antlr.runtime.tree.Tree paramNode)
     
    walkInTree(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree qualNode, org.antlr.runtime.tree.Tree paramNode)
     
    walkIsNotNull(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode)
     
    walkIsNull(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode)
     
    protected void
    walkIsNullOrFalse(org.antlr.runtime.tree.Tree leftNode)
     
    protected Boolean
    walkIsNullOrIsNotNull(org.antlr.runtime.tree.Tree colNode, boolean isNull)
     
    walkLessOrEquals(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
     
    walkLessThan(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
     
    walkLike(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode, org.antlr.runtime.tree.Tree stringNode)
     
    walkList(org.antlr.runtime.tree.Tree node)
     
    walkNot(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree node)
     
    walkNotEquals(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
     
    walkNotIn(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode, org.antlr.runtime.tree.Tree listNode)
     
    walkNotInAny(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode, org.antlr.runtime.tree.Tree listNode)
     
    walkNotLike(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode, org.antlr.runtime.tree.Tree stringNode)
     
    walkNumber(org.antlr.runtime.tree.Tree node)
     
    walkOr(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
     
    walkString(org.antlr.runtime.tree.Tree node)
     
    walkTimestamp(org.antlr.runtime.tree.Tree node)
     

    Methods inherited from class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker

    walkExpr, walkId, walkOtherExpr, walkOtherPredicate, walkPredicate, walkScore, walkSearchExpr, walkTextAnd, walkTextMinus, walkTextOr, walkTextPhrase, walkTextWord

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • GeneratingWalker

      public GeneratingWalker()
  • Method Details

    • walkNot

      public Boolean walkNot(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree node)
      Specified by:
      walkNot in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
      Overrides:
      walkNot in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
    • walkAnd

      public Boolean walkAnd(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
      Specified by:
      walkAnd in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
      Overrides:
      walkAnd in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
    • walkOr

      public Boolean walkOr(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
      Specified by:
      walkOr in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
      Overrides:
      walkOr in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
    • walkEquals

      public Boolean walkEquals(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
      Specified by:
      walkEquals in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
      Overrides:
      walkEquals in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
    • walkNotEquals

      public Boolean walkNotEquals(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
      Specified by:
      walkNotEquals in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
      Overrides:
      walkNotEquals in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
    • walkIsNullOrFalse

      protected void walkIsNullOrFalse(org.antlr.runtime.tree.Tree leftNode)
    • walkGreaterThan

      public Boolean walkGreaterThan(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
      Specified by:
      walkGreaterThan in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
      Overrides:
      walkGreaterThan in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
    • walkGreaterOrEquals

      public Boolean walkGreaterOrEquals(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
      Specified by:
      walkGreaterOrEquals in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
      Overrides:
      walkGreaterOrEquals in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
    • walkLessThan

      public Boolean walkLessThan(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
      Specified by:
      walkLessThan in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
      Overrides:
      walkLessThan in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
    • walkLessOrEquals

      public Boolean walkLessOrEquals(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree leftNode, org.antlr.runtime.tree.Tree rightNode)
      Specified by:
      walkLessOrEquals in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
      Overrides:
      walkLessOrEquals in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
    • walkIn

      public Boolean walkIn(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode, org.antlr.runtime.tree.Tree listNode)
      Specified by:
      walkIn in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
      Overrides:
      walkIn in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
    • walkNotIn

      public Boolean walkNotIn(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode, org.antlr.runtime.tree.Tree listNode)
      Specified by:
      walkNotIn in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
      Overrides:
      walkNotIn in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
    • walkInAny

      public Boolean walkInAny(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode, org.antlr.runtime.tree.Tree listNode)
      Specified by:
      walkInAny in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
      Overrides:
      walkInAny in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
    • walkNotInAny

      public Boolean walkNotInAny(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode, org.antlr.runtime.tree.Tree listNode)
      Specified by:
      walkNotInAny in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
      Overrides:
      walkNotInAny in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
    • walkEqAny

      public Boolean walkEqAny(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree literalNode, org.antlr.runtime.tree.Tree colNode)
      Specified by:
      walkEqAny in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
      Overrides:
      walkEqAny in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
    • walkAny

      protected void walkAny(org.antlr.runtime.tree.Tree colNode, String op, org.antlr.runtime.tree.Tree exprNode)
    • walkIsNull

      public Boolean walkIsNull(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode)
      Specified by:
      walkIsNull in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
      Overrides:
      walkIsNull in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
    • walkIsNotNull

      public Boolean walkIsNotNull(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode)
      Specified by:
      walkIsNotNull in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
      Overrides:
      walkIsNotNull in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
    • walkIsNullOrIsNotNull

      protected Boolean walkIsNullOrIsNotNull(org.antlr.runtime.tree.Tree colNode, boolean isNull)
    • walkLike

      public Boolean walkLike(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode, org.antlr.runtime.tree.Tree stringNode)
      Specified by:
      walkLike in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
      Overrides:
      walkLike in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
    • walkNotLike

      public Boolean walkNotLike(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNode, org.antlr.runtime.tree.Tree stringNode)
      Specified by:
      walkNotLike in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
      Overrides:
      walkNotLike in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
    • walkContains

      public Boolean walkContains(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree qualNode, org.antlr.runtime.tree.Tree queryNode)
      Specified by:
      walkContains in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
      Overrides:
      walkContains in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
    • walkInFolder

      public Boolean walkInFolder(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree qualNode, org.antlr.runtime.tree.Tree paramNode)
      Specified by:
      walkInFolder in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
      Overrides:
      walkInFolder in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
    • walkInTree

      public Boolean walkInTree(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree qualNode, org.antlr.runtime.tree.Tree paramNode)
      Specified by:
      walkInTree in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
      Overrides:
      walkInTree in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
    • walkList

      public Object walkList(org.antlr.runtime.tree.Tree node)
      Specified by:
      walkList in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
      Overrides:
      walkList in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
    • walkBoolean

      public Object walkBoolean(org.antlr.runtime.tree.Tree node)
      Specified by:
      walkBoolean in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
      Overrides:
      walkBoolean in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
    • walkNumber

      public Object walkNumber(org.antlr.runtime.tree.Tree node)
      Specified by:
      walkNumber in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
      Overrides:
      walkNumber in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
    • walkString

      public Object walkString(org.antlr.runtime.tree.Tree node)
      Specified by:
      walkString in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
      Overrides:
      walkString in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
    • walkTimestamp

      public Object walkTimestamp(org.antlr.runtime.tree.Tree node)
      Specified by:
      walkTimestamp in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
      Overrides:
      walkTimestamp in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
    • walkCol

      public Object walkCol(org.antlr.runtime.tree.Tree node)
      Specified by:
      walkCol in interface org.apache.chemistry.opencmis.server.support.query.PredicateWalker
      Overrides:
      walkCol in class org.apache.chemistry.opencmis.server.support.query.AbstractPredicateWalker
    • resolveColumnReference

      public org.apache.chemistry.opencmis.server.support.query.ColumnReference resolveColumnReference(org.antlr.runtime.tree.Tree node)
    • resolveColumn

      public Column resolveColumn(org.antlr.runtime.tree.Tree node)
    • walkFacets

      protected void walkFacets(org.antlr.runtime.tree.Tree opNode, org.antlr.runtime.tree.Tree colNodel, org.antlr.runtime.tree.Tree literalNode)