Class NodeFactoryImpl

  • All Implemented Interfaces:
    NodeFactory

    public class NodeFactoryImpl
    extends java.lang.Object
    implements NodeFactory
    INTERNAL

    Purpose: Implements a node factory used by the EJBQLParser class.

    Responsibilities:

    • Create EJBQLParseTree instances for EJBQL SELECT-, UPDATE- and DELETE statements (see methods newSelectStatement, newUpdateStatement and newDeleteStatement).
    • Any new method returns an instance of the appropriate Node subclass.
    • The relationship to the child nodes passed as arguments are automatically initialized.
    • Note, this implementation has a state managing the parse tree context and a list of parameter names for the current parse tree. This state needs to be initialized before the same node factory implementation instance may be used to create a second parse tree (see methods initContext and initParameters).
    • The implementation automatically adds the list of parameters to the created parse tree.
    • The implementation automatically sets the parse tree context for any created major node.
    • Constructor Summary

      Constructors 
      Constructor Description
      NodeFactoryImpl​(java.lang.String queryInfo)
      No-arg Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object newAbs​(int line, int column, java.lang.Object arg)  
      java.lang.Object newAll​(int line, int column, java.lang.Object subquery)  
      java.lang.Object newAnd​(int line, int column, java.lang.Object left, java.lang.Object right)  
      java.lang.Object newAny​(int line, int column, java.lang.Object subquery)  
      java.lang.Object newAscOrdering​(int line, int column, java.lang.Object arg)  
      java.lang.Object newAttribute​(int line, int column, java.lang.String identifier)  
      java.lang.Object newAvg​(int line, int column, boolean distinct, java.lang.Object arg)  
      java.lang.Object newBetween​(int line, int column, boolean not, java.lang.Object arg, java.lang.Object lower, java.lang.Object upper)  
      java.lang.Object newBooleanLiteral​(int line, int column, java.lang.Object value)  
      java.lang.Object newCaseClause​(int line, int column, java.lang.Object base, java.util.List whenClauses, java.lang.Object elseClause)  
      java.lang.Object newCoalesceClause​(int line, int column, java.util.List clauses)  
      java.lang.Object newCollectionMemberVariableDecl​(int line, int column, java.lang.Object path, java.lang.String variable)  
      java.lang.Object newConcat​(int line, int column, java.util.List objects)  
      java.lang.Object newConstructor​(int line, int column, java.lang.String className, java.util.List args)  
      java.lang.Object newCount​(int line, int column, boolean distinct, java.lang.Object arg)  
      java.lang.Object newCurrentDate​(int line, int column)  
      java.lang.Object newCurrentTime​(int line, int column)  
      java.lang.Object newCurrentTimestamp​(int line, int column)  
      java.lang.Object newDateLiteral​(int line, int column, java.lang.Object value)  
      java.lang.Object newDeleteClause​(int line, int column, java.lang.String schema, java.lang.String variable)  
      java.lang.Object newDeleteStatement​(int line, int column, java.lang.Object delete, java.lang.Object where)  
      java.lang.Object newDescOrdering​(int line, int column, java.lang.Object arg)  
      java.lang.Object newDivide​(int line, int column, java.lang.Object left, java.lang.Object right)  
      java.lang.Object newDot​(int line, int column, java.lang.Object left, java.lang.Object right)  
      java.lang.Object newDoubleLiteral​(int line, int column, java.lang.Object value)  
      java.lang.Object newEquals​(int line, int column, java.lang.Object left, java.lang.Object right)  
      java.lang.Object newEscape​(int line, int column, java.lang.Object arg)  
      java.lang.Object newExists​(int line, int column, boolean not, java.lang.Object subquery)  
      java.lang.Object newFetchJoin​(int line, int column, boolean outerJoin, java.lang.Object path)  
      java.lang.Object newFloatLiteral​(int line, int column, java.lang.Object value)  
      java.lang.Object newFromClause​(int line, int column, java.util.List decls)  
      java.lang.Object newFunc​(int line, int column, java.lang.String name, java.util.List parameters)  
      java.lang.Object newGreaterThan​(int line, int column, java.lang.Object left, java.lang.Object right)  
      java.lang.Object newGreaterThanEqual​(int line, int column, java.lang.Object left, java.lang.Object right)  
      java.lang.Object newGroupByClause​(int line, int column, java.util.List items)  
      java.lang.Object newHavingClause​(int line, int column, java.lang.Object arg)  
      java.lang.Object newIn​(int line, int column, boolean not, java.lang.Object expr, java.lang.Object subquery)  
      java.lang.Object newIn​(int line, int column, boolean not, java.lang.Object expr, java.util.List items)  
      java.lang.Object newIndex​(int line, int column, java.lang.Object object)  
      java.lang.Object newIntegerLiteral​(int line, int column, java.lang.Object value)  
      java.lang.Object newIsEmpty​(int line, int column, boolean not, java.lang.Object expr)  
      java.lang.Object newIsNull​(int line, int column, boolean not, java.lang.Object expr)  
      java.lang.Object newJoinVariableDecl​(int line, int column, boolean outerJoin, java.lang.Object path, java.lang.String variable, java.lang.Object downcast)  
      java.lang.Object newKey​(int line, int column, java.lang.Object left)  
      java.lang.Object newLength​(int line, int column, java.lang.Object arg)  
      java.lang.Object newLessThan​(int line, int column, java.lang.Object left, java.lang.Object right)  
      java.lang.Object newLessThanEqual​(int line, int column, java.lang.Object left, java.lang.Object right)  
      java.lang.Object newLike​(int line, int column, boolean not, java.lang.Object string, java.lang.Object pattern, java.lang.Object escape)  
      java.lang.Object newLocate​(int line, int column, java.lang.Object pattern, java.lang.Object arg, java.lang.Object startPos)  
      java.lang.Object newLongLiteral​(int line, int column, java.lang.Object value)  
      java.lang.Object newLower​(int line, int column, java.lang.Object arg)  
      java.lang.Object newMapEntry​(int line, int column, java.lang.Object arg)  
      java.lang.Object newMax​(int line, int column, boolean distinct, java.lang.Object arg)  
      java.lang.Object newMemberOf​(int line, int column, boolean not, java.lang.Object expr, java.lang.Object collection)  
      java.lang.Object newMin​(int line, int column, boolean distinct, java.lang.Object arg)  
      java.lang.Object newMinus​(int line, int column, java.lang.Object left, java.lang.Object right)  
      java.lang.Object newMod​(int line, int column, java.lang.Object left, java.lang.Object right)  
      java.lang.Object newMultiply​(int line, int column, java.lang.Object left, java.lang.Object right)  
      java.lang.Object newNamedParameter​(int line, int column, java.lang.String name)  
      java.lang.Object newNot​(int line, int column, java.lang.Object arg)  
      java.lang.Object newNotEquals​(int line, int column, java.lang.Object left, java.lang.Object right)  
      java.lang.Object newNullIfClause​(int line, int column, java.lang.Object left, java.lang.Object right)  
      java.lang.Object newNullLiteral​(int line, int column)  
      java.lang.Object newOr​(int line, int column, java.lang.Object left, java.lang.Object right)  
      java.lang.Object newOrderByClause​(int line, int column, java.util.List items)  
      java.lang.Object newPlus​(int line, int column, java.lang.Object left, java.lang.Object right)  
      java.lang.Object newPositionalParameter​(int line, int column, java.lang.String position)  
      java.lang.Object newQualifiedAttribute​(int line, int column, java.lang.String variable, java.lang.String attribute)  
      java.lang.Object newRangeVariableDecl​(int line, int column, java.lang.String schema, java.lang.String variable)  
      java.lang.Object newSelectClause​(int line, int column, boolean distinct, java.util.List selectExprs)  
      java.lang.Object newSelectClause​(int line, int column, boolean distinct, java.util.List selectExprs, java.util.List identifiers)  
      java.lang.Object newSelectStatement​(int line, int column, java.lang.Object select, java.lang.Object from, java.lang.Object where, java.lang.Object groupBy, java.lang.Object having, java.lang.Object orderBy)  
      java.lang.Object newSetAssignmentClause​(int line, int column, java.lang.Object target, java.lang.Object value)  
      java.lang.Object newSetClause​(int line, int column, java.util.List assignments)  
      java.lang.Object newSize​(int line, int column, java.lang.Object arg)  
      java.lang.Object newSome​(int line, int column, java.lang.Object subquery)  
      java.lang.Object newSqrt​(int line, int column, java.lang.Object arg)  
      java.lang.Object newStringLiteral​(int line, int column, java.lang.Object value)  
      java.lang.Object newSubquery​(int line, int column, java.lang.Object select, java.lang.Object from, java.lang.Object where, java.lang.Object groupBy, java.lang.Object having)  
      java.lang.Object newSubstring​(int line, int column, java.lang.Object string, java.lang.Object start, java.lang.Object length)  
      java.lang.Object newSum​(int line, int column, boolean distinct, java.lang.Object arg)  
      java.lang.Object newTimeLiteral​(int line, int column, java.lang.Object value)  
      java.lang.Object newTimeStampLiteral​(int line, int column, java.lang.Object value)  
      java.lang.Object newTrim​(int line, int column, NodeFactory.TrimSpecification trimSpec, java.lang.Object trimChar, java.lang.Object string)  
      java.lang.Object newType​(int line, int column, java.lang.Object left)  
      java.lang.Object newUnaryMinus​(int line, int column, java.lang.Object arg)  
      java.lang.Object newUnaryPlus​(int line, int column, java.lang.Object arg)  
      java.lang.Object newUpdateClause​(int line, int column, java.lang.String schema, java.lang.String variable)  
      java.lang.Object newUpdateStatement​(int line, int column, java.lang.Object update, java.lang.Object set, java.lang.Object where)  
      java.lang.Object newUpper​(int line, int column, java.lang.Object arg)  
      java.lang.Object newVariableAccessOrTypeConstant​(int line, int column, java.lang.String identifier)  
      java.lang.Object newVariableDecl​(int line, int column, java.lang.Object path, java.lang.String variable)  
      java.lang.Object newWhenClause​(int line, int column, java.lang.Object conditionClause, java.lang.Object thenClause)  
      java.lang.Object newWhereClause​(int line, int column, java.lang.Object condition)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NodeFactoryImpl

        public NodeFactoryImpl​(java.lang.String queryInfo)
        No-arg Constructor
    • Method Detail

      • newSelectStatement

        public java.lang.Object newSelectStatement​(int line,
                                                   int column,
                                                   java.lang.Object select,
                                                   java.lang.Object from,
                                                   java.lang.Object where,
                                                   java.lang.Object groupBy,
                                                   java.lang.Object having,
                                                   java.lang.Object orderBy)
        Specified by:
        newSelectStatement in interface NodeFactory
      • newUpdateStatement

        public java.lang.Object newUpdateStatement​(int line,
                                                   int column,
                                                   java.lang.Object update,
                                                   java.lang.Object set,
                                                   java.lang.Object where)
        Specified by:
        newUpdateStatement in interface NodeFactory
      • newDeleteStatement

        public java.lang.Object newDeleteStatement​(int line,
                                                   int column,
                                                   java.lang.Object delete,
                                                   java.lang.Object where)
        Specified by:
        newDeleteStatement in interface NodeFactory
      • newSelectClause

        public java.lang.Object newSelectClause​(int line,
                                                int column,
                                                boolean distinct,
                                                java.util.List selectExprs)
        Specified by:
        newSelectClause in interface NodeFactory
      • newSelectClause

        public java.lang.Object newSelectClause​(int line,
                                                int column,
                                                boolean distinct,
                                                java.util.List selectExprs,
                                                java.util.List identifiers)
        Specified by:
        newSelectClause in interface NodeFactory
      • newFromClause

        public java.lang.Object newFromClause​(int line,
                                              int column,
                                              java.util.List decls)
        Specified by:
        newFromClause in interface NodeFactory
      • newWhereClause

        public java.lang.Object newWhereClause​(int line,
                                               int column,
                                               java.lang.Object condition)
        Specified by:
        newWhereClause in interface NodeFactory
      • newGroupByClause

        public java.lang.Object newGroupByClause​(int line,
                                                 int column,
                                                 java.util.List items)
        Specified by:
        newGroupByClause in interface NodeFactory
      • newHavingClause

        public java.lang.Object newHavingClause​(int line,
                                                int column,
                                                java.lang.Object arg)
        Specified by:
        newHavingClause in interface NodeFactory
      • newOrderByClause

        public java.lang.Object newOrderByClause​(int line,
                                                 int column,
                                                 java.util.List items)
        Specified by:
        newOrderByClause in interface NodeFactory
      • newUpdateClause

        public java.lang.Object newUpdateClause​(int line,
                                                int column,
                                                java.lang.String schema,
                                                java.lang.String variable)
        Specified by:
        newUpdateClause in interface NodeFactory
      • newDeleteClause

        public java.lang.Object newDeleteClause​(int line,
                                                int column,
                                                java.lang.String schema,
                                                java.lang.String variable)
        Specified by:
        newDeleteClause in interface NodeFactory
      • newRangeVariableDecl

        public java.lang.Object newRangeVariableDecl​(int line,
                                                     int column,
                                                     java.lang.String schema,
                                                     java.lang.String variable)
        Specified by:
        newRangeVariableDecl in interface NodeFactory
      • newJoinVariableDecl

        public java.lang.Object newJoinVariableDecl​(int line,
                                                    int column,
                                                    boolean outerJoin,
                                                    java.lang.Object path,
                                                    java.lang.String variable,
                                                    java.lang.Object downcast)
        Specified by:
        newJoinVariableDecl in interface NodeFactory
      • newFetchJoin

        public java.lang.Object newFetchJoin​(int line,
                                             int column,
                                             boolean outerJoin,
                                             java.lang.Object path)
        Specified by:
        newFetchJoin in interface NodeFactory
      • newCollectionMemberVariableDecl

        public java.lang.Object newCollectionMemberVariableDecl​(int line,
                                                                int column,
                                                                java.lang.Object path,
                                                                java.lang.String variable)
        Specified by:
        newCollectionMemberVariableDecl in interface NodeFactory
      • newVariableDecl

        public java.lang.Object newVariableDecl​(int line,
                                                int column,
                                                java.lang.Object path,
                                                java.lang.String variable)
        Specified by:
        newVariableDecl in interface NodeFactory
      • newDot

        public java.lang.Object newDot​(int line,
                                       int column,
                                       java.lang.Object left,
                                       java.lang.Object right)
        Specified by:
        newDot in interface NodeFactory
      • newVariableAccessOrTypeConstant

        public java.lang.Object newVariableAccessOrTypeConstant​(int line,
                                                                int column,
                                                                java.lang.String identifier)
        Specified by:
        newVariableAccessOrTypeConstant in interface NodeFactory
      • newAttribute

        public java.lang.Object newAttribute​(int line,
                                             int column,
                                             java.lang.String identifier)
        Specified by:
        newAttribute in interface NodeFactory
      • newQualifiedAttribute

        public java.lang.Object newQualifiedAttribute​(int line,
                                                      int column,
                                                      java.lang.String variable,
                                                      java.lang.String attribute)
        Specified by:
        newQualifiedAttribute in interface NodeFactory
      • newAvg

        public java.lang.Object newAvg​(int line,
                                       int column,
                                       boolean distinct,
                                       java.lang.Object arg)
        Specified by:
        newAvg in interface NodeFactory
      • newMax

        public java.lang.Object newMax​(int line,
                                       int column,
                                       boolean distinct,
                                       java.lang.Object arg)
        Specified by:
        newMax in interface NodeFactory
      • newMin

        public java.lang.Object newMin​(int line,
                                       int column,
                                       boolean distinct,
                                       java.lang.Object arg)
        Specified by:
        newMin in interface NodeFactory
      • newSum

        public java.lang.Object newSum​(int line,
                                       int column,
                                       boolean distinct,
                                       java.lang.Object arg)
        Specified by:
        newSum in interface NodeFactory
      • newCount

        public java.lang.Object newCount​(int line,
                                         int column,
                                         boolean distinct,
                                         java.lang.Object arg)
        Specified by:
        newCount in interface NodeFactory
      • newOr

        public java.lang.Object newOr​(int line,
                                      int column,
                                      java.lang.Object left,
                                      java.lang.Object right)
        Specified by:
        newOr in interface NodeFactory
      • newAnd

        public java.lang.Object newAnd​(int line,
                                       int column,
                                       java.lang.Object left,
                                       java.lang.Object right)
        Specified by:
        newAnd in interface NodeFactory
      • newEquals

        public java.lang.Object newEquals​(int line,
                                          int column,
                                          java.lang.Object left,
                                          java.lang.Object right)
        Specified by:
        newEquals in interface NodeFactory
      • newNotEquals

        public java.lang.Object newNotEquals​(int line,
                                             int column,
                                             java.lang.Object left,
                                             java.lang.Object right)
        Specified by:
        newNotEquals in interface NodeFactory
      • newGreaterThan

        public java.lang.Object newGreaterThan​(int line,
                                               int column,
                                               java.lang.Object left,
                                               java.lang.Object right)
        Specified by:
        newGreaterThan in interface NodeFactory
      • newGreaterThanEqual

        public java.lang.Object newGreaterThanEqual​(int line,
                                                    int column,
                                                    java.lang.Object left,
                                                    java.lang.Object right)
        Specified by:
        newGreaterThanEqual in interface NodeFactory
      • newLessThan

        public java.lang.Object newLessThan​(int line,
                                            int column,
                                            java.lang.Object left,
                                            java.lang.Object right)
        Specified by:
        newLessThan in interface NodeFactory
      • newLessThanEqual

        public java.lang.Object newLessThanEqual​(int line,
                                                 int column,
                                                 java.lang.Object left,
                                                 java.lang.Object right)
        Specified by:
        newLessThanEqual in interface NodeFactory
      • newPlus

        public java.lang.Object newPlus​(int line,
                                        int column,
                                        java.lang.Object left,
                                        java.lang.Object right)
        Specified by:
        newPlus in interface NodeFactory
      • newMinus

        public java.lang.Object newMinus​(int line,
                                         int column,
                                         java.lang.Object left,
                                         java.lang.Object right)
        Specified by:
        newMinus in interface NodeFactory
      • newMultiply

        public java.lang.Object newMultiply​(int line,
                                            int column,
                                            java.lang.Object left,
                                            java.lang.Object right)
        Specified by:
        newMultiply in interface NodeFactory
      • newBetween

        public java.lang.Object newBetween​(int line,
                                           int column,
                                           boolean not,
                                           java.lang.Object arg,
                                           java.lang.Object lower,
                                           java.lang.Object upper)
        Specified by:
        newBetween in interface NodeFactory
      • newDivide

        public java.lang.Object newDivide​(int line,
                                          int column,
                                          java.lang.Object left,
                                          java.lang.Object right)
        Specified by:
        newDivide in interface NodeFactory
      • newUnaryPlus

        public java.lang.Object newUnaryPlus​(int line,
                                             int column,
                                             java.lang.Object arg)
        Specified by:
        newUnaryPlus in interface NodeFactory
      • newUnaryMinus

        public java.lang.Object newUnaryMinus​(int line,
                                              int column,
                                              java.lang.Object arg)
        Specified by:
        newUnaryMinus in interface NodeFactory
      • newNot

        public java.lang.Object newNot​(int line,
                                       int column,
                                       java.lang.Object arg)
        Specified by:
        newNot in interface NodeFactory
      • newLike

        public java.lang.Object newLike​(int line,
                                        int column,
                                        boolean not,
                                        java.lang.Object string,
                                        java.lang.Object pattern,
                                        java.lang.Object escape)
        Specified by:
        newLike in interface NodeFactory
      • newEscape

        public java.lang.Object newEscape​(int line,
                                          int column,
                                          java.lang.Object arg)
        Specified by:
        newEscape in interface NodeFactory
      • newIn

        public java.lang.Object newIn​(int line,
                                      int column,
                                      boolean not,
                                      java.lang.Object expr,
                                      java.util.List items)
        Specified by:
        newIn in interface NodeFactory
      • newIsNull

        public java.lang.Object newIsNull​(int line,
                                          int column,
                                          boolean not,
                                          java.lang.Object expr)
        Specified by:
        newIsNull in interface NodeFactory
      • newIsEmpty

        public java.lang.Object newIsEmpty​(int line,
                                           int column,
                                           boolean not,
                                           java.lang.Object expr)
        Specified by:
        newIsEmpty in interface NodeFactory
      • newMemberOf

        public java.lang.Object newMemberOf​(int line,
                                            int column,
                                            boolean not,
                                            java.lang.Object expr,
                                            java.lang.Object collection)
        Specified by:
        newMemberOf in interface NodeFactory
      • newPositionalParameter

        public java.lang.Object newPositionalParameter​(int line,
                                                       int column,
                                                       java.lang.String position)
        Specified by:
        newPositionalParameter in interface NodeFactory
      • newNamedParameter

        public java.lang.Object newNamedParameter​(int line,
                                                  int column,
                                                  java.lang.String name)
        Specified by:
        newNamedParameter in interface NodeFactory
      • newBooleanLiteral

        public java.lang.Object newBooleanLiteral​(int line,
                                                  int column,
                                                  java.lang.Object value)
        Specified by:
        newBooleanLiteral in interface NodeFactory
      • newIntegerLiteral

        public java.lang.Object newIntegerLiteral​(int line,
                                                  int column,
                                                  java.lang.Object value)
        Specified by:
        newIntegerLiteral in interface NodeFactory
      • newLongLiteral

        public java.lang.Object newLongLiteral​(int line,
                                               int column,
                                               java.lang.Object value)
        Specified by:
        newLongLiteral in interface NodeFactory
      • newFloatLiteral

        public java.lang.Object newFloatLiteral​(int line,
                                                int column,
                                                java.lang.Object value)
        Specified by:
        newFloatLiteral in interface NodeFactory
      • newDoubleLiteral

        public java.lang.Object newDoubleLiteral​(int line,
                                                 int column,
                                                 java.lang.Object value)
        Specified by:
        newDoubleLiteral in interface NodeFactory
      • newStringLiteral

        public java.lang.Object newStringLiteral​(int line,
                                                 int column,
                                                 java.lang.Object value)
        Specified by:
        newStringLiteral in interface NodeFactory
      • newNullLiteral

        public java.lang.Object newNullLiteral​(int line,
                                               int column)
        Specified by:
        newNullLiteral in interface NodeFactory
      • newConcat

        public java.lang.Object newConcat​(int line,
                                          int column,
                                          java.util.List objects)
        Specified by:
        newConcat in interface NodeFactory
      • newSubstring

        public java.lang.Object newSubstring​(int line,
                                             int column,
                                             java.lang.Object string,
                                             java.lang.Object start,
                                             java.lang.Object length)
        Specified by:
        newSubstring in interface NodeFactory
      • newLower

        public java.lang.Object newLower​(int line,
                                         int column,
                                         java.lang.Object arg)
        Specified by:
        newLower in interface NodeFactory
      • newUpper

        public java.lang.Object newUpper​(int line,
                                         int column,
                                         java.lang.Object arg)
        Specified by:
        newUpper in interface NodeFactory
      • newLocate

        public java.lang.Object newLocate​(int line,
                                          int column,
                                          java.lang.Object pattern,
                                          java.lang.Object arg,
                                          java.lang.Object startPos)
        Specified by:
        newLocate in interface NodeFactory
      • newLength

        public java.lang.Object newLength​(int line,
                                          int column,
                                          java.lang.Object arg)
        Specified by:
        newLength in interface NodeFactory
      • newAbs

        public java.lang.Object newAbs​(int line,
                                       int column,
                                       java.lang.Object arg)
        Specified by:
        newAbs in interface NodeFactory
      • newSqrt

        public java.lang.Object newSqrt​(int line,
                                        int column,
                                        java.lang.Object arg)
        Specified by:
        newSqrt in interface NodeFactory
      • newMod

        public java.lang.Object newMod​(int line,
                                       int column,
                                       java.lang.Object left,
                                       java.lang.Object right)
        Specified by:
        newMod in interface NodeFactory
      • newSize

        public java.lang.Object newSize​(int line,
                                        int column,
                                        java.lang.Object arg)
        Specified by:
        newSize in interface NodeFactory
      • newCurrentDate

        public java.lang.Object newCurrentDate​(int line,
                                               int column)
        Specified by:
        newCurrentDate in interface NodeFactory
      • newCurrentTime

        public java.lang.Object newCurrentTime​(int line,
                                               int column)
        Specified by:
        newCurrentTime in interface NodeFactory
      • newCurrentTimestamp

        public java.lang.Object newCurrentTimestamp​(int line,
                                                    int column)
        Specified by:
        newCurrentTimestamp in interface NodeFactory
      • newFunc

        public java.lang.Object newFunc​(int line,
                                        int column,
                                        java.lang.String name,
                                        java.util.List parameters)
        Specified by:
        newFunc in interface NodeFactory
      • newSubquery

        public java.lang.Object newSubquery​(int line,
                                            int column,
                                            java.lang.Object select,
                                            java.lang.Object from,
                                            java.lang.Object where,
                                            java.lang.Object groupBy,
                                            java.lang.Object having)
        Specified by:
        newSubquery in interface NodeFactory
      • newExists

        public java.lang.Object newExists​(int line,
                                          int column,
                                          boolean not,
                                          java.lang.Object subquery)
        Specified by:
        newExists in interface NodeFactory
      • newIn

        public java.lang.Object newIn​(int line,
                                      int column,
                                      boolean not,
                                      java.lang.Object expr,
                                      java.lang.Object subquery)
        Specified by:
        newIn in interface NodeFactory
      • newAll

        public java.lang.Object newAll​(int line,
                                       int column,
                                       java.lang.Object subquery)
        Specified by:
        newAll in interface NodeFactory
      • newAny

        public java.lang.Object newAny​(int line,
                                       int column,
                                       java.lang.Object subquery)
        Specified by:
        newAny in interface NodeFactory
      • newSome

        public java.lang.Object newSome​(int line,
                                        int column,
                                        java.lang.Object subquery)
        Specified by:
        newSome in interface NodeFactory
      • newAscOrdering

        public java.lang.Object newAscOrdering​(int line,
                                               int column,
                                               java.lang.Object arg)
        Specified by:
        newAscOrdering in interface NodeFactory
      • newDescOrdering

        public java.lang.Object newDescOrdering​(int line,
                                                int column,
                                                java.lang.Object arg)
        Specified by:
        newDescOrdering in interface NodeFactory
      • newConstructor

        public java.lang.Object newConstructor​(int line,
                                               int column,
                                               java.lang.String className,
                                               java.util.List args)
        Specified by:
        newConstructor in interface NodeFactory
      • newSetClause

        public java.lang.Object newSetClause​(int line,
                                             int column,
                                             java.util.List assignments)
        Specified by:
        newSetClause in interface NodeFactory
      • newSetAssignmentClause

        public java.lang.Object newSetAssignmentClause​(int line,
                                                       int column,
                                                       java.lang.Object target,
                                                       java.lang.Object value)
        Specified by:
        newSetAssignmentClause in interface NodeFactory
      • newKey

        public java.lang.Object newKey​(int line,
                                       int column,
                                       java.lang.Object left)
        Specified by:
        newKey in interface NodeFactory
      • newMapEntry

        public java.lang.Object newMapEntry​(int line,
                                            int column,
                                            java.lang.Object arg)
        Specified by:
        newMapEntry in interface NodeFactory
      • newType

        public java.lang.Object newType​(int line,
                                        int column,
                                        java.lang.Object left)
        Specified by:
        newType in interface NodeFactory
      • newCaseClause

        public java.lang.Object newCaseClause​(int line,
                                              int column,
                                              java.lang.Object base,
                                              java.util.List whenClauses,
                                              java.lang.Object elseClause)
        Specified by:
        newCaseClause in interface NodeFactory
      • newCoalesceClause

        public java.lang.Object newCoalesceClause​(int line,
                                                  int column,
                                                  java.util.List clauses)
        Specified by:
        newCoalesceClause in interface NodeFactory
      • newNullIfClause

        public java.lang.Object newNullIfClause​(int line,
                                                int column,
                                                java.lang.Object left,
                                                java.lang.Object right)
        Specified by:
        newNullIfClause in interface NodeFactory
      • newWhenClause

        public java.lang.Object newWhenClause​(int line,
                                              int column,
                                              java.lang.Object conditionClause,
                                              java.lang.Object thenClause)
        Specified by:
        newWhenClause in interface NodeFactory
      • newIndex

        public java.lang.Object newIndex​(int line,
                                         int column,
                                         java.lang.Object object)
        Specified by:
        newIndex in interface NodeFactory
      • newDateLiteral

        public java.lang.Object newDateLiteral​(int line,
                                               int column,
                                               java.lang.Object value)
        Specified by:
        newDateLiteral in interface NodeFactory
      • newTimeLiteral

        public java.lang.Object newTimeLiteral​(int line,
                                               int column,
                                               java.lang.Object value)
        Specified by:
        newTimeLiteral in interface NodeFactory
      • newTimeStampLiteral

        public java.lang.Object newTimeStampLiteral​(int line,
                                                    int column,
                                                    java.lang.Object value)
        Specified by:
        newTimeStampLiteral in interface NodeFactory