com.espertech.esper.view.window
Class ExpressionBatchViewFactory

java.lang.Object
  extended by com.espertech.esper.view.window.ExpressionViewFactoryBase
      extended by com.espertech.esper.view.window.ExpressionBatchViewFactory
All Implemented Interfaces:
DataWindowBatchingViewFactory, DataWindowViewFactory, DataWindowViewWithPrevious, ViewFactory

public class ExpressionBatchViewFactory
extends ExpressionViewFactoryBase
implements DataWindowBatchingViewFactory

Factory for ExpressionBatchView.


Field Summary
protected  boolean includeTriggeringEvent
           
 
Fields inherited from class com.espertech.esper.view.window.ExpressionViewFactoryBase
aggregationServiceFactoryDesc, builtinMapType, expiryExpression, variableNames
 
Constructor Summary
ExpressionBatchViewFactory()
           
 
Method Summary
 java.lang.String getViewName()
          Returns the name of the view, not namespace+name but readable name.
 boolean isIncludeTriggeringEvent()
           
 java.lang.Object makePreviousGetter()
           
 View makeView(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext)
          Create a new view.
 void setViewParameters(ViewFactoryContext viewFactoryContext, java.util.List<ExprNode> expressionParameters)
          Indicates user EPL query view parameters to the view factory.
 
Methods inherited from class com.espertech.esper.view.window.ExpressionViewFactoryBase
attach, canReuse, getBuiltinMapType, getEventType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

includeTriggeringEvent

protected boolean includeTriggeringEvent
Constructor Detail

ExpressionBatchViewFactory

public ExpressionBatchViewFactory()
Method Detail

setViewParameters

public void setViewParameters(ViewFactoryContext viewFactoryContext,
                              java.util.List<ExprNode> expressionParameters)
                       throws ViewParameterException
Description copied from interface: ViewFactory
Indicates user EPL query view parameters to the view factory.

Specified by:
setViewParameters in interface ViewFactory
Parameters:
viewFactoryContext - supplied context information for the view factory
expressionParameters - is the objects representing the view parameters
Throws:
ViewParameterException - if the parameters don't match view parameter needs

makeView

public View makeView(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext)
Description copied from interface: ViewFactory
Create a new view.

Specified by:
makeView in interface ViewFactory

makePreviousGetter

public java.lang.Object makePreviousGetter()
Specified by:
makePreviousGetter in interface DataWindowViewWithPrevious

isIncludeTriggeringEvent

public boolean isIncludeTriggeringEvent()

getViewName

public java.lang.String getViewName()
Description copied from interface: ViewFactory
Returns the name of the view, not namespace+name but readable name.

Specified by:
getViewName in interface ViewFactory
Returns:
readable name

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