public final class WindowDefinitionNode extends WindowNode
Modifier and Type | Field and Description |
---|---|
private boolean |
inlined
True of the window definition was inlined.
|
private OrderByList |
orderByList
The order by list if the window definition contains a
|
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_CYCLE, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
Constructor and Description |
---|
WindowDefinitionNode(java.lang.String windowName,
OrderByList orderByList,
ContextManager cm)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
(package private) WindowDefinitionNode |
findEquivalentWindow(WindowList wl)
Used to merge equivalent window definitions.
|
(package private) OrderByList |
getOrderByList() |
private boolean |
isEquivalent(WindowDefinitionNode other) |
void |
printSubNodes(int depth)
QueryTreeNode override.
|
java.lang.String |
toString()
java.lang.Object override.
|
getName
accept, acceptChildren, 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 boolean inlined
private OrderByList orderByList
WindowDefinitionNode(java.lang.String windowName, OrderByList orderByList, ContextManager cm) throws StandardException
windowName
- The window name, null if in-lined definitionorderByList
- ORDER BY listcm
- The context managerStandardException
public java.lang.String toString()
toString
in class QueryTreeNode
QueryTreeNode.toString()
public void printSubNodes(int depth)
printSubNodes
in class QueryTreeNode
depth
- The depth of this node in the treeQueryTreeNode.printSubNodes(int)
WindowDefinitionNode findEquivalentWindow(WindowList wl)
wl
- list of window definitionsprivate boolean isEquivalent(WindowDefinitionNode other)
OrderByList getOrderByList()
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.