public class AggregateNode extends UnaryOperatorNode
methodName, operator, receiverInterfaceType, resultInterfaceTypeAUTOINCREMENT_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.
|
String |
getAggregateName()
Get the name of the aggregate.
|
void |
init(Object operand,
Object uadClass,
Object distinct,
Object aggregateName)
Intializer.
|
boolean |
isDistinct()
Indicate whether this aggregate is distinct or not.
|
String |
toString()
Convert this object to a String.
|
getMethodName, getOperand, getOperator, init, init, isEquivalent, printSubNodes, setOperandgetColumnName, getSchemaName, getSourceResultColumn, getTableName, getType, getTypeId, init, isBinaryEqualsOperatorNode, isBooleanFalse, isBooleanTrue, isConstantExpression, isInListProbeNode, isParameterNode, isRelationalOperator, isSameNodeType, setNullability, setTypeaccept, 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, treePrintpublic void init(Object operand, Object uadClass, Object distinct, Object aggregateName) throws StandardException
init in class QueryTreeNodeoperand - 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 UnaryOperatorNodeStandardExceptionpublic String getAggregateName()
public boolean isDistinct()
public String toString()
toString in class UnaryOperatorNodeCopyright © 2015 FoundationDB, LLC. All rights reserved.