|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.akiban.sql.parser.QueryTreeNode
com.akiban.sql.parser.WindowNode
com.akiban.sql.parser.WindowDefinitionNode
public final class WindowDefinitionNode
This class represents an OLAP window definition.
| Field Summary |
|---|
| Fields inherited from class com.akiban.sql.parser.QueryTreeNode |
|---|
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX |
| Constructor Summary | |
|---|---|
WindowDefinitionNode()
|
|
| Method Summary | |
|---|---|
void |
copyFrom(QueryTreeNode node)
Fill this node with a deep copy of the given node. |
WindowDefinitionNode |
findEquivalentWindow(WindowList wl)
Used to merge equivalent window definitions. |
OrderByList |
getOrderByList()
|
PartitionByList |
getPartitionByList()
|
void |
init(Object arg1,
Object arg2,
Object arg3)
Initializer. |
boolean |
isInline()
|
void |
printSubNodes(int depth)
QueryTreeNode override. |
String |
toString()
java.lang.Object override. |
| Methods inherited from class com.akiban.sql.parser.WindowNode |
|---|
getName, init |
| Methods inherited from class com.akiban.sql.parser.QueryTreeNode |
|---|
accept, convertDefaultNode, debugFlush, debugPrint, formatNodeString, getBeginOffset, getDebugOutput, getEndOffset, getNodeFactory, getNodeType, getNullNode, getParserContext, getStatementType, getUserData, init, init, 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WindowDefinitionNode()
| Method Detail |
|---|
public void init(Object arg1,
Object arg2,
Object arg3)
throws StandardException
init in class QueryTreeNodearg1 - The window name, null if in-lined definitionarg2 - PARTITION BY listarg3 - ORDER BY list
StandardException
public void copyFrom(QueryTreeNode node)
throws StandardException
copyFrom in class WindowNodeStandardExceptionpublic String toString()
toString in class QueryTreeNodeQueryTreeNode.toString()public void printSubNodes(int depth)
printSubNodes in class QueryTreeNodedepth - The depth of this node in the treeQueryTreeNode.printSubNodes(int)public WindowDefinitionNode findEquivalentWindow(WindowList wl)
wl - list of window definitions
public boolean isInline()
public OrderByList getOrderByList()
public PartitionByList getPartitionByList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||