public class CorrelationView extends BaseBivariateStatisticsView implements CloneableView
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.EMPTY_VIEW_ARRAY
Constructor and Description |
---|
CorrelationView(AgentInstanceContext agentInstanceContext,
ExprNode xExpression,
ExprNode yExpression,
EventType eventType,
StatViewAdditionalProps additionalProps)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
View |
cloneView()
Duplicates the view.
|
static EventBean |
doPopulateMap(BaseStatisticsBean baseStatisticsBean,
EventAdapterService eventAdapterService,
EventType eventType,
StatViewAdditionalProps additionalProps,
java.lang.Object[] decoration)
Populate bean.
|
EventType |
getEventType()
Provides metadata information about the type of object the event collection contains.
|
EventBean |
populateMap(BaseStatisticsBean baseStatisticsBean,
EventAdapterService eventAdapterService,
EventType eventType,
StatViewAdditionalProps additionalProps,
java.lang.Object[] decoration)
Populate bean.
|
java.lang.String |
toString() |
getAdditionalProps, getExpressionX, getExpressionY, getLastValuesEventNew, getStatisticsBean, iterator, setLastValuesEventNew, update
addView, addView, dumpChildViews, dumpUpdateParams, dumpUpdateParams, findDescendent, findViewIndex, getParent, getViews, hasViews, removeAllViews, removeView, removeView, setParent, updateChildren
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addView, getViews, hasViews, removeAllViews, removeView
public CorrelationView(AgentInstanceContext agentInstanceContext, ExprNode xExpression, ExprNode yExpression, EventType eventType, StatViewAdditionalProps additionalProps)
xExpression
- is the expression providing X data pointsyExpression
- is the expression providing X data pointsagentInstanceContext
- contains required view serviceseventType
- event typeadditionalProps
- additional propertiespublic View cloneView()
CloneableView
Expected to return a same view in initialized state for grouping.
cloneView
in interface CloneableView
public EventBean populateMap(BaseStatisticsBean baseStatisticsBean, EventAdapterService eventAdapterService, EventType eventType, StatViewAdditionalProps additionalProps, java.lang.Object[] decoration)
BaseBivariateStatisticsView
baseStatisticsBean
- resultseventAdapterService
- event adapterseventType
- typeadditionalProps
- additional propsdecoration
- decoration valuespublic static EventBean doPopulateMap(BaseStatisticsBean baseStatisticsBean, EventAdapterService eventAdapterService, EventType eventType, StatViewAdditionalProps additionalProps, java.lang.Object[] decoration)
baseStatisticsBean
- resultseventAdapterService
- event wrappingeventType
- type to produceadditionalProps
- addition propertiesdecoration
- decoration valuespublic EventType getEventType()
EventCollection
getEventType
in interface EventCollection
public java.lang.String toString()
toString
in class java.lang.Object