public class VirtualDataWindowFactoryContext extends Object
VirtualDataWindowFactory
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.Constructor and Description |
---|
VirtualDataWindowFactoryContext(EventType eventType,
Object[] parameters,
ExprNode[] parameterExpressions,
EventBeanFactory eventFactory,
String namedWindowName,
ViewFactoryContext viewFactoryContext,
Serializable customConfiguration)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Serializable |
getCustomConfiguration()
Returns any additional configuration provided.
|
EventBeanFactory |
getEventFactory()
Returns the factory for creating instances of EventBean from rows.
|
EventType |
getEventType()
Returns the event type of the events held in the virtual data window as per declaration of the named window.
|
String |
getNamedWindowName()
Returns the name of the named window used in connection with the virtual data window.
|
ExprNode[] |
getParameterExpressions()
Returns the expressions passed as parameters to the virtual data window.
|
Object[] |
getParameters()
Returns the parameters passed; for example "create window ABC.my:vdw("10.0.0.1")" passes one paramater here.
|
StatementContext |
getStatementContext()
Returns the statement contextual information and services.
|
ViewFactoryContext |
getViewFactoryContext()
Returns the engine services context.
|
public VirtualDataWindowFactoryContext(EventType eventType, Object[] parameters, ExprNode[] parameterExpressions, EventBeanFactory eventFactory, String namedWindowName, ViewFactoryContext viewFactoryContext, Serializable customConfiguration)
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.eventFactory
- factory for converting row objects to EventBean instancesnamedWindowName
- the name of the named windowparameterExpressions
- parameter expressions passed to the virtual data windowviewFactoryContext
- context of servicescustomConfiguration
- additional configurationpublic EventType getEventType()
public Object[] getParameters()
public EventBeanFactory getEventFactory()
public String getNamedWindowName()
public ExprNode[] getParameterExpressions()
public ViewFactoryContext getViewFactoryContext()
public Serializable getCustomConfiguration()
public StatementContext getStatementContext()