com.espertech.esper.epl.join.rep
Interface Repository

All Known Implementing Classes:
RepositoryImpl

public interface Repository

An interface for a repository of events in a lookup/join scheme that supplies events for event stream table lookups and receives results of lookups.


Method Summary
 void addResult(Cursor cursor, java.util.Set<EventBean> lookupResults, int resultStream)
          Add a lookup result.
 java.util.Iterator<Cursor> getCursors(int lookupStream)
          Supply events for performing look ups for a given stream.
 

Method Detail

getCursors

java.util.Iterator<Cursor> getCursors(int lookupStream)
Supply events for performing look ups for a given stream.

Parameters:
lookupStream - is the stream to perform lookup for
Returns:
an iterator over events with additional positioning information

addResult

void addResult(Cursor cursor,
               java.util.Set<EventBean> lookupResults,
               int resultStream)
Add a lookup result.

Parameters:
cursor - provides result position and parent event and node information
lookupResults - is the events found
resultStream - is the stream number of the stream providing the results

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