public abstract class QueryNode extends MajorNode
shouldGenerateExpression| Constructor and Description |
|---|
QueryNode() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
applyToQuery(DatabaseQuery theQuery,
GenerationContext context)
INTERNAL
Apply this node to the passed query
|
abstract DatabaseQuery |
createDatabaseQuery(ParseTreeContext context)
INTERNAL
Returns a DatabaseQuery instance according to the kind of the query the
owning ParseTree represents: SELECT, UPDATE or DELETE.
|
abstract Expression |
generateExpression(GenerationContext context)
INTERNAL
Return a EclipseLink expression generated using the left node
|
ParseTree |
getParseTree() |
java.lang.Class |
getReferenceClass(GenerationContext genContext)
Compute the Reference class for this query
|
boolean |
isDeleteNode() |
boolean |
isSelectNode() |
boolean |
isUpdateNode() |
abstract java.lang.Class |
resolveClass(GenerationContext context)
Return the class represented in this node.
|
void |
setParseTree(ParseTree parseTree)
Set the parseTree
|
getContext, setContextaddToExpression, appendExpression, applyToQuery, getAlias, getAsString, getColumn, getLeft, getLine, getRight, getType, hasLeft, hasRight, isAggregateNode, isAliasableNode, isAttributeNode, isConstructorNode, isCountNode, isDivideNode, isDotNode, isEscape, isLiteralNode, isMapKeyNode, isMinusNode, isMultiplyNode, isNotNode, isParameterNode, isPlusNode, isSubqueryNode, isVariableNode, qualifyAttributeAccess, resolveAttribute, resolveClass, resolveMapping, resolveMapping, setAlias, setColumn, setLeft, setLine, setRight, setType, toString, toString, toStringDisplayName, toStringIndent, validate, validateParameterpublic abstract DatabaseQuery createDatabaseQuery(ParseTreeContext context)
public abstract void applyToQuery(DatabaseQuery theQuery, GenerationContext context)
public abstract Expression generateExpression(GenerationContext context)
generateExpression in class Nodepublic java.lang.Class getReferenceClass(GenerationContext genContext)
context - public boolean isSelectNode()
public boolean isUpdateNode()
public boolean isDeleteNode()
public abstract java.lang.Class resolveClass(GenerationContext context)
resolveClass in class Nodepublic void setParseTree(ParseTree parseTree)
public ParseTree getParseTree()
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference