Class SubselectBufferObserver
java.lang.Object
com.espertech.esper.common.internal.epl.subselect.SubselectBufferObserver
- All Implemented Interfaces:
BufferObserver
Observer to a buffer that is filled by a subselect view when it posts events,
to be added and removed from indexes.
-
Constructor Summary
ConstructorDescriptionSubselectBufferObserver
(EventTable[] eventIndex, ExprEvaluatorContext exprEvaluatorContext) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
newData
(int streamId, FlushedEventBuffer newEventBuffer, FlushedEventBuffer oldEventBuffer) Receive new and old events from a stream.
-
Constructor Details
-
SubselectBufferObserver
Ctor.- Parameters:
eventIndex
- index to updateexprEvaluatorContext
- agent instance context
-
-
Method Details
-
newData
public void newData(int streamId, FlushedEventBuffer newEventBuffer, FlushedEventBuffer oldEventBuffer) Description copied from interface:BufferObserver
Receive new and old events from a stream.- Specified by:
newData
in interfaceBufferObserver
- Parameters:
streamId
- - the stream number sending the eventsnewEventBuffer
- - buffer for new eventsoldEventBuffer
- - buffer for old events
-