com.espertech.esper.core
Class SubSelectStreamCollection

java.lang.Object
  extended by com.espertech.esper.core.SubSelectStreamCollection

public class SubSelectStreamCollection
extends Object

Holds stream information for subqueries.


Constructor Summary
SubSelectStreamCollection()
          Ctor.
 
Method Summary
 void add(ExprSubselectNode subselectNode, int streamNumber, Viewable viewable, ViewFactoryChain viewFactoryChain)
          Add lookup.
 Viewable getRootViewable(ExprSubselectNode subqueryNode)
          Returns the lookup viewable, child-most view.
 int getStreamNumber(ExprSubselectNode subqueryNode)
          Returns stream number.
 ViewFactoryChain getViewFactoryChain(ExprSubselectNode subqueryNode)
          Returns the lookup's view factory chain.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubSelectStreamCollection

public SubSelectStreamCollection()
Ctor.

Method Detail

add

public void add(ExprSubselectNode subselectNode,
                int streamNumber,
                Viewable viewable,
                ViewFactoryChain viewFactoryChain)
Add lookup.

Parameters:
subselectNode - is the subselect expression node
streamNumber - is the lookup stream number
viewable - is the lookup viewable
viewFactoryChain - is the chain of view factories

getStreamNumber

public int getStreamNumber(ExprSubselectNode subqueryNode)
Returns stream number.

Parameters:
subqueryNode - is the lookup node's stream number
Returns:
number of stream

getRootViewable

public Viewable getRootViewable(ExprSubselectNode subqueryNode)
Returns the lookup viewable, child-most view.

Parameters:
subqueryNode - is the expression node to get this for
Returns:
child viewable

getViewFactoryChain

public ViewFactoryChain getViewFactoryChain(ExprSubselectNode subqueryNode)
Returns the lookup's view factory chain.

Parameters:
subqueryNode - is the node to look for
Returns:
view factory chain

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com