public class AggregateNode extends AbstractSelectExpression implements SelectExpression, FunctionNode
| Constructor and Description | 
|---|
AggregateNode()  | 
| Modifier and Type | Method and Description | 
|---|---|
Type | 
getDataType()
Returns the data type of the select expression. 
 | 
Type | 
getFirstArgumentType()  | 
SQLFunction | 
getSQLFunction()  | 
boolean | 
isScalar()  | 
void | 
resolve()  | 
void | 
setScalarColumnText(int i)
Appends AST nodes that represent the columns after the current AST node. 
 | 
getAlias, getFromElement, getScalarColumnIndex, isConstructor, isReturnableEntity, 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, waitgetAlias, getFromElement, getScalarColumnIndex, isConstructor, isReturnableEntity, setAlias, setScalarColumn, setTextpublic SQLFunction getSQLFunction()
getSQLFunction in interface FunctionNodepublic void resolve()
public Type getFirstArgumentType()
getFirstArgumentType in interface FunctionNodepublic Type getDataType()
SelectExpressiongetDataType 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 boolean isScalar()
                 throws antlr.SemanticException
isScalar in interface SelectExpressionisScalar in class AbstractSelectExpressionantlr.SemanticExceptionCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.