public class GroupByColumn extends OrderedColumn
| Modifier and Type | Field and Description |
|---|---|
private ValueNode |
columnExpression |
columnPosition, UNMATCHEDPOSITIONAUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX| Constructor and Description |
|---|
GroupByColumn() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
acceptChildren(Visitor v)
Accept the visitor for all visitable children of this node.
|
void |
bindExpression(FromList fromList,
SubqueryList subqueryList,
java.util.List aggregateVector)
Bind this grouping column.
|
ValueNode |
getColumnExpression() |
java.lang.String |
getColumnName()
Get the name of this column
|
void |
init(java.lang.Object colRef)
Initializer.
|
void |
printSubNodes(int depth)
Prints the sub-nodes of this object.
|
void |
setColumnExpression(ValueNode cexpr) |
getColumnPosition, isAscending, isNullsOrderedLow, setColumnPosition, toStringaccept, bindOffsetFetch, bindRowMultiSet, bindUserCatalogType, bindUserType, checkReliability, checkReliability, convertDefaultNode, createTypeDependency, debugFlush, debugPrint, disablePrivilegeCollection, formatNodeString, foundString, generate, generateAuthorizeCheck, getBeginOffset, getClassFactory, getCompilerContext, getContextManager, getCursorInfo, getDataDictionary, getDependencyManager, getEndOffset, getExecutionFactory, getGenericConstantActionFactory, getIntProperty, getLanguageConnectionContext, getNodeFactory, getNodeType, getNullNode, getParameterTypes, getSchemaDescriptor, getSchemaDescriptor, getStatementType, getTableDescriptor, getTypeCompiler, init, init, init, init, init, init, init, init, init, init, init, init, init, isAtomic, isInstanceOf, isPrivilegeCollectionRequired, isSessionSchema, isSessionSchema, makeConstantAction, makeTableName, makeTableName, nodeHeader, orReliability, parseStatement, printLabel, referencesSessionSchema, resolveTableToSynonym, setBeginOffset, setContextManager, setEndOffset, setNodeType, setRefActionInfo, stackPrint, treePrint, treePrint, verifyClassExistprivate ValueNode columnExpression
public void init(java.lang.Object colRef)
init in interface Nodeinit in class QueryTreeNodecolRef - The ColumnReference for the grouping columnpublic void printSubNodes(int depth)
printSubNodes in class QueryTreeNodedepth - The depth of this node in the treepublic java.lang.String getColumnName()
public void bindExpression(FromList fromList, SubqueryList subqueryList, java.util.List aggregateVector) throws StandardException
fromList - The FROM list to use for bindingsubqueryList - The SubqueryList we are building as we hit
SubqueryNodes.aggregateVector - The aggregate vector we build as we hit
AggregateNodes.StandardException - Thrown on errorpublic ValueNode getColumnExpression()
public void setColumnExpression(ValueNode cexpr)
void acceptChildren(Visitor v) throws StandardException
acceptChildren in class QueryTreeNodev - the visitorStandardException - on errorApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.