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

    Modifier and Type
    Method
    Description
    void
    addResult(Cursor cursor, Set<EventBean> lookupResults, int resultStream)
    Add a lookup result.
    getCursors(int lookupStream)
    Supply events for performing look ups for a given stream.
  • Method Details

    • getCursors

      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, 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