public class UnaryArithmeticNode extends AbstractSelectExpression implements UnaryOperatorNode
| Constructor and Description |
|---|
UnaryArithmeticNode() |
| Modifier and Type | Method and Description |
|---|---|
Type |
getDataType()
Retrieves the data type for the overall operator expression.
|
Node |
getOperand()
Retrievs the node representing the operator's single operand.
|
void |
initialize()
Called by the tree walker during hql-sql semantic analysis
after the operator sub-tree is completely built.
|
void |
setScalarColumnText(int i)
Appends AST nodes that represent the columns after the current AST node.
|
getAlias, getFromElement, getScalarColumnIndex, isConstructor, isReturnableEntity, isScalar, setAlias, setScalarColumngetAliasGenerator, getASTFactory, getSessionFactoryHelper, getWalker, initializegetOriginalText, setDataType, setTextgetColumn, getFilename, getLine, getRenderText, getTextLength, initialize, initializeaddChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toString, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpenclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetTextpublic Type getDataType()
OperatorNodegetDataType in interface OperatorNodegetDataType in interface SelectExpressiongetDataType in class SqlNodepublic void setScalarColumnText(int i)
throws antlr.SemanticException
SelectExpressionsetScalarColumnText in interface SelectExpressioni - The index of the select expression in the projection list.antlr.SemanticException - if a semantic error occurspublic void initialize()
OperatorNodeinitialize in interface OperatorNodepublic Node getOperand()
UnaryOperatorNodegetOperand in interface UnaryOperatorNodeCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.