public class RegressionLinestView extends BaseBivariateStatisticsView
BaseStatisticsBean
instance for the calculations, it also returns this bean as the result.
This class accepts most of its behaviour from its parent, BaseBivariateStatisticsView
. It adds
the usage of the regression bean and the appropriate schema.additionalProps, agentInstanceContext, eventType, lastValuesEventNew, statisticsBean, viewFactory
child, parent
Constructor and Description |
---|
RegressionLinestView(ViewFactory viewFactory,
AgentInstanceContext agentInstanceContext,
ExprEvaluator xEval,
ExprEvaluator yEval,
EventType eventType,
StatViewAdditionalPropsEval additionalProps) |
Modifier and Type | Method and Description |
---|---|
protected static EventType |
createEventType(StatViewAdditionalPropsForge additionalProps,
ViewForgeEnv env,
int streamNum) |
static EventBean |
doPopulateMap(BaseStatisticsBean baseStatisticsBean,
EventBeanTypedEventFactory eventAdapterService,
EventType eventType,
StatViewAdditionalPropsEval additionalProps,
Object[] decoration) |
EventType |
getEventType()
Provides metadata information about the type of object the event collection contains.
|
EventBean |
populateMap(BaseStatisticsBean baseStatisticsBean,
EventBeanTypedEventFactory eventAdapterService,
EventType eventType,
StatViewAdditionalPropsEval additionalProps,
Object[] decoration)
Populate bean.
|
getAdditionalProps, getExpressionXEval, getExpressionYEval, getLastValuesEventNew, getStatisticsBean, getViewFactory, iterator, setLastValuesEventNew, update
getChild, getParent, setChild, setParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParent, setParent
getChild, setChild
forEach, spliterator
public RegressionLinestView(ViewFactory viewFactory, AgentInstanceContext agentInstanceContext, ExprEvaluator xEval, ExprEvaluator yEval, EventType eventType, StatViewAdditionalPropsEval additionalProps)
public EventType getEventType()
Viewable
public EventBean populateMap(BaseStatisticsBean baseStatisticsBean, EventBeanTypedEventFactory eventAdapterService, EventType eventType, StatViewAdditionalPropsEval additionalProps, Object[] decoration)
BaseBivariateStatisticsView
populateMap
in class BaseBivariateStatisticsView
baseStatisticsBean
- resultseventAdapterService
- event adapterseventType
- typeadditionalProps
- additional propsdecoration
- decoration valuespublic static EventBean doPopulateMap(BaseStatisticsBean baseStatisticsBean, EventBeanTypedEventFactory eventAdapterService, EventType eventType, StatViewAdditionalPropsEval additionalProps, Object[] decoration)
protected static EventType createEventType(StatViewAdditionalPropsForge additionalProps, ViewForgeEnv env, int streamNum)
Copyright © 2005–2018. All rights reserved.