public static class AccumulatorOperators.AccumulatorOperatorFactory extends Object
| Constructor and Description |
|---|
AccumulatorOperatorFactory(AggregationExpression expression)
Creates new
AccumulatorOperators.AccumulatorOperatorFactory for given AggregationExpression. |
AccumulatorOperatorFactory(String fieldReference)
Creates new
AccumulatorOperators.AccumulatorOperatorFactory for given fieldReference. |
| Modifier and Type | Method and Description |
|---|---|
AccumulatorOperators.Avg |
avg()
Creates new
AggregationExpression that takes the associated numeric value expression and returns the
average value. |
AccumulatorOperators.CovariancePop |
covariancePop(AggregationExpression expression)
Creates new
AggregationExpression that uses the previous input (field/expression) and the result of the
given expression to calculate the population covariance of the two. |
AccumulatorOperators.CovariancePop |
covariancePop(String fieldReference)
Creates new
AggregationExpression that uses the previous input (field/expression) and the value of the
given field to calculate the population covariance of the two. |
AccumulatorOperators.CovarianceSamp |
covarianceSamp(AggregationExpression expression)
Creates new
AggregationExpression that uses the previous input (field/expression) and the result of the
given expression to calculate the sample covariance of the two. |
AccumulatorOperators.CovarianceSamp |
covarianceSamp(String fieldReference)
Creates new
AggregationExpression that uses the previous input (field/expression) and the value of the
given field to calculate the sample covariance of the two. |
AccumulatorOperators.ExpMovingAvgBuilder |
expMovingAvg()
Creates new
AccumulatorOperators.ExpMovingAvgBuilder that to build expMovingAvg that calculates
the exponential moving average of numeric values |
AccumulatorOperators.Max |
max()
Creates new
AggregationExpression that takes the associated numeric value expression and returns the
maximum value. |
AccumulatorOperators.Min |
min()
Creates new
AggregationExpression that takes the associated numeric value expression and returns the
minimum value. |
AccumulatorOperators.StdDevPop |
stdDevPop()
Creates new
AggregationExpression that takes the associated numeric value expression and calculates the
population standard deviation of the input values. |
AccumulatorOperators.StdDevSamp |
stdDevSamp()
Creates new
AggregationExpression that takes the associated numeric value expression and calculates the
sample standard deviation of the input values. |
AccumulatorOperators.Sum |
sum()
Creates new
AggregationExpression that takes the associated numeric value expression and calculates and
returns the sum. |
public AccumulatorOperatorFactory(String fieldReference)
AccumulatorOperators.AccumulatorOperatorFactory for given fieldReference.fieldReference - must not be null.public AccumulatorOperatorFactory(AggregationExpression expression)
AccumulatorOperators.AccumulatorOperatorFactory for given AggregationExpression.expression - must not be null.public AccumulatorOperators.Sum sum()
AggregationExpression that takes the associated numeric value expression and calculates and
returns the sum.AccumulatorOperators.Sum.public AccumulatorOperators.Avg avg()
AggregationExpression that takes the associated numeric value expression and returns the
average value.AccumulatorOperators.Avg.public AccumulatorOperators.Max max()
AggregationExpression that takes the associated numeric value expression and returns the
maximum value.AccumulatorOperators.Max.public AccumulatorOperators.Min min()
AggregationExpression that takes the associated numeric value expression and returns the
minimum value.AccumulatorOperators.Min.public AccumulatorOperators.StdDevPop stdDevPop()
AggregationExpression that takes the associated numeric value expression and calculates the
population standard deviation of the input values.AccumulatorOperators.StdDevPop.public AccumulatorOperators.StdDevSamp stdDevSamp()
AggregationExpression that takes the associated numeric value expression and calculates the
sample standard deviation of the input values.AccumulatorOperators.StdDevSamp.public AccumulatorOperators.CovariancePop covariancePop(String fieldReference)
AggregationExpression that uses the previous input (field/expression) and the value of the
given field to calculate the population covariance of the two.fieldReference - must not be null.AccumulatorOperators.CovariancePop.public AccumulatorOperators.CovariancePop covariancePop(AggregationExpression expression)
AggregationExpression that uses the previous input (field/expression) and the result of the
given expression to calculate the population covariance of the two.expression - must not be null.AccumulatorOperators.CovariancePop.public AccumulatorOperators.CovarianceSamp covarianceSamp(String fieldReference)
AggregationExpression that uses the previous input (field/expression) and the value of the
given field to calculate the sample covariance of the two.fieldReference - must not be null.AccumulatorOperators.CovariancePop.public AccumulatorOperators.CovarianceSamp covarianceSamp(AggregationExpression expression)
AggregationExpression that uses the previous input (field/expression) and the result of the
given expression to calculate the sample covariance of the two.expression - must not be null.AccumulatorOperators.CovariancePop.public AccumulatorOperators.ExpMovingAvgBuilder expMovingAvg()
AccumulatorOperators.ExpMovingAvgBuilder that to build expMovingAvg that calculates
the exponential moving average of numeric valuesAccumulatorOperators.ExpMovingAvg.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.