Visitable
class GroupByColumn extends OrderedColumn
Modifier and Type | Field | Description |
---|---|---|
private ValueNode |
columnExpression |
columnPosition, UNMATCHEDPOSITION
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_CYCLE, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
Constructor | Description |
---|---|
GroupByColumn(ValueNode colRef,
ContextManager cm) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
(package private) void |
acceptChildren(Visitor v) |
Accept the visitor for all visitable children of this node.
|
(package private) void |
bindExpression(FromList fromList,
SubqueryList subqueryList,
java.util.List<AggregateNode> aggregates) |
Bind this grouping column.
|
(package private) ValueNode |
getColumnExpression() |
|
(package private) java.lang.String |
getColumnName() |
Get the name of this column
|
(package private) void |
printSubNodes(int depth) |
Prints the sub-nodes of this object.
|
(package private) void |
setColumnExpression(ValueNode cexpr) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getColumnPosition, isAscending, isNullsOrderedLow, setColumnPosition, toString
accept, addTag, addUDTUsagePriv, addUDTUsagePriv, bindOffsetFetch, bindRowMultiSet, bindUserCatalogType, bindUserType, checkReliability, checkReliability, convertDefaultNode, copyTagsFrom, createTypeDependency, debugFlush, debugPrint, disablePrivilegeCollection, formatNodeString, generate, generateAuthorizeCheck, getBeginOffset, getClassFactory, getCompilerContext, getContext, getContextManager, getDataDictionary, getDependencyManager, getEndOffset, getExecutionFactory, getGenericConstantActionFactory, getIntProperty, getLanguageConnectionContext, getLongProperty, getNullNode, getOffsetOrderedNodes, getOptimizerFactory, getOptimizerTracer, getParameterTypes, getSchemaDescriptor, getSchemaDescriptor, getStatementType, getTableDescriptor, getTypeCompiler, getUDTDesc, isAtomic, isPrivilegeCollectionRequired, isSessionSchema, isSessionSchema, makeConstantAction, makeTableName, makeTableName, nodeHeader, optimizerTracingIsOn, orReliability, parseSearchCondition, parseStatement, printLabel, referencesSessionSchema, resolveTableToSynonym, setBeginOffset, setEndOffset, setRefActionInfo, stackPrint, taggedWith, treePrint, treePrint, verifyClassExist
private ValueNode columnExpression
GroupByColumn(ValueNode colRef, ContextManager cm)
colRef
- The ColumnReference for the grouping columncm
- The context managervoid printSubNodes(int depth)
printSubNodes
in class QueryTreeNode
depth
- The depth of this node in the treejava.lang.String getColumnName()
void bindExpression(FromList fromList, SubqueryList subqueryList, java.util.List<AggregateNode> aggregates) throws StandardException
fromList
- The FROM list to use for bindingsubqueryList
- The SubqueryList we are building as we hit
SubqueryNodes.aggregates
- The aggregate list we build as we hit
AggregateNodes.StandardException
- Thrown on errorValueNode getColumnExpression()
void setColumnExpression(ValueNode cexpr)
void acceptChildren(Visitor v) throws StandardException
acceptChildren
in class QueryTreeNode
v
- the visitorStandardException
- on errorApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.