public class AggregateNode extends UnaryOperatorNode
methodName, operator, receiverInterfaceType, resultInterfaceType
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
Constructor and Description |
---|
AggregateNode() |
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(QueryTreeNode node)
Fill this node with a deep copy of the given node.
|
java.lang.String |
getAggregateName()
Get the name of the aggregate.
|
void |
init(java.lang.Object operand,
java.lang.Object uadClass,
java.lang.Object distinct,
java.lang.Object aggregateName)
Intializer.
|
boolean |
isDistinct()
Indicate whether this aggregate is distinct or not.
|
java.lang.String |
toString()
Convert this object to a String.
|
getMethodName, getOperand, getOperator, init, init, isEquivalent, printSubNodes, setOperand
getColumnName, getSchemaName, getSourceResultColumn, getTableName, getType, getTypeId, init, isBinaryEqualsOperatorNode, isBooleanFalse, isBooleanTrue, isConstantExpression, isInListProbeNode, isParameterNode, isRelationalOperator, isSameNodeType, setNullability, setType
accept, convertDefaultNode, debugFlush, debugPrint, formatNodeString, getBeginOffset, getDebugOutput, getEndOffset, getNodeFactory, getNodeType, getNullNode, getParserContext, getStatementType, getUserData, init, init, init, init, init, init, init, init, init, init, isInstanceOf, makeTableName, makeTableName, nodeHeader, printLabel, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, treePrint, treePrint, treePrint
public void init(java.lang.Object operand, java.lang.Object uadClass, java.lang.Object distinct, java.lang.Object aggregateName) throws StandardException
init
in class QueryTreeNode
operand
- the value expression for the aggregateuadClass
- the class name for user aggregate definition for the aggregate
or internal aggregate type.distinct
- boolean indicating whether this is distinct
or not.aggregateName
- the name of the aggregate from the user's perspective,
e.g. MAXStandardException
- on errorpublic void copyFrom(QueryTreeNode node) throws StandardException
copyFrom
in class UnaryOperatorNode
StandardException
public java.lang.String getAggregateName()
public boolean isDistinct()
public java.lang.String toString()
toString
in class UnaryOperatorNode
Copyright © 2013. All Rights Reserved.