|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.view.ViewSupport
com.espertech.esper.view.stat.BaseBivariateStatisticsView
com.espertech.esper.view.stat.CorrelationView
public final class CorrelationView
A view that calculates correlation on two fields. The view uses internally a CorrelationBean
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.
Field Summary |
---|
Fields inherited from class com.espertech.esper.view.stat.BaseBivariateStatisticsView |
---|
statementContext, statisticsBean |
Fields inherited from class com.espertech.esper.view.ViewSupport |
---|
parent |
Constructor Summary | |
---|---|
CorrelationView(StatementContext statementContext,
String xFieldName,
String yFieldName)
Constructor. |
Method Summary | |
---|---|
View |
cloneView(StatementContext statementContext)
Duplicates the view. |
protected static EventType |
createEventType(StatementContext statementContext)
Creates the event type for this view. |
EventType |
getEventType()
Provides metadata information about the type of object the event collection contains. |
String |
toString()
|
Methods inherited from class com.espertech.esper.view.stat.BaseBivariateStatisticsView |
---|
getFieldNameX, getFieldNameY, iterator, setParent, update |
Methods inherited from class com.espertech.esper.view.ViewSupport |
---|
addView, dumpChildViews, dumpUpdateParams, dumpUpdateParams, findDescendent, getParent, getViews, hasViews, removeView, updateChildren, updateChildren |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CorrelationView(StatementContext statementContext, String xFieldName, String yFieldName)
xFieldName
- is the field name of the field providing X data pointsyFieldName
- is the field name of the field providing X data pointsstatementContext
- contains required view servicesMethod Detail |
---|
public View cloneView(StatementContext statementContext)
CloneableView
Expected to return a same view in initialized state for grouping.
cloneView
in interface CloneableView
statementContext
- is services for the view
public EventType getEventType()
EventCollection
getEventType
in interface EventCollection
public String toString()
toString
in class Object
protected static EventType createEventType(StatementContext statementContext)
statementContext
- is the event adapter service
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |