Top Description Constructors Methods
org.apache.derby.impl.sql.compile

public final Class WindowReferenceNode

extends WindowNode
Class Inheritance
Imports
org.apache.derby.shared.common.error.StandardException, org.apache.derby.iapi.services.context.ContextManager

Represents a reference to an explicitly defined window

Constructor Summary

AccessConstructor and Description
pack-priv
WindowReferenceNode(String
The window name referenced
windowName
,
ContextManager
The context manager
cm
)

Constructor

Method Summary

Modifier and TypeMethod and Description
public String
toString()

Overrides org.apache.derby.impl.sql.compile.QueryTreeNode.toString.

Format this node as a string Each sub-class of QueryTreeNode should implement its own toString() method.

Inherited from org.apache.derby.impl.sql.compile.WindowNode:
getName

Constructor Detail

WindowReferenceNodeback to summary
pack-priv WindowReferenceNode(String windowName, ContextManager cm) throws StandardException

Constructor

Parameters
windowName:String

The window name referenced

cm:ContextManager

The context manager

Method Detail

toStringback to summary
public String toString()

Overrides org.apache.derby.impl.sql.compile.QueryTreeNode.toString.

Doc from org.apache.derby.impl.sql.compile.QueryTreeNode.toString.

Format this node as a string Each sub-class of QueryTreeNode should implement its own toString() method. In each case, toString() should format the class members that are not sub-types of QueryTreeNode (printSubNodes() takes care of following the references to sub-nodes, and toString() takes care of all members that are not sub-nodes). Newlines should be used liberally - one good way to do this is to have a newline at the end of each formatted member. It's also a good idea to put the name of each member in front of the formatted value. For example, the code might look like: "memberName: " + memberName + "\n" + ... Vector members containing subclasses of QueryTreeNode should subclass QueryTreeNodeVector. Such subclasses form a special case: These classes should not implement printSubNodes, since there is generic handling in QueryTreeNodeVector. They should only implement toString if they contain additional members.

Returns:String

This node formatted as a String

Annotations
@Override