Module org.eclipse.persistence.core
Interface NodeFactory
- All Known Implementing Classes:
NodeFactoryImpl
public interface NodeFactory
INTERNAL
Purpose: This interface specifies methods to create parse trees and parse tree nodes.
Responsibilities:
- Used by the EJBQLParser to create an internal representation of an EJBQL query.
- Abstract from concrete parse tree and parse tree node implementation classes.
- The parse is created in a bottom-up fashion. All methods takes any child nodes for the parse tree node to be created as arguments. It is the responsibility of the new<XXX> method to set the parent-child relationship between the returned node any any of the child nodes passed as arguments.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Trim specification constants. -
Method Summary
Modifier and TypeMethodDescriptionnewAscOrdering
(int line, int column, Object arg) newAttribute
(int line, int column, String identifier) newBetween
(int line, int column, boolean not, Object arg, Object lower, Object upper) newBooleanLiteral
(int line, int column, Object value) newCaseClause
(int line, int column, Object base, List<Node> whenClauses, Object elseClause) newCoalesceClause
(int line, int column, List<Node> clauses) newCollectionMemberVariableDecl
(int line, int column, Object path, String variable) newConstructor
(int line, int colimn, String className, List<Node> args) newCurrentDate
(int line, int column) newCurrentTime
(int line, int column) newCurrentTimestamp
(int line, int column) newDateLiteral
(int line, int column, Object object) newDeleteClause
(int line, int column, String schema, String variable) newDeleteStatement
(int line, int column, Object delete, Object where) newDescOrdering
(int line, int column, Object arg) newDoubleLiteral
(int line, int column, Object value) newFetchJoin
(int line, int column, boolean outer, Object path) newFloatLiteral
(int line, int column, Object value) newFromClause
(int line, int column, List<Node> varDecls) newGreaterThan
(int line, int column, Object left, Object right) newGreaterThanEqual
(int line, int column, Object left, Object right) newGroupByClause
(int line, int column, List<Node> items) newHavingClause
(int line, int column, Object arg) newIntegerLiteral
(int line, int column, Object value) newIsEmpty
(int line, int column, boolean not, Object expr) newJoinVariableDecl
(int line, int column, boolean outer, Object path, String variable, Object downcast) newLessThan
(int line, int column, Object left, Object right) newLessThanEqual
(int line, int column, Object left, Object right) newLongLiteral
(int line, int column, Object value) newMapEntry
(int line, int column, Object arg) newMemberOf
(int line, int column, boolean not, Object expr, Object collection) newMultiply
(int line, int column, Object left, Object right) newNamedParameter
(int line, int colimn, String name) newNotEquals
(int line, int column, Object left, Object right) newNullIfClause
(int line, int column, Object left, Object right) newNullLiteral
(int line, int column) newOrderByClause
(int line, int column, List<Node> items) newPositionalParameter
(int line, int colimn, String position) newQualifiedAttribute
(int line, int column, String variable, String attribute) newRangeVariableDecl
(int line, int column, String schema, String variable) newSelectClause
(int line, int column, boolean distinct, List<Node> selectExprs) newSelectClause
(int line, int column, boolean distinct, List<Node> selectExprs, List<String> identifiers) newSelectStatement
(int line, int column, Object select, Object from, Object where, Object groupBy, Object having, Object orderBy) newSetAssignmentClause
(int line, int column, Object target, Object value) newSetClause
(int line, int colimn, List<Node> assignments) newStringLiteral
(int line, int column, Object value) newSubquery
(int line, int column, Object select, Object from, Object where, Object groupBy, Object having) newSubstring
(int line, int column, Object string, Object start, Object length) newTimeLiteral
(int line, int column, Object object) newTimeStampLiteral
(int line, int column, Object object) newTrim
(int line, int column, NodeFactory.TrimSpecification trimSpec, Object trimChar, Object string) newUnaryMinus
(int line, int column, Object arg) newUnaryPlus
(int line, int column, Object arg) newUpdateClause
(int line, int column, String schema, String variable) newUpdateStatement
(int line, int column, Object update, Object set, Object where) newVariableAccessOrTypeConstant
(int line, int column, String identifier) newVariableDecl
(int line, int column, Object path, String variable) newWhenClause
(int line, int column, Object conditionClause, Object theClause) newWhereClause
(int line, int column, Object condition)
-
Method Details
-
newSelectStatement
-
newUpdateStatement
-
newDeleteStatement
-
newSelectClause
-
newSelectClause
-
newFromClause
-
newWhereClause
-
newGroupByClause
-
newHavingClause
-
newOrderByClause
-
newUpdateClause
-
newDeleteClause
-
newRangeVariableDecl
-
newJoinVariableDecl
-
newFetchJoin
-
newCollectionMemberVariableDecl
-
newVariableDecl
-
newDot
-
newVariableAccessOrTypeConstant
-
newAttribute
-
newQualifiedAttribute
-
newAvg
-
newMax
-
newMin
-
newSum
-
newCount
-
newOr
-
newAnd
-
newEquals
-
newNotEquals
-
newGreaterThan
-
newGreaterThanEqual
-
newLessThan
-
newLessThanEqual
-
newPlus
-
newMinus
-
newMultiply
-
newDivide
-
newUnaryPlus
-
newUnaryMinus
-
newNot
-
newBetween
-
newLike
-
newEscape
-
newIn
-
newIsNull
-
newIsEmpty
-
newMemberOf
-
newPositionalParameter
-
newNamedParameter
-
newBooleanLiteral
-
newIntegerLiteral
-
newLongLiteral
-
newFloatLiteral
-
newDoubleLiteral
-
newStringLiteral
-
newNullLiteral
-
newConcat
-
newSubstring
-
newTrim
Object newTrim(int line, int column, NodeFactory.TrimSpecification trimSpec, Object trimChar, Object string) -
newLower
-
newUpper
-
newLocate
-
newLength
-
newAbs
-
newSqrt
-
newMod
-
newSize
-
newCurrentDate
-
newCurrentTime
-
newCurrentTimestamp
-
newFunc
-
newSubquery
-
newExists
-
newIn
-
newAll
-
newAny
-
newSome
-
newAscOrdering
-
newDescOrdering
-
newConstructor
-
newSetClause
-
newSetAssignmentClause
-
newKey
-
newMapEntry
-
newType
-
newCaseClause
-
newCoalesceClause
-
newNullIfClause
-
newWhenClause
-
newIndex
-
newDateLiteral
-
newTimeLiteral
-
newTimeStampLiteral
-