Class WeightedAverageViewFactory
java.lang.Object
com.espertech.esper.common.internal.view.derived.WeightedAverageViewFactory
- All Implemented Interfaces:
ViewFactory
Factory for
WeightedAverageView
instances.-
Field Summary
Modifier and TypeFieldDescriptionprotected StatViewAdditionalPropsEval
static final EPTypeClass
protected EventType
protected ExprEvaluator
protected ExprEvaluator
Fields inherited from interface com.espertech.esper.common.internal.view.core.ViewFactory
EMPTY_ARRAY, EPTYPEARRAY, EPTYPEARRAYARRAY, SINGLE_ELEMENT_ARRAY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(ViewFactoryContext viewFactoryContext, EPStatementInitServices services) makeView
(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext) void
setAdditionalProps
(StatViewAdditionalPropsEval additionalProps) void
setEventType
(EventType eventType) void
setFieldNameWeightEvaluator
(ExprEvaluator fieldNameWeightEvaluator) void
setFieldNameXEvaluator
(ExprEvaluator fieldNameXEvaluator)
-
Field Details
-
EPTYPE
-
fieldNameXEvaluator
-
fieldNameWeightEvaluator
-
additionalProps
-
eventType
-
-
Constructor Details
-
WeightedAverageViewFactory
public WeightedAverageViewFactory()
-
-
Method Details
-
init
- Specified by:
init
in interfaceViewFactory
-
makeView
- Specified by:
makeView
in interfaceViewFactory
-
getEventType
- Specified by:
getEventType
in interfaceViewFactory
-
setFieldNameXEvaluator
-
setFieldNameWeightEvaluator
-
setAdditionalProps
-
setEventType
- Specified by:
setEventType
in interfaceViewFactory
-
getFieldNameXEvaluator
-
getFieldNameWeightEvaluator
-
getAdditionalProps
-
getViewName
- Specified by:
getViewName
in interfaceViewFactory
-