com.espertech.esper.epl.variable
Class OnSetVariableViewFactory

java.lang.Object
  extended by com.espertech.esper.epl.variable.OnSetVariableViewFactory

public class OnSetVariableViewFactory
extends java.lang.Object

A factory for a view that handles the setting of variables upon receipt of a triggering event.


Constructor Summary
OnSetVariableViewFactory(java.lang.String statementId, OnTriggerSetDesc desc, EventAdapterService eventAdapterService, VariableService variableService, StatementResultService statementResultService, ExprEvaluatorContext exprEvaluatorContext)
          Ctor.
 
Method Summary
 EventAdapterService getEventAdapterService()
           
 EventType getEventType()
           
 StatementResultService getStatementResultService()
           
 VariableReadWritePackage getVariableReadWritePackage()
           
 VariableService getVariableService()
           
 OnSetVariableView instantiate(ExprEvaluatorContext exprEvaluatorContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OnSetVariableViewFactory

public OnSetVariableViewFactory(java.lang.String statementId,
                                OnTriggerSetDesc desc,
                                EventAdapterService eventAdapterService,
                                VariableService variableService,
                                StatementResultService statementResultService,
                                ExprEvaluatorContext exprEvaluatorContext)
                         throws ExprValidationException
Ctor.

Parameters:
desc - specification for the on-set statement
eventAdapterService - for creating statements
variableService - for setting variables
statementResultService - for coordinating on whether insert and remove stream events should be posted
exprEvaluatorContext - context for expression evalauation
Throws:
ExprValidationException - if the assignment expressions are invalid
Method Detail

instantiate

public OnSetVariableView instantiate(ExprEvaluatorContext exprEvaluatorContext)

getEventType

public EventType getEventType()

getEventAdapterService

public EventAdapterService getEventAdapterService()

getVariableService

public VariableService getVariableService()

getVariableReadWritePackage

public VariableReadWritePackage getVariableReadWritePackage()

getStatementResultService

public StatementResultService getStatementResultService()

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com