com.espertech.esper.view
Interface EventStream

All Superinterfaces:
EventCollection, java.lang.Iterable<EventBean>, Viewable
All Known Implementing Classes:
ZeroDepthStreamIterable, ZeroDepthStreamNoIterate

public interface EventStream
extends Viewable

A streams is a conduct for incoming events. Incoming data is placed into streams for consumption by queries.


Method Summary
 void insert(EventBean theEvent)
          Insert a new event onto the stream.
 void insert(EventBean[] events)
          Insert new events onto the stream.
 
Methods inherited from interface com.espertech.esper.view.Viewable
addView, getViews, hasViews, removeAllViews, removeView
 
Methods inherited from interface com.espertech.esper.view.EventCollection
getEventType, iterator
 

Method Detail

insert

void insert(EventBean[] events)
Insert new events onto the stream.

Parameters:
events - to insert

insert

void insert(EventBean theEvent)
Insert a new event onto the stream.

Parameters:
theEvent - to insert

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