tibasEventBrowserDef_SetTimeScope()

Sets the time scope associated with the event browser.

Declaration

tibas_status tibasEventBrowserDef_SetTimeScope
(tibasEventBrowserDef eventBrowserDef,
int_timescope     timescope)

Parameters

Parameter Description
eventBrowserDef Specifies the eventBrowserDef for which you want to return a time scope value.
timescope The time scope value for the event browser. The time scope can be one of the following:
  • TIBAS_TIME_SCOPE_SNAPSHOT
  • TIBAS_TIME_SCOPE_NEW
  • TIBAS_TIME_SCOPE_NEW_EVENTS
  • TIBAS_TIME_SCOPE_ALL (the default).

Remarks

Use the tibasEventBrowserDef_SetTimeScope() function to set the time scope associated with a specified eventBrowserDef.

The time scope value can be one of the following:

TIBAS_TIME_SCOPE_ALL
The event browser starts with all the events currently in the space at creation time (which will be presented as an initial set of PUT events) and then is continuously updated according to changes in the space.
TIBAS_TIME_SCOPE_SNAPSHOT
The event browser contains only PUT events corresponding to the tuples stored in the space at creation time.
TIBAS_TIME_SCOPE_NEW
The event browser starts empty and is updated only with events related to new or updated tuples in the space.
TIBAS_TIME_SCOPE_NEW_EVENTS
The event browser starts empty and is updated with all events that occur in the space after creation time.