public class CorrelationView 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 correlation bean and the appropriate schema.additionalProps, agentInstanceContext, eventType, lastValuesEventNew, statisticsBean, viewFactory
child, parent
Constructor and Description |
---|
CorrelationView(ViewFactory viewFactory,
AgentInstanceContext agentInstanceContext,
ExprEvaluator xExpressionEval,
ExprEvaluator yExpressionEval,
EventType eventType,
StatViewAdditionalPropsEval additionalProps) |
Modifier and Type | Method and Description |
---|---|
protected static EventType |
createEventType(StatViewAdditionalPropsForge additionalProps,
ViewForgeEnv viewForgeEnv,
int streamNum) |
static EventBean |
doPopulateMap(BaseStatisticsBean baseStatisticsBean,
EventBeanTypedEventFactory eventAdapterService,
EventType eventType,
StatViewAdditionalPropsEval additionalProps,
Object[] decoration)
Populate bean.
|
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 CorrelationView(ViewFactory viewFactory, AgentInstanceContext agentInstanceContext, ExprEvaluator xExpressionEval, ExprEvaluator yExpressionEval, EventType eventType, StatViewAdditionalPropsEval additionalProps)
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)
baseStatisticsBean
- resultseventAdapterService
- event wrappingeventType
- type to produceadditionalProps
- addition propertiesdecoration
- decoration valuespublic EventType getEventType()
Viewable
protected static EventType createEventType(StatViewAdditionalPropsForge additionalProps, ViewForgeEnv viewForgeEnv, int streamNum)
Copyright © 2005–2018. All rights reserved.