public static class ArithmeticOperators.ArithmeticOperatorFactory extends Object
| Constructor and Description |
|---|
ArithmeticOperatorFactory(AggregationExpression expression)
Creates new
ArithmeticOperators.ArithmeticOperatorFactory for given AggregationExpression. |
ArithmeticOperatorFactory(String fieldReference)
Creates new
ArithmeticOperators.ArithmeticOperatorFactory for given fieldReference. |
| Modifier and Type | Method and Description |
|---|---|
ArithmeticOperators.Abs |
abs()
Creates new
AggregationExpression that returns the absolute value of the associated number. |
ArithmeticOperators.Add |
add(AggregationExpression expression)
Creates new
AggregationExpression that adds the resulting value of the given
AggregationExpression to the associated number. |
ArithmeticOperators.Add |
add(Number value)
Creates new
AggregationExpression that adds the given value to the associated number. |
ArithmeticOperators.Add |
add(String fieldReference)
Creates new
AggregationExpression that adds the value of fieldReference to the associated
number. |
AccumulatorOperators.Avg |
avg()
Creates new
AggregationExpression that returns the average value of the numeric values. |
ArithmeticOperators.Ceil |
ceil()
Creates new
AggregationExpression that returns the smallest integer greater than or equal to the
assoicated number. |
ArithmeticOperators.Divide |
divideBy(AggregationExpression expression)
Creates new
AggregationExpression that divides the associated number by number extracted via
expression. |
ArithmeticOperators.Divide |
divideBy(Number value)
Creates new
AggregationExpression that divides the associated number by given value. |
ArithmeticOperators.Divide |
divideBy(String fieldReference)
Creates new
AggregationExpression that ivides the associated number by number referenced via
fieldReference. |
ArithmeticOperators.Exp |
exp()
Creates new
AggregationExpression that raises Euler’s number (i.e. e ) on the associated number. |
ArithmeticOperators.Floor |
floor()
Creates new
AggregationExpression that returns the largest integer less than or equal to the associated
number. |
ArithmeticOperators.Ln |
ln()
Creates new
AggregationExpression that calculates the natural logarithm ln (i.e loge) of the assoicated
number. |
ArithmeticOperators.Log |
log(AggregationExpression expression)
Creates new
AggregationExpression that calculates the log of the associated number in the specified base
extracted by given AggregationExpression. |
ArithmeticOperators.Log |
log(Number base)
Creates new
AggregationExpression that calculates the log of a the associated number in the specified
base. |
ArithmeticOperators.Log |
log(String fieldReference)
Creates new
AggregationExpression that calculates the log of the associated number in the specified base
referenced via fieldReference. |
ArithmeticOperators.Log10 |
log10()
Creates new
AggregationExpression that calculates the log base 10 for the associated number. |
AccumulatorOperators.Max |
max()
Creates new
AggregationExpression that returns the maximum value. |
AccumulatorOperators.Min |
min()
Creates new
AggregationExpression that returns the minimum value. |
ArithmeticOperators.Mod |
mod(AggregationExpression expression)
Creates new
AggregationExpression that divides the associated number by another and returns the
remainder. |
ArithmeticOperators.Mod |
mod(Number value)
Creates new
AggregationExpression that divides the associated number by another and returns the
remainder. |
ArithmeticOperators.Mod |
mod(String fieldReference)
Creates new
AggregationExpression that divides the associated number by another and returns the
remainder. |
ArithmeticOperators.Multiply |
multiplyBy(AggregationExpression expression)
Creates new
AggregationExpression that multiplies the associated number with another. |
ArithmeticOperators.Multiply |
multiplyBy(Number value)
Creates new
AggregationExpression that multiplies the associated number with another. |
ArithmeticOperators.Multiply |
multiplyBy(String fieldReference)
Creates new
AggregationExpression that multiplies the associated number with another. |
ArithmeticOperators.Pow |
pow(AggregationExpression expression)
Creates new
AggregationExpression that raises the associated number to the specified exponent. |
ArithmeticOperators.Pow |
pow(Number value)
Creates new
AggregationExpression that raises the associated number to the specified exponent. |
ArithmeticOperators.Pow |
pow(String fieldReference)
Creates new
AggregationExpression that raises the associated number to the specified exponent. |
ArithmeticOperators.Round |
round()
Creates new
AggregationExpression that rounds a number to a whole integer or to a specified decimal
place. |
ArithmeticOperators.Round |
roundToPlace(int place)
Creates new
AggregationExpression that rounds a number to a specified decimal place. |
ArithmeticOperators.Sqrt |
sqrt()
Creates new
AggregationExpression that calculates the square root of the associated number. |
AccumulatorOperators.StdDevPop |
stdDevPop()
Creates new
AggregationExpression that calculates the population standard deviation of the input values. |
AccumulatorOperators.StdDevSamp |
stdDevSamp()
Creates new
AggregationExpression that calculates the sample standard deviation of the input values. |
ArithmeticOperators.Subtract |
subtract(AggregationExpression expression)
Creates new
AggregationExpression that subtracts value of given from the associated number. |
ArithmeticOperators.Subtract |
subtract(Number value)
Creates new
AggregationExpression that subtracts value from the associated number. |
ArithmeticOperators.Subtract |
subtract(String fieldReference)
Creates new
AggregationExpression that subtracts value of given from the associated number. |
AccumulatorOperators.Sum |
sum()
Creates new
AggregationExpression that calculates and returns the sum of numeric values. |
ArithmeticOperators.Trunc |
trunc()
Creates new
AggregationExpression that truncates a number to its integer. |
public ArithmeticOperatorFactory(String fieldReference)
ArithmeticOperators.ArithmeticOperatorFactory for given fieldReference.fieldReference - must not be null.public ArithmeticOperatorFactory(AggregationExpression expression)
ArithmeticOperators.ArithmeticOperatorFactory for given AggregationExpression.expression - must not be null.public ArithmeticOperators.Abs abs()
AggregationExpression that returns the absolute value of the associated number.ArithmeticOperators.Abs.public ArithmeticOperators.Add add(String fieldReference)
AggregationExpression that adds the value of fieldReference to the associated
number.fieldReference - must not be null.ArithmeticOperators.Add.public ArithmeticOperators.Add add(AggregationExpression expression)
AggregationExpression that adds the resulting value of the given
AggregationExpression to the associated number.expression - must not be null.ArithmeticOperators.Add.public ArithmeticOperators.Add add(Number value)
AggregationExpression that adds the given value to the associated number.value - must not be null.ArithmeticOperators.Add.public ArithmeticOperators.Ceil ceil()
AggregationExpression that returns the smallest integer greater than or equal to the
assoicated number.ArithmeticOperators.Ceil.public ArithmeticOperators.Divide divideBy(String fieldReference)
AggregationExpression that ivides the associated number by number referenced via
fieldReference.fieldReference - must not be null.ArithmeticOperators.Divide.public ArithmeticOperators.Divide divideBy(AggregationExpression expression)
AggregationExpression that divides the associated number by number extracted via
expression.expression - must not be null.ArithmeticOperators.Divide.public ArithmeticOperators.Divide divideBy(Number value)
AggregationExpression that divides the associated number by given value.value - must not be null.ArithmeticOperators.Divide.public ArithmeticOperators.Exp exp()
AggregationExpression that raises Euler’s number (i.e. e ) on the associated number.ArithmeticOperators.Exp.public ArithmeticOperators.Floor floor()
AggregationExpression that returns the largest integer less than or equal to the associated
number.ArithmeticOperators.Floor.public ArithmeticOperators.Ln ln()
AggregationExpression that calculates the natural logarithm ln (i.e loge) of the assoicated
number.ArithmeticOperators.Ln.public ArithmeticOperators.Log log(String fieldReference)
AggregationExpression that calculates the log of the associated number in the specified base
referenced via fieldReference.fieldReference - must not be null.ArithmeticOperators.Log.public ArithmeticOperators.Log log(AggregationExpression expression)
AggregationExpression that calculates the log of the associated number in the specified base
extracted by given AggregationExpression.expression - must not be null.ArithmeticOperators.Log.public ArithmeticOperators.Log log(Number base)
AggregationExpression that calculates the log of a the associated number in the specified
base.base - must not be null.ArithmeticOperators.Log.public ArithmeticOperators.Log10 log10()
AggregationExpression that calculates the log base 10 for the associated number.ArithmeticOperators.Log10.public ArithmeticOperators.Mod mod(String fieldReference)
AggregationExpression that divides the associated number by another and returns the
remainder.fieldReference - must not be null.ArithmeticOperators.Mod.public ArithmeticOperators.Mod mod(AggregationExpression expression)
AggregationExpression that divides the associated number by another and returns the
remainder.expression - must not be null.ArithmeticOperators.Mod.public ArithmeticOperators.Mod mod(Number value)
AggregationExpression that divides the associated number by another and returns the
remainder.value - must not be null.ArithmeticOperators.Mod.public ArithmeticOperators.Multiply multiplyBy(String fieldReference)
AggregationExpression that multiplies the associated number with another.fieldReference - must not be null.ArithmeticOperators.Multiply.public ArithmeticOperators.Multiply multiplyBy(AggregationExpression expression)
AggregationExpression that multiplies the associated number with another.expression - must not be null.ArithmeticOperators.Multiply.public ArithmeticOperators.Multiply multiplyBy(Number value)
AggregationExpression that multiplies the associated number with another.value - must not be null.ArithmeticOperators.Multiply.public ArithmeticOperators.Pow pow(String fieldReference)
AggregationExpression that raises the associated number to the specified exponent.fieldReference - must not be null.ArithmeticOperators.Pow.public ArithmeticOperators.Pow pow(AggregationExpression expression)
AggregationExpression that raises the associated number to the specified exponent.expression - must not be null.ArithmeticOperators.Pow.public ArithmeticOperators.Pow pow(Number value)
AggregationExpression that raises the associated number to the specified exponent.value - must not be null.ArithmeticOperators.Pow.public ArithmeticOperators.Sqrt sqrt()
AggregationExpression that calculates the square root of the associated number.ArithmeticOperators.Sqrt.public ArithmeticOperators.Subtract subtract(String fieldReference)
AggregationExpression that subtracts value of given from the associated number.fieldReference - must not be null.ArithmeticOperators.Subtract.public ArithmeticOperators.Subtract subtract(AggregationExpression expression)
AggregationExpression that subtracts value of given from the associated number.expression - must not be null.ArithmeticOperators.Subtract.public ArithmeticOperators.Subtract subtract(Number value)
AggregationExpression that subtracts value from the associated number.value - must not be null.ArithmeticOperators.Subtract.public ArithmeticOperators.Trunc trunc()
AggregationExpression that truncates a number to its integer.ArithmeticOperators.Trunc.public AccumulatorOperators.Sum sum()
AggregationExpression that calculates and returns the sum of numeric values.AccumulatorOperators.Sum.public AccumulatorOperators.Avg avg()
AggregationExpression that returns the average value of the numeric values.AccumulatorOperators.Avg.public AccumulatorOperators.Max max()
AggregationExpression that returns the maximum value.AccumulatorOperators.Max.public AccumulatorOperators.Min min()
AggregationExpression that returns the minimum value.AccumulatorOperators.Min.public AccumulatorOperators.StdDevPop stdDevPop()
AggregationExpression that calculates the population standard deviation of the input values.AccumulatorOperators.StdDevPop.public AccumulatorOperators.StdDevSamp stdDevSamp()
AggregationExpression that calculates the sample standard deviation of the input values.AccumulatorOperators.StdDevSamp.public ArithmeticOperators.Round round()
AggregationExpression that rounds a number to a whole integer or to a specified decimal
place.ArithmeticOperators.Round.public ArithmeticOperators.Round roundToPlace(int place)
AggregationExpression that rounds a number to a specified decimal place.ArithmeticOperators.Round.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.