|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.join.rep.RepositoryImpl
public class RepositoryImpl
Implements a repository for join events and lookup results.
Constructor Summary | |
---|---|
RepositoryImpl(int rootStream,
EventBean rootEvent,
int numStreams)
Ctor. |
Method Summary | |
---|---|
void |
addResult(Cursor cursor,
java.util.Set<EventBean> lookupResults,
int resultStream)
Add a lookup result. |
java.util.Iterator<Cursor> |
getCursors(int lookupFromStream)
Supply events for performing look ups for a given stream. |
java.util.List<Node>[] |
getNodesPerStream()
Returns a list of nodes that are the lookup results per stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RepositoryImpl(int rootStream, EventBean rootEvent, int numStreams)
rootStream
- is the stream supplying the root eventrootEvent
- is the root eventnumStreams
- is the number of streamsMethod Detail |
---|
public java.util.Iterator<Cursor> getCursors(int lookupFromStream)
Repository
getCursors
in interface Repository
lookupFromStream
- is the stream to perform lookup for
public void addResult(Cursor cursor, java.util.Set<EventBean> lookupResults, int resultStream)
Repository
addResult
in interface Repository
cursor
- provides result position and parent event and node informationlookupResults
- is the events foundresultStream
- is the stream number of the stream providing the resultspublic java.util.List<Node>[] getNodesPerStream()
|
© 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 |