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.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 |
---|---|
View |
cloneView()
Duplicates the view.
|
protected static EventType |
createEventType(StatementContext statementContext,
StatViewAdditionalProps additionalProps,
int streamNum) |
static EventBean |
doPopulateMap(BaseStatisticsBean baseStatisticsBean,
EventAdapterService eventAdapterService,
EventType eventType,
StatViewAdditionalProps additionalProps,
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,
Object[] decoration)
Populate bean.
|
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
forEach, spliterator
public CorrelationView(ViewFactory viewFactory, AgentInstanceContext agentInstanceContext, ExprNode xExpression, ExprEvaluator xExpressionEval, ExprNode yExpression, ExprEvaluator yExpressionEval, EventType eventType, StatViewAdditionalProps additionalProps)
public 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, 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, Object[] decoration)
baseStatisticsBean
- resultseventAdapterService
- event wrappingeventType
- type to produceadditionalProps
- addition propertiesdecoration
- decoration valuespublic EventType getEventType()
EventCollection
getEventType
in interface EventCollection
protected static EventType createEventType(StatementContext statementContext, StatViewAdditionalProps additionalProps, int streamNum)