Class WeightedAverageViewForge
java.lang.Object
com.espertech.esper.common.internal.view.core.ViewFactoryForgeBase
com.espertech.esper.common.internal.view.derived.ViewFactoryForgeBaseDerived
com.espertech.esper.common.internal.view.derived.WeightedAverageViewForge
- All Implemented Interfaces:
CodegenMakeable<SAIFFInitializeSymbol>
,ViewFactoryForge
Factory for
WeightedAverageView
instances.-
Field Summary
Fields inherited from class com.espertech.esper.common.internal.view.derived.ViewFactoryForgeBaseDerived
additionalProps, viewParameters
Fields inherited from class com.espertech.esper.common.internal.view.core.ViewFactoryForgeBase
eventType, stateMgmtSettings
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> T
accept
(ViewFactoryForgeVisitor<T> visitor) void
assign
(CodegenMethod method, CodegenExpressionRef factory, SAIFFInitializeSymbol symbols, CodegenClassScope classScope) void
attachValidate
(EventType parentEventType, ViewForgeEnv viewForgeEnv) initAdditionalForgeables
(ViewForgeEnv viewForgeEnv) void
setViewParameters
(List<ExprNode> parameters, ViewForgeEnv viewForgeEnv, int streamNumber) Methods inherited from class com.espertech.esper.common.internal.view.derived.ViewFactoryForgeBaseDerived
getAdditionalProps, getViewParameters
Methods inherited from class com.espertech.esper.common.internal.view.core.ViewFactoryForgeBase
assignStateMgmtSettings, attach, getEventType, make
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.espertech.esper.common.internal.view.core.ViewFactoryForge
accept, getInnerForges
-
Field Details
-
fieldNameX
-
fieldNameWeight
-
-
Constructor Details
-
WeightedAverageViewForge
public WeightedAverageViewForge()
-
-
Method Details
-
setViewParameters
public void setViewParameters(List<ExprNode> parameters, ViewForgeEnv viewForgeEnv, int streamNumber) throws ViewParameterException - Throws:
ViewParameterException
-
attachValidate
public void attachValidate(EventType parentEventType, ViewForgeEnv viewForgeEnv) throws ViewParameterException - Specified by:
attachValidate
in classViewFactoryForgeBase
- Throws:
ViewParameterException
-
initAdditionalForgeables
-
typeOfFactory
- Specified by:
typeOfFactory
in classViewFactoryForgeBase
-
factoryMethod
- Specified by:
factoryMethod
in classViewFactoryForgeBase
-
assign
public void assign(CodegenMethod method, CodegenExpressionRef factory, SAIFFInitializeSymbol symbols, CodegenClassScope classScope) - Specified by:
assign
in classViewFactoryForgeBase
-
getViewName
-
appliesTo
- Specified by:
appliesTo
in classViewFactoryForgeBase
-
accept
-