Click or drag to resize

VirtualDataWindowContext Class

Context for use with virtual data window factory provides contextual information about the named window and the type of events held, handle for posting insert and remove streams and factory for event bean instances.
Inheritance Hierarchy
SystemObject
  com.espertech.esper.common.client.hook.vdwVirtualDataWindowContext

Namespace:  com.espertech.esper.common.client.hook.vdw
Assembly:  NEsper.Common (in NEsper.Common.dll) Version: 8.0.0.0
Syntax
C#
public class VirtualDataWindowContext

The VirtualDataWindowContext type exposes the following members.

Constructors
  NameDescription
Public methodVirtualDataWindowContext
Ctor.
Top
Properties
  NameDescription
Public propertyAgentInstanceContext
Returns the agent instance (context partition) context.
Public propertyAgentInstanceViewFactoryContext
Returns the agent instance context
Public propertyEventFactory
Returns the factory for creating instances of EventBean from rows.
Public propertyEventType
Returns the event type of the events held in the virtual data window as per declaration of the named window.
Public propertyFactory
Returns the factory
Public propertyNamedWindowName
Returns the name of the named window used in connection with the virtual data window.
Public propertyOutputStream
Returns a handle for use to send insert and remove stream data to consuming statements.

Typically use "context.getOutputStream().update(newData, oldData);" in the update method of the virtual data window.

Public propertyParameterExpressions
Returns the expressions passed as parameters to the virtual data window.
Public propertyParameters
Returns the parameters passed; for example "create window ABC.my:vdw("10.0.0.1")" passes one paramater here.
Public propertyStatementContext
Returns the statement context which holds statement information (name, expression, id) and statement-level services.
Top
See Also