net.esper.view.stat
Class RegressionLinestView
java.lang.Object
net.esper.view.ViewSupport
net.esper.view.stat.BaseBivariateStatisticsView
net.esper.view.stat.RegressionLinestView
- All Implemented Interfaces:
- java.lang.Iterable<EventBean>, EventCollection, View, Viewable
public final class RegressionLinestView
- extends BaseBivariateStatisticsView
A view that calculates regression on two fields. The view uses internally a RegressionBean
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 regression bean and the appropriate schema.
Constructor Summary |
RegressionLinestView()
Default constructor - required by all views to adhere to the Java bean specification. |
RegressionLinestView(java.lang.String xFieldName,
java.lang.String yFieldName)
Constructor. |
Method Summary |
EventType |
getEventType()
Provides metadata information about the type of object the event collection contains. |
java.lang.String |
toString()
|
Methods inherited from class net.esper.view.ViewSupport |
addView, dumpChildViews, dumpUpdateParams, findDescendent, getParent, getViews, hasViews, removeView, shallowCopyView, updateChildren, updateChildren |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RegressionLinestView
public RegressionLinestView()
- Default constructor - required by all views to adhere to the Java bean specification.
RegressionLinestView
public RegressionLinestView(java.lang.String xFieldName,
java.lang.String yFieldName)
- Constructor.
- Parameters:
xFieldName
- is the field name of the field providing X data pointsyFieldName
- is the field name of the field providing X data points
getEventType
public EventType getEventType()
- Description copied from interface:
EventCollection
- Provides metadata information about the type of object the event collection contains.
- Returns:
- metadata for the objects in the collection
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object