[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

A data view that aggregates events in a stream and releases them in one batch at every specified time interval. The view works similar to a time_window but in not continuous. The view releases the batched events after the interval as new data to child views. The prior batch if not empty is released as old data to child view. The view doesn't release intervals with no old or new data. It also does not GetSelectListEvents old data published by a parent view.

For example, we want to calculate the average of IBM stock every hour, for the last hour. The view accepts 2 parameter combinations. (1) A time interval is supplied with a reference point - based on this point the intervals are set. (1) A time interval is supplied but no reference point - the reference point is set when the first event arrives.

If there are no events in the current and prior batch, the view will not invoke the update method of child views. In that case also, no next callback is scheduled with the scheduling service until the next event arrives.

Namespace: net.esper.view.window
Assembly:   NEsper (in NEsper.dll)

Syntax

Visual Basic (Declaration)
Public NotInheritable Class TimeBatchView _
	Inherits ViewSupport _
	Implements ContextAwareView
C#
public sealed class TimeBatchView : ViewSupport, ContextAwareView
Visual C++
public ref class TimeBatchView sealed : public ViewSupport, ContextAwareView

Inheritance Hierarchy

System.Object
  net.esper.view.ViewSupport
    net.esper.view.window.TimeBatchView