|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.join.rep.Node
public class Node
Node is the structure to hold results of event lookups in joined streams. A node holds a set of event which are the result of a lookup in a stream's table. A Node can be linked to its parent node and the event within the parent node, which was the event that was used to perform a lookup.
Constructor Summary | |
---|---|
Node(int stream)
Ctor. |
Method Summary | |
---|---|
java.util.Set<EventBean> |
getEvents()
Returns the results of the lookup. |
Node |
getParent()
Returns the parent node, or null if this is a root node. |
EventBean |
getParentEvent()
Returns lookup event. |
int |
getStream()
Returns the stream number of the stream that supplied the event results. |
void |
setEvents(java.util.Set<EventBean> events)
Store lookup results. |
void |
setParent(Node parent)
Sets the parent node. |
void |
setParentEvent(EventBean parentEvent)
Set the parent lookup (from stream) event whose results (to stream) are stored. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Node(int stream)
stream
- this node stores results forMethod Detail |
---|
public int getStream()
public Node getParent()
public void setParent(Node parent)
parent
- to setpublic EventBean getParentEvent()
public void setParentEvent(EventBean parentEvent)
parentEvent
- is the lookup eventpublic java.util.Set<EventBean> getEvents()
public void setEvents(java.util.Set<EventBean> events)
events
- is a set of events
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |