Class VirtualDataWindowForgeContext
java.lang.Object
com.espertech.esper.common.client.hook.vdw.VirtualDataWindowForgeContext
Context for use with virtual data window forge
VirtualDataWindowForge
provides
contextual information about the named window and the type of events held.-
Constructor Summary
ConstructorDescriptionVirtualDataWindowForgeContext
(EventType eventType, Object[] parameters, ExprNode[] parameterExpressions, String namedWindowName, ViewForgeEnv viewForgeEnv, Serializable customConfiguration) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns any additional configuration provided.Returns the event type of the events held in the virtual data window as per declaration of the named window.Returns the name of the named window used in connection with the virtual data window.ExprNode[]
Returns the expressions passed as parameters to the virtual data window.Object[]
Returns the parameters passed; for example "create window ABC.my:vdw("10.0.0.1")" passes one paramater here.Returns the view forge environment
-
Constructor Details
-
VirtualDataWindowForgeContext
public VirtualDataWindowForgeContext(EventType eventType, Object[] parameters, ExprNode[] parameterExpressions, String namedWindowName, ViewForgeEnv viewForgeEnv, Serializable customConfiguration) Ctor.- Parameters:
eventType
- the event type that the named window is declared to hold.parameters
- the parameters passed when declaring the named window, for example "create window ABC.my:vdw("10.0.0.1")" passes one paramater here.namedWindowName
- the name of the named windowparameterExpressions
- parameter expressions passed to the virtual data windowcustomConfiguration
- additional configurationviewForgeEnv
- view forge environment
-
-
Method Details
-
getEventType
Returns the event type of the events held in the virtual data window as per declaration of the named window.- Returns:
- event type
-
getParameters
Returns the parameters passed; for example "create window ABC.my:vdw("10.0.0.1")" passes one paramater here.- Returns:
- parameters
-
getNamedWindowName
Returns the name of the named window used in connection with the virtual data window.- Returns:
- named window
-
getParameterExpressions
Returns the expressions passed as parameters to the virtual data window.- Returns:
- parameter expressions
-
getCustomConfiguration
Returns any additional configuration provided.- Returns:
- additional config
-
getViewForgeEnv
Returns the view forge environment- Returns:
- view forge environment
-