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
EMPTY_VIEW_ARRAY, parent
Constructor and Description |
---|
CorrelationView(ViewFactory viewFactory,
AgentInstanceContext agentInstanceContext,
ExprNode xExpression,
ExprEvaluator xExpressionEval,
ExprNode yExpression,
ExprEvaluator yExpressionEval,
EventType eventType,
StatViewAdditionalProps additionalProps) |
Modifier and Type | Method and Description |
---|---|
protected static EventType |
createEventType(StatementContext statementContext,
StatViewAdditionalProps additionalProps,
int streamNum) |
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, getExpressionXEval, getExpressionY, getExpressionYEval, getLastValuesEventNew, getStatisticsBean, getViewFactory, iterator, setLastValuesEventNew, update
addView, addView, dumpChildViews, dumpUpdateParams, dumpUpdateParams, findDescendent, findViewIndex, getParent, getViews, hasViews, removeAllViews, removeView, removeView, setParent, updateChildren, updateChildren
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addView, getViews, hasViews, removeAllViews, removeView
public CorrelationView(ViewFactory viewFactory, AgentInstanceContext agentInstanceContext, ExprNode xExpression, ExprEvaluator xExpressionEval, ExprNode yExpression, ExprEvaluator yExpressionEval, EventType eventType, StatViewAdditionalProps additionalProps)
public EventBean populateMap(BaseStatisticsBean baseStatisticsBean, EventAdapterService eventAdapterService, EventType eventType, StatViewAdditionalProps additionalProps, java.lang.Object[] decoration)
BaseBivariateStatisticsView
populateMap
in class 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
public java.lang.String toString()
toString
in class java.lang.Object
protected static EventType createEventType(StatementContext statementContext, StatViewAdditionalProps additionalProps, int streamNum)