com.espertech.esper.view.window
Class ExpressionWindowViewFactory

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

public class ExpressionWindowViewFactory
extends ExpressionViewFactoryBase

Factory for ExpressionWindowView.


Field Summary
 
Fields inherited from class com.espertech.esper.view.window.ExpressionViewFactoryBase
aggregationServiceFactoryDesc, builtinMapType, expiryExpression, variableNames
 
Constructor Summary
ExpressionWindowViewFactory()
           
 
Method Summary
 java.lang.String getViewName()
          Returns the name of the view, not namespace+name but readable name.
 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
 

Constructor Detail

ExpressionWindowViewFactory

public ExpressionWindowViewFactory()
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.

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.


makePreviousGetter

public java.lang.Object makePreviousGetter()

getViewName

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

Returns:
readable name

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