com.espertech.esper.core.context.subselect
Class SubSelectActivationCollection

java.lang.Object
  extended by com.espertech.esper.core.context.subselect.SubSelectActivationCollection

public class SubSelectActivationCollection
extends java.lang.Object

Holds stream information for subqueries.


Constructor Summary
SubSelectActivationCollection()
          Ctor.
 
Method Summary
 void add(ExprSubselectNode subselectNode, SubSelectActivationHolder holder)
          Add lookup.
 EventType getRootViewableType(ExprSubselectNode subqueryNode)
          Returns the lookup viewable, child-most view.
 int getStreamNumber(ExprSubselectNode subqueryNode)
          Returns stream number.
 java.util.Map<ExprSubselectNode,SubSelectActivationHolder> getSubqueries()
           
 SubSelectActivationHolder getSubSelectHolder(ExprSubselectNode subselectNode)
           
 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

SubSelectActivationCollection

public SubSelectActivationCollection()
Ctor.

Method Detail

add

public void add(ExprSubselectNode subselectNode,
                SubSelectActivationHolder holder)
Add lookup.

Parameters:
subselectNode - is the subselect expression node

getSubSelectHolder

public SubSelectActivationHolder getSubSelectHolder(ExprSubselectNode subselectNode)

getStreamNumber

public int getStreamNumber(ExprSubselectNode subqueryNode)
Returns stream number.

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

getRootViewableType

public EventType getRootViewableType(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

getSubqueries

public java.util.Map<ExprSubselectNode,SubSelectActivationHolder> getSubqueries()

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com