Class SubselectBufferObserver

java.lang.Object
com.espertech.esper.common.internal.epl.subselect.SubselectBufferObserver
All Implemented Interfaces:
BufferObserver

public class SubselectBufferObserver extends Object implements BufferObserver
Observer to a buffer that is filled by a subselect view when it posts events, to be added and removed from indexes.
  • Constructor Details

    • SubselectBufferObserver

      public SubselectBufferObserver(EventTable[] eventIndex, ExprEvaluatorContext exprEvaluatorContext)
      Ctor.
      Parameters:
      eventIndex - index to update
      exprEvaluatorContext - 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 interface BufferObserver
      Parameters:
      streamId - - the stream number sending the events
      newEventBuffer - - buffer for new events
      oldEventBuffer - - buffer for old events