Class ZeroDepthStreamNoIterate

java.lang.Object
com.espertech.esper.common.internal.view.core.ZeroDepthStreamNoIterate
All Implemented Interfaces:
EventStream, Viewable, Iterable<EventBean>
Direct Known Subclasses:
ZeroDepthStreamNoIterateWAudit

public class ZeroDepthStreamNoIterate extends Object implements EventStream
Event stream implementation that does not keep any window by itself of the events coming into the stream, without the possibility to iterate the last event.
  • Constructor Details

    • ZeroDepthStreamNoIterate

      public ZeroDepthStreamNoIterate(EventType eventType)
      Ctor.
      Parameters:
      eventType - - type of event
  • Method Details

    • insert

      public void insert(EventBean theEvent)
      Description copied from interface: EventStream
      Insert a new event onto the stream.
      Specified by:
      insert in interface EventStream
      Parameters:
      theEvent - to insert
    • insert

      public void insert(EventBean[] events)
      Description copied from interface: EventStream
      Insert new events onto the stream.
      Specified by:
      insert in interface EventStream
      Parameters:
      events - to insert
    • getEventType

      public final EventType getEventType()
      Description copied from interface: Viewable
      Provides metadata information about the type of object the event collection contains.
      Specified by:
      getEventType in interface Viewable
      Returns:
      metadata for the objects in the collection
    • iterator

      public final Iterator<EventBean> iterator()
      Description copied from interface: Viewable
      Allows iteration through all elements in this viewable. The iterator will return the elements in the collection in their natural order, or, if there is no natural ordering, in some unpredictable order.
      Specified by:
      iterator in interface Iterable<EventBean>
      Specified by:
      iterator in interface Viewable
      Returns:
      an iterator which will go through all current elements in the collection.
    • setChild

      public void setChild(View view)
      Specified by:
      setChild in interface Viewable
    • getChild

      public View getChild()
      Specified by:
      getChild in interface Viewable