public class ExplainNode extends ParseTreeNode
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
debugString()
returns a String representation of this node including it's children
|
de.ipcon.db.oql.ExpressionResultType |
getExpressionResultType() |
java.lang.Class<?> |
getResultClass()
Calculates the resulting Java class of this node, which is used if it is part of the select expression.
|
ValueType |
getType() |
static ExplainNode |
parse(Parser parser)
Parses explain options and returns an explain node.
|
void |
renderSQL(java.lang.StringBuilder query,
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.
|
addChild, appendComments, appendDebugString, getChild, getChildCount, getOperatorPrecedence, getParent, getToken, hasType, isLeaf, isRoot, removeChild, setOwnType, setParent, setToken, setType, setType, setType, setTypeFromChildren, setTypeFromParent, toStringpublic static ExplainNode parse(Parser parser) throws OQLSyntaxException
parser - the parserOQLSyntaxException - if the explains are not correctpublic java.lang.String debugString()
ParseTreeNodedebugString in class ParseTreeNodepublic void renderSQL(java.lang.StringBuilder query,
java.lang.Object[] oqlArgs,
java.util.List sqlArgs)
ParseTreeNoderenderSQL in class ParseTreeNodepublic de.ipcon.db.oql.ExpressionResultType getExpressionResultType()
getExpressionResultType in class ParseTreeNodepublic ValueType getType()
getType in class ParseTreeNodepublic java.lang.Class<?> getResultClass()
ParseTreeNodeParseTreeNode.type is null.getResultClass in class ParseTreeNodeCopyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.