public class NodeFactoryImpl extends Object implements NodeFactory
Purpose: Implements a node factory used by the EJBQLParser class.
Responsibilities:
NodeFactory.TrimSpecification| Constructor and Description |
|---|
NodeFactoryImpl(String queryInfo)
No-arg Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Object |
newAbs(int line,
int column,
Object arg) |
Object |
newAll(int line,
int column,
Object subquery) |
Object |
newAnd(int line,
int column,
Object left,
Object right) |
Object |
newAny(int line,
int column,
Object subquery) |
Object |
newAscOrdering(int line,
int column,
Object arg) |
Object |
newAttribute(int line,
int column,
String identifier) |
Object |
newAvg(int line,
int column,
boolean distinct,
Object arg) |
Object |
newBetween(int line,
int column,
boolean not,
Object arg,
Object lower,
Object upper) |
Object |
newBooleanLiteral(int line,
int column,
Object value) |
Object |
newCollectionMemberVariableDecl(int line,
int column,
Object path,
String variable) |
Object |
newConcat(int line,
int column,
Object left,
Object right) |
Object |
newConstructor(int line,
int column,
String className,
List args) |
Object |
newCount(int line,
int column,
boolean distinct,
Object arg) |
Object |
newCurrentDate(int line,
int column) |
Object |
newCurrentTime(int line,
int column) |
Object |
newCurrentTimestamp(int line,
int column) |
Object |
newDeleteClause(int line,
int column,
String schema,
String variable) |
Object |
newDeleteStatement(int line,
int column,
Object delete,
Object where) |
Object |
newDescOrdering(int line,
int column,
Object arg) |
Object |
newDivide(int line,
int column,
Object left,
Object right) |
Object |
newDot(int line,
int column,
Object left,
Object right) |
Object |
newDoubleLiteral(int line,
int column,
Object value) |
Object |
newEquals(int line,
int column,
Object left,
Object right) |
Object |
newEscape(int line,
int column,
Object arg) |
Object |
newExists(int line,
int column,
boolean not,
Object subquery) |
Object |
newFetchJoin(int line,
int column,
boolean outerJoin,
Object path) |
Object |
newFloatLiteral(int line,
int column,
Object value) |
Object |
newFromClause(int line,
int column,
List decls) |
Object |
newGreaterThan(int line,
int column,
Object left,
Object right) |
Object |
newGreaterThanEqual(int line,
int column,
Object left,
Object right) |
Object |
newGroupByClause(int line,
int column,
List items) |
Object |
newHavingClause(int line,
int column,
Object arg) |
Object |
newIn(int line,
int column,
boolean not,
Object expr,
List items) |
Object |
newIn(int line,
int column,
boolean not,
Object expr,
Object subquery) |
Object |
newIntegerLiteral(int line,
int column,
Object value) |
Object |
newIsEmpty(int line,
int column,
boolean not,
Object expr) |
Object |
newIsNull(int line,
int column,
boolean not,
Object expr) |
Object |
newJoinVariableDecl(int line,
int column,
boolean outerJoin,
Object path,
String variable) |
Object |
newLength(int line,
int column,
Object arg) |
Object |
newLessThan(int line,
int column,
Object left,
Object right) |
Object |
newLessThanEqual(int line,
int column,
Object left,
Object right) |
Object |
newLike(int line,
int column,
boolean not,
Object string,
Object pattern,
Object escape) |
Object |
newLocate(int line,
int column,
Object pattern,
Object arg,
Object startPos) |
Object |
newLongLiteral(int line,
int column,
Object value) |
Object |
newLower(int line,
int column,
Object arg) |
Object |
newMax(int line,
int column,
boolean distinct,
Object arg) |
Object |
newMemberOf(int line,
int column,
boolean not,
Object expr,
Object collection) |
Object |
newMin(int line,
int column,
boolean distinct,
Object arg) |
Object |
newMinus(int line,
int column,
Object left,
Object right) |
Object |
newMod(int line,
int column,
Object left,
Object right) |
Object |
newMultiply(int line,
int column,
Object left,
Object right) |
Object |
newNamedParameter(int line,
int column,
String name) |
Object |
newNot(int line,
int column,
Object arg) |
Object |
newNotEquals(int line,
int column,
Object left,
Object right) |
Object |
newNullLiteral(int line,
int column) |
Object |
newOr(int line,
int column,
Object left,
Object right) |
Object |
newOrderByClause(int line,
int column,
List items) |
Object |
newPlus(int line,
int column,
Object left,
Object right) |
Object |
newPositionalParameter(int line,
int column,
String position) |
Object |
newQualifiedAttribute(int line,
int column,
String variable,
String attribute) |
Object |
newRangeVariableDecl(int line,
int column,
String schema,
String variable) |
Object |
newSelectClause(int line,
int column,
boolean distinct,
List selectExprs) |
Object |
newSelectStatement(int line,
int column,
Object select,
Object from,
Object where,
Object groupBy,
Object having,
Object orderBy) |
Object |
newSetAssignmentClause(int line,
int column,
Object target,
Object value) |
Object |
newSetClause(int line,
int column,
List assignments) |
Object |
newSize(int line,
int column,
Object arg) |
Object |
newSome(int line,
int column,
Object subquery) |
Object |
newSqrt(int line,
int column,
Object arg) |
Object |
newStringLiteral(int line,
int column,
Object value) |
Object |
newSubquery(int line,
int column,
Object select,
Object from,
Object where,
Object groupBy,
Object having) |
Object |
newSubstring(int line,
int column,
Object string,
Object start,
Object length) |
Object |
newSum(int line,
int column,
boolean distinct,
Object arg) |
Object |
newTrim(int line,
int column,
NodeFactory.TrimSpecification trimSpec,
Object trimChar,
Object string) |
Object |
newUnaryMinus(int line,
int column,
Object arg) |
Object |
newUnaryPlus(int line,
int column,
Object arg) |
Object |
newUpdateClause(int line,
int column,
String schema,
String variable) |
Object |
newUpdateStatement(int line,
int column,
Object update,
Object set,
Object where) |
Object |
newUpper(int line,
int column,
Object arg) |
Object |
newVariableAccess(int line,
int column,
String identifier) |
Object |
newVariableDecl(int line,
int column,
Object path,
String variable) |
Object |
newWhereClause(int line,
int column,
Object condition) |
public NodeFactoryImpl(String queryInfo)
public Object newSelectStatement(int line, int column, Object select, Object from, Object where, Object groupBy, Object having, Object orderBy)
newSelectStatement in interface NodeFactorypublic Object newUpdateStatement(int line, int column, Object update, Object set, Object where)
newUpdateStatement in interface NodeFactorypublic Object newDeleteStatement(int line, int column, Object delete, Object where)
newDeleteStatement in interface NodeFactorypublic Object newSelectClause(int line, int column, boolean distinct, List selectExprs)
newSelectClause in interface NodeFactorypublic Object newFromClause(int line, int column, List decls)
newFromClause in interface NodeFactorypublic Object newWhereClause(int line, int column, Object condition)
newWhereClause in interface NodeFactorypublic Object newGroupByClause(int line, int column, List items)
newGroupByClause in interface NodeFactorypublic Object newHavingClause(int line, int column, Object arg)
newHavingClause in interface NodeFactorypublic Object newOrderByClause(int line, int column, List items)
newOrderByClause in interface NodeFactorypublic Object newUpdateClause(int line, int column, String schema, String variable)
newUpdateClause in interface NodeFactorypublic Object newDeleteClause(int line, int column, String schema, String variable)
newDeleteClause in interface NodeFactorypublic Object newRangeVariableDecl(int line, int column, String schema, String variable)
newRangeVariableDecl in interface NodeFactorypublic Object newJoinVariableDecl(int line, int column, boolean outerJoin, Object path, String variable)
newJoinVariableDecl in interface NodeFactorypublic Object newFetchJoin(int line, int column, boolean outerJoin, Object path)
newFetchJoin in interface NodeFactorypublic Object newCollectionMemberVariableDecl(int line, int column, Object path, String variable)
newCollectionMemberVariableDecl in interface NodeFactorypublic Object newVariableDecl(int line, int column, Object path, String variable)
newVariableDecl in interface NodeFactorypublic Object newDot(int line, int column, Object left, Object right)
newDot in interface NodeFactorypublic Object newVariableAccess(int line, int column, String identifier)
newVariableAccess in interface NodeFactorypublic Object newAttribute(int line, int column, String identifier)
newAttribute in interface NodeFactorypublic Object newQualifiedAttribute(int line, int column, String variable, String attribute)
newQualifiedAttribute in interface NodeFactorypublic Object newAvg(int line, int column, boolean distinct, Object arg)
newAvg in interface NodeFactorypublic Object newMax(int line, int column, boolean distinct, Object arg)
newMax in interface NodeFactorypublic Object newMin(int line, int column, boolean distinct, Object arg)
newMin in interface NodeFactorypublic Object newSum(int line, int column, boolean distinct, Object arg)
newSum in interface NodeFactorypublic Object newCount(int line, int column, boolean distinct, Object arg)
newCount in interface NodeFactorypublic Object newOr(int line, int column, Object left, Object right)
newOr in interface NodeFactorypublic Object newAnd(int line, int column, Object left, Object right)
newAnd in interface NodeFactorypublic Object newEquals(int line, int column, Object left, Object right)
newEquals in interface NodeFactorypublic Object newNotEquals(int line, int column, Object left, Object right)
newNotEquals in interface NodeFactorypublic Object newGreaterThan(int line, int column, Object left, Object right)
newGreaterThan in interface NodeFactorypublic Object newGreaterThanEqual(int line, int column, Object left, Object right)
newGreaterThanEqual in interface NodeFactorypublic Object newLessThan(int line, int column, Object left, Object right)
newLessThan in interface NodeFactorypublic Object newLessThanEqual(int line, int column, Object left, Object right)
newLessThanEqual in interface NodeFactorypublic Object newPlus(int line, int column, Object left, Object right)
newPlus in interface NodeFactorypublic Object newMinus(int line, int column, Object left, Object right)
newMinus in interface NodeFactorypublic Object newMultiply(int line, int column, Object left, Object right)
newMultiply in interface NodeFactorypublic Object newDivide(int line, int column, Object left, Object right)
newDivide in interface NodeFactorypublic Object newUnaryPlus(int line, int column, Object arg)
newUnaryPlus in interface NodeFactorypublic Object newUnaryMinus(int line, int column, Object arg)
newUnaryMinus in interface NodeFactorypublic Object newNot(int line, int column, Object arg)
newNot in interface NodeFactorypublic Object newBetween(int line, int column, boolean not, Object arg, Object lower, Object upper)
newBetween in interface NodeFactorypublic Object newLike(int line, int column, boolean not, Object string, Object pattern, Object escape)
newLike in interface NodeFactorypublic Object newEscape(int line, int column, Object arg)
newEscape in interface NodeFactorypublic Object newIn(int line, int column, boolean not, Object expr, List items)
newIn in interface NodeFactorypublic Object newIsNull(int line, int column, boolean not, Object expr)
newIsNull in interface NodeFactorypublic Object newIsEmpty(int line, int column, boolean not, Object expr)
newIsEmpty in interface NodeFactorypublic Object newMemberOf(int line, int column, boolean not, Object expr, Object collection)
newMemberOf in interface NodeFactorypublic Object newPositionalParameter(int line, int column, String position)
newPositionalParameter in interface NodeFactorypublic Object newNamedParameter(int line, int column, String name)
newNamedParameter in interface NodeFactorypublic Object newBooleanLiteral(int line, int column, Object value)
newBooleanLiteral in interface NodeFactorypublic Object newIntegerLiteral(int line, int column, Object value)
newIntegerLiteral in interface NodeFactorypublic Object newLongLiteral(int line, int column, Object value)
newLongLiteral in interface NodeFactorypublic Object newFloatLiteral(int line, int column, Object value)
newFloatLiteral in interface NodeFactorypublic Object newDoubleLiteral(int line, int column, Object value)
newDoubleLiteral in interface NodeFactorypublic Object newStringLiteral(int line, int column, Object value)
newStringLiteral in interface NodeFactorypublic Object newNullLiteral(int line, int column)
newNullLiteral in interface NodeFactorypublic Object newConcat(int line, int column, Object left, Object right)
newConcat in interface NodeFactorypublic Object newSubstring(int line, int column, Object string, Object start, Object length)
newSubstring in interface NodeFactorypublic Object newTrim(int line, int column, NodeFactory.TrimSpecification trimSpec, Object trimChar, Object string)
newTrim in interface NodeFactorypublic Object newLower(int line, int column, Object arg)
newLower in interface NodeFactorypublic Object newUpper(int line, int column, Object arg)
newUpper in interface NodeFactorypublic Object newLocate(int line, int column, Object pattern, Object arg, Object startPos)
newLocate in interface NodeFactorypublic Object newLength(int line, int column, Object arg)
newLength in interface NodeFactorypublic Object newAbs(int line, int column, Object arg)
newAbs in interface NodeFactorypublic Object newSqrt(int line, int column, Object arg)
newSqrt in interface NodeFactorypublic Object newMod(int line, int column, Object left, Object right)
newMod in interface NodeFactorypublic Object newSize(int line, int column, Object arg)
newSize in interface NodeFactorypublic Object newCurrentDate(int line, int column)
newCurrentDate in interface NodeFactorypublic Object newCurrentTime(int line, int column)
newCurrentTime in interface NodeFactorypublic Object newCurrentTimestamp(int line, int column)
newCurrentTimestamp in interface NodeFactorypublic Object newSubquery(int line, int column, Object select, Object from, Object where, Object groupBy, Object having)
newSubquery in interface NodeFactorypublic Object newExists(int line, int column, boolean not, Object subquery)
newExists in interface NodeFactorypublic Object newIn(int line, int column, boolean not, Object expr, Object subquery)
newIn in interface NodeFactorypublic Object newAll(int line, int column, Object subquery)
newAll in interface NodeFactorypublic Object newAny(int line, int column, Object subquery)
newAny in interface NodeFactorypublic Object newSome(int line, int column, Object subquery)
newSome in interface NodeFactorypublic Object newAscOrdering(int line, int column, Object arg)
newAscOrdering in interface NodeFactorypublic Object newDescOrdering(int line, int column, Object arg)
newDescOrdering in interface NodeFactorypublic Object newConstructor(int line, int column, String className, List args)
newConstructor in interface NodeFactorypublic Object newSetClause(int line, int column, List assignments)
newSetClause in interface NodeFactorypublic Object newSetAssignmentClause(int line, int column, Object target, Object value)
newSetAssignmentClause in interface NodeFactoryCopyright © 2023. All rights reserved.