com.espertech.esper.epl.join.rep
Class Cursor

java.lang.Object
  extended by com.espertech.esper.epl.join.rep.Cursor

public class Cursor
extends java.lang.Object

This class supplies position information for LookupInstructionExec to use for iterating over events for lookup.


Constructor Summary
Cursor(EventBean theEvent, int stream, Node node)
          Ctor.
 
Method Summary
 Node getNode()
          Returns current result node the event belong to.
 int getStream()
          Returns current stream the event belongs to.
 EventBean getTheEvent()
          Supplies current event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cursor

public Cursor(EventBean theEvent,
              int stream,
              Node node)
Ctor.

Parameters:
theEvent - is the current event
stream - is the current stream
node - is the node containing the set of events to which the event belongs to
Method Detail

getTheEvent

public EventBean getTheEvent()
Supplies current event.

Returns:
event

getStream

public int getStream()
Returns current stream the event belongs to.

Returns:
stream number for event

getNode

public Node getNode()
Returns current result node the event belong to.

Returns:
result node of event

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