com.espertech.esper.view
Enum ViewFieldEnum

java.lang.Object
  extended by java.lang.Enum<ViewFieldEnum>
      extended by com.espertech.esper.view.ViewFieldEnum
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ViewFieldEnum>

public enum ViewFieldEnum
extends java.lang.Enum<ViewFieldEnum>

Enumerates the valid values for each view's public fields. The name of the field or property can be used to obtain values from the view rather than using the hardcoded String value for the field.


Enum Constant Summary
CORRELATION__CORRELATION
          Correlation.
REGRESSION__DATAPOINTS
          dataPoints
REGRESSION__N
          n
REGRESSION__SLOPE
          Slope.
REGRESSION__SUMX
          sumX
REGRESSION__SUMXSQ
          sumXSq
REGRESSION__SUMXY
          sumXY
REGRESSION__SUMY
          sumY
REGRESSION__SUMYSQ
          sumYSq
REGRESSION__XAVERAGE
          XAverage
REGRESSION__XSTANDARDDEVIATIONPOP
          XStandardDeviationPop
REGRESSION__XSTANDARDDEVIATIONSAMPLE
          XStandardDeviationSample
REGRESSION__XSUM
          XSum
REGRESSION__XVARIANCE
          XVariance
REGRESSION__YAVERAGE
          YAverage
REGRESSION__YINTERCEPT
          Y-intercept.
REGRESSION__YSTANDARDDEVIATIONPOP
          YStandardDeviationPop
REGRESSION__YSTANDARDDEVIATIONSAMPLE
          YStandardDeviationSample
REGRESSION__YSUM
          YSum
REGRESSION__YVARIANCE
          YVariance
SIZE_VIEW__SIZE
          Size.
UNIVARIATE_STATISTICS__AVERAGE
          Average.
UNIVARIATE_STATISTICS__DATAPOINTS
          Count.
UNIVARIATE_STATISTICS__STDDEV
          Standard dev.
UNIVARIATE_STATISTICS__STDDEVPA
          Standard dev population.
UNIVARIATE_STATISTICS__TOTAL
          Sum.
UNIVARIATE_STATISTICS__VARIANCE
          Variance.
WEIGHTED_AVERAGE__AVERAGE
          Weighted average.
 
Method Summary
 java.lang.String getName()
          Returns the field name of fields that contain data within a view's posted objects.
static ViewFieldEnum valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ViewFieldEnum[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNIVARIATE_STATISTICS__DATAPOINTS

public static final ViewFieldEnum UNIVARIATE_STATISTICS__DATAPOINTS
Count.


UNIVARIATE_STATISTICS__TOTAL

public static final ViewFieldEnum UNIVARIATE_STATISTICS__TOTAL
Sum.


UNIVARIATE_STATISTICS__AVERAGE

public static final ViewFieldEnum UNIVARIATE_STATISTICS__AVERAGE
Average.


UNIVARIATE_STATISTICS__STDDEVPA

public static final ViewFieldEnum UNIVARIATE_STATISTICS__STDDEVPA
Standard dev population.


UNIVARIATE_STATISTICS__STDDEV

public static final ViewFieldEnum UNIVARIATE_STATISTICS__STDDEV
Standard dev.


UNIVARIATE_STATISTICS__VARIANCE

public static final ViewFieldEnum UNIVARIATE_STATISTICS__VARIANCE
Variance.


WEIGHTED_AVERAGE__AVERAGE

public static final ViewFieldEnum WEIGHTED_AVERAGE__AVERAGE
Weighted average.


CORRELATION__CORRELATION

public static final ViewFieldEnum CORRELATION__CORRELATION
Correlation.


REGRESSION__SLOPE

public static final ViewFieldEnum REGRESSION__SLOPE
Slope.


REGRESSION__YINTERCEPT

public static final ViewFieldEnum REGRESSION__YINTERCEPT
Y-intercept.


REGRESSION__XAVERAGE

public static final ViewFieldEnum REGRESSION__XAVERAGE
XAverage


REGRESSION__XSTANDARDDEVIATIONPOP

public static final ViewFieldEnum REGRESSION__XSTANDARDDEVIATIONPOP
XStandardDeviationPop


REGRESSION__XSTANDARDDEVIATIONSAMPLE

public static final ViewFieldEnum REGRESSION__XSTANDARDDEVIATIONSAMPLE
XStandardDeviationSample


REGRESSION__XSUM

public static final ViewFieldEnum REGRESSION__XSUM
XSum


REGRESSION__XVARIANCE

public static final ViewFieldEnum REGRESSION__XVARIANCE
XVariance


REGRESSION__YAVERAGE

public static final ViewFieldEnum REGRESSION__YAVERAGE
YAverage


REGRESSION__YSTANDARDDEVIATIONPOP

public static final ViewFieldEnum REGRESSION__YSTANDARDDEVIATIONPOP
YStandardDeviationPop


REGRESSION__YSTANDARDDEVIATIONSAMPLE

public static final ViewFieldEnum REGRESSION__YSTANDARDDEVIATIONSAMPLE
YStandardDeviationSample


REGRESSION__YSUM

public static final ViewFieldEnum REGRESSION__YSUM
YSum


REGRESSION__YVARIANCE

public static final ViewFieldEnum REGRESSION__YVARIANCE
YVariance


REGRESSION__DATAPOINTS

public static final ViewFieldEnum REGRESSION__DATAPOINTS
dataPoints


REGRESSION__N

public static final ViewFieldEnum REGRESSION__N
n


REGRESSION__SUMX

public static final ViewFieldEnum REGRESSION__SUMX
sumX


REGRESSION__SUMXSQ

public static final ViewFieldEnum REGRESSION__SUMXSQ
sumXSq


REGRESSION__SUMXY

public static final ViewFieldEnum REGRESSION__SUMXY
sumXY


REGRESSION__SUMY

public static final ViewFieldEnum REGRESSION__SUMY
sumY


REGRESSION__SUMYSQ

public static final ViewFieldEnum REGRESSION__SUMYSQ
sumYSq


SIZE_VIEW__SIZE

public static final ViewFieldEnum SIZE_VIEW__SIZE
Size.

Method Detail

values

public static ViewFieldEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ViewFieldEnum c : ViewFieldEnum.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ViewFieldEnum valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getName

public java.lang.String getName()
Returns the field name of fields that contain data within a view's posted objects.

Returns:
field name for use with DataSchema to obtain values out of objects.

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com