public class FromNode extends ParseTreeNode
Constructor and Description |
---|
FromNode(java.lang.String alias,
PathNode path,
QueryNameSpace nameSpace) |
FromNode(java.lang.String alias,
java.lang.String entityName,
boolean only,
QueryNameSpace nameSpace) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(ParseTreeNode node)
Adds a new node as a child of this node.
|
void |
appendDebugString(java.lang.StringBuilder s)
appends a String representation of this node including it's children to the given StringBuilder
|
void |
applyAdditionalConstraints(WhereNode wn) |
java.lang.String |
getAlias() |
java.lang.String |
getEntityName() |
boolean |
hasAdditionalConstraints() |
boolean |
isWithinClause() |
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.
|
appendComments, debugString, getChild, getChildCount, getExpressionResultType, getOperatorPrecedence, getParent, getResultClass, getToken, getType, hasType, isLeaf, isRoot, removeChild, setOwnType, setParent, setToken, setType, setType, setType, setTypeFromChildren, setTypeFromParent, toString
public FromNode(java.lang.String alias, java.lang.String entityName, boolean only, QueryNameSpace nameSpace) throws OQLException
OQLException
public FromNode(java.lang.String alias, PathNode path, QueryNameSpace nameSpace) throws OQLException
OQLException
public boolean hasAdditionalConstraints()
public void applyAdditionalConstraints(WhereNode wn) throws OQLSyntaxException, OQLException
OQLSyntaxException
OQLException
public void addChild(ParseTreeNode node)
ParseTreeNode
addChild
in class ParseTreeNode
node
- The new childpublic java.lang.String getAlias()
public java.lang.String getEntityName()
public boolean isWithinClause()
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
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.