public class QueryExpressionNode extends ParseTreeNode
Constructor and Description |
---|
QueryExpressionNode(Token prefix,
boolean subQuery) |
Modifier and Type | Method and Description |
---|---|
void |
appendDebugString(java.lang.StringBuilder s)
appends a String representation of this node including it's children to the given StringBuilder
|
ExplainNode |
getExplainPart() |
FromNode |
getFromPart() |
LimitNode |
getLimitPart() |
int |
getOperatorPrecedence() |
OrderNode |
getOrderPart() |
java.lang.Class<?> |
getResultClass()
Calculates the resulting Java class of this node, which is used if it is part of the select expression.
|
SelectNode |
getSelectPart() |
WhereNode |
getWherePart() |
boolean |
hasParameters() |
void |
renderSQL(java.lang.StringBuilder s,
java.lang.Object[] oqlArgs,
java.util.List sqlArgs)
Renders this node into a StringBuilder as SQL statement, copying
arguments from oqlArgs to sqlArgs if needed.
|
void |
setExplainPart(ExplainNode node) |
void |
setFromPart(FromNode node) |
void |
setHasParameters(boolean hasParameters) |
void |
setLimitPart(LimitNode node) |
void |
setOrderPart(OrderNode node) |
void |
setSelectPart(SelectNode node) |
void |
setTypeFromChildren() |
void |
setWherePart(WhereNode node) |
addChild, appendComments, debugString, getChild, getChildCount, getExpressionResultType, getParent, getToken, getType, hasType, isLeaf, isRoot, removeChild, setOwnType, setParent, setToken, setType, setType, setType, setTypeFromParent, toString
public QueryExpressionNode(Token prefix, boolean subQuery)
public void setExplainPart(ExplainNode node)
public ExplainNode getExplainPart()
public void setSelectPart(SelectNode node)
public SelectNode getSelectPart()
public void setFromPart(FromNode node)
public FromNode getFromPart()
public void setWherePart(WhereNode node)
public WhereNode getWherePart()
public void setOrderPart(OrderNode node)
public OrderNode getOrderPart()
public void setLimitPart(LimitNode node)
public LimitNode getLimitPart()
public void setHasParameters(boolean hasParameters)
public boolean hasParameters()
public void appendDebugString(java.lang.StringBuilder s)
ParseTreeNode
appendDebugString
in class ParseTreeNode
public void renderSQL(java.lang.StringBuilder s, java.lang.Object[] oqlArgs, java.util.List sqlArgs)
ParseTreeNode
renderSQL
in class ParseTreeNode
public void setTypeFromChildren()
setTypeFromChildren
in class ParseTreeNode
public java.lang.Class<?> getResultClass()
ParseTreeNode
ParseTreeNode.type
is null.getResultClass
in class ParseTreeNode
public int getOperatorPrecedence()
getOperatorPrecedence
in class ParseTreeNode
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.