java.lang.Object
com.espertech.esper.common.internal.epl.namedwindow.consume.NamedWindowDeltaData

public class NamedWindowDeltaData extends Object
A holder for events posted by a named window as an insert and remove stream.
  • Constructor Details

    • NamedWindowDeltaData

      public NamedWindowDeltaData(EventBean[] newData, EventBean[] oldData)
      Ctor.
      Parameters:
      newData - is the insert stream events, or null if none
      oldData - is the remove stream events, or null if none
    • NamedWindowDeltaData

      public NamedWindowDeltaData(NamedWindowDeltaData deltaOne, NamedWindowDeltaData deltaTwo)
      Ctor aggregates two deltas into a single delta.
      Parameters:
      deltaOne - is the insert and remove stream events of a first result
      deltaTwo - is the insert and remove stream events of a second result
  • Method Details

    • getNewData

      public EventBean[] getNewData()
      Returns the insert stream events.
      Returns:
      insert stream
    • getOldData

      public EventBean[] getOldData()
      Returns the remove stream events.
      Returns:
      remove stream