[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.

The following tables list the members exposed by the TimeBatchView type.

Public Properties

  NameDescription
EventType
Provides metadata information about the type of object the event collection contains.
(Overrides .EventType.)
HasViews
Test is there are any views to the Viewable.
(Inherited from ViewSupport.)
Id
Gets the unique id for the view
(Inherited from ViewSupport.)
InitialReferencePoint
Gets or sets the reference point to use to anchor interval Start and end dates to.

MsecIntervalSize
Gets or sets the interval size in milliseconds.

Parent
Gets or sets the View's parent Viewable.
(Inherited from ViewSupport.)
ViewServiceContext
Gets or sets the context instances used by the view.