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.ACos |
acos()
Creates new
AggregationExpression that calculates the inverse cosine of a numeric value. |
ArithmeticOperators.ACosh |
acosh()
Creates new
AggregationExpression that calculates the inverse hyperbolic cosine of a numeric value. |
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. |
ArithmeticOperators.ASin |
asin()
Creates new
AggregationExpression that calculates the inverse sine of a numeric value. |
ArithmeticOperators.ASinh |
asinh()
Creates new
AggregationExpression that calculates the inverse hyperbolic sine of a numeric value. |
ArithmeticOperators.ATan |
atan()
Creates new
AggregationExpression that calculates the inverse tangent of a numeric value. |
ArithmeticOperators.ATan2 |
atan2(AggregationExpression expression)
Creates new
AggregationExpression that calculates the inverse tangent of the the numeric value divided by
the given AggregationExpression in the argument. |
ArithmeticOperators.ATan2 |
atan2(Number value)
Creates new
AggregationExpression that calculates the inverse tangent of the the numeric value divided by
the given numeric value in the argument. |
ArithmeticOperators.ATan2 |
atan2(String fieldReference)
Creates new
AggregationExpression that calculates the inverse tangent of the the numeric value divided by
the given field reference in the argument. |
ArithmeticOperators.ATanh |
atanh()
Creates new
AggregationExpression that calculates the inverse hyperbolic tangent of a numeric value. |
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.Cos |
cos()
Creates new
AggregationExpression that calculates the cosine of a numeric value given in
radians . |
ArithmeticOperators.Cos |
cos(ArithmeticOperators.AngularUnit unit)
Creates new
AggregationExpression that calculates the cosine of a numeric value in the given
unit . |
ArithmeticOperators.Cosh |
cosh()
Creates new
AggregationExpression that calculates the hyperbolic cosine of a numeric value given in
radians . |
ArithmeticOperators.Cosh |
cosh(ArithmeticOperators.AngularUnit unit)
Creates new
AggregationExpression that calculates the hyperbolic cosine of a numeric 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. |
ArithmeticOperators.Derivative |
derivative()
Creates new
AggregationExpression that calculates the mathematical derivative value. |
ArithmeticOperators.Derivative |
derivative(SetWindowFieldsOperation.WindowUnit unit)
Creates new
AggregationExpression that calculates the mathematical derivative value. |
ArithmeticOperators.Derivative |
derivative(String unit)
Creates new
AggregationExpression that calculates the mathematical derivative value. |
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.Integral |
integral()
Creates new
AggregationExpression that calculates the approximation for the mathematical integral value. |
ArithmeticOperators.Integral |
integral(SetWindowFieldsOperation.WindowUnit unit)
Creates new
AggregationExpression that calculates the approximation for the mathematical integral value. |
ArithmeticOperators.Integral |
integral(String unit)
Creates new
AggregationExpression that calculates the approximation for the mathematical integral value. |
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.Sin |
sin()
Creates new
AggregationExpression that calculates the sine of a numeric value given in
radians . |
ArithmeticOperators.Sin |
sin(ArithmeticOperators.AngularUnit unit)
Creates new
AggregationExpression that calculates the sine of a numeric value in the given
unit . |
ArithmeticOperators.Sinh |
sinh()
Creates new
AggregationExpression that calculates the sine of a numeric value given in
radians . |
ArithmeticOperators.Sinh |
sinh(ArithmeticOperators.AngularUnit unit)
Creates new
AggregationExpression that calculates the sine of a numeric value. |
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.Tan |
tan()
Creates new
AggregationExpression that calculates the tangent of a numeric value given in
radians . |
ArithmeticOperators.Tan |
tan(ArithmeticOperators.AngularUnit unit)
Creates new
AggregationExpression that calculates the tangent of a numeric value in the given
unit . |
ArithmeticOperators.Tanh |
tanh()
Creates new
AggregationExpression that calculates the hyperbolic tangent of a numeric value given in
radians . |
ArithmeticOperators.Tanh |
tanh(ArithmeticOperators.AngularUnit unit)
Creates new
AggregationExpression that calculates the hyperbolic tangent of a numeric value. |
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.Derivative derivative()
AggregationExpression
that calculates the mathematical derivative value.ArithmeticOperators.Derivative
.public ArithmeticOperators.Derivative derivative(SetWindowFieldsOperation.WindowUnit unit)
AggregationExpression
that calculates the mathematical derivative value.unit
- The time unit (SetWindowFieldsOperation.WindowUnits.WEEK
, SetWindowFieldsOperation.WindowUnits.DAY
, SetWindowFieldsOperation.WindowUnits.HOUR
,
SetWindowFieldsOperation.WindowUnits.MINUTE
, SetWindowFieldsOperation.WindowUnits.SECOND
, SetWindowFieldsOperation.WindowUnits.MILLISECOND
) to apply.ArithmeticOperators.Derivative
.public ArithmeticOperators.Derivative derivative(@Nullable String unit)
AggregationExpression
that calculates the mathematical derivative value.unit
- The time unit (week, day, hour, minute, second, millisecond) to apply can be
null.ArithmeticOperators.Derivative
.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.Integral integral()
AggregationExpression
that calculates the approximation for the mathematical integral value.ArithmeticOperators.Integral
.public ArithmeticOperators.Integral integral(SetWindowFieldsOperation.WindowUnit unit)
AggregationExpression
that calculates the approximation for the mathematical integral value.unit
- The time unit (SetWindowFieldsOperation.WindowUnits.WEEK
, SetWindowFieldsOperation.WindowUnits.DAY
, SetWindowFieldsOperation.WindowUnits.HOUR
,
SetWindowFieldsOperation.WindowUnits.MINUTE
, SetWindowFieldsOperation.WindowUnits.SECOND
, SetWindowFieldsOperation.WindowUnits.MILLISECOND
) to apply.ArithmeticOperators.Derivative
.public ArithmeticOperators.Integral integral(String unit)
AggregationExpression
that calculates the approximation for the mathematical integral value.unit
- the unit of measure.ArithmeticOperators.Integral
.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 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 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
.public ArithmeticOperators.Sin sin()
AggregationExpression
that calculates the sine of a numeric value given in
radians
.ArithmeticOperators.Sin
.public ArithmeticOperators.Sin sin(ArithmeticOperators.AngularUnit unit)
AggregationExpression
that calculates the sine of a numeric value in the given
unit
.unit
- the unit of measure.ArithmeticOperators.Sin
.public ArithmeticOperators.Sinh sinh()
AggregationExpression
that calculates the sine of a numeric value given in
radians
.ArithmeticOperators.Sinh
.public ArithmeticOperators.Sinh sinh(ArithmeticOperators.AngularUnit unit)
AggregationExpression
that calculates the sine of a numeric value.unit
- the unit of measure.ArithmeticOperators.Sinh
.public ArithmeticOperators.ASin asin()
AggregationExpression
that calculates the inverse sine of a numeric value.ArithmeticOperators.ASin
.public ArithmeticOperators.ASinh asinh()
AggregationExpression
that calculates the inverse hyperbolic sine of a numeric value.ArithmeticOperators.ASinh
.public ArithmeticOperators.Cos cos()
AggregationExpression
that calculates the cosine of a numeric value given in
radians
.ArithmeticOperators.Cos
.public ArithmeticOperators.Cos cos(ArithmeticOperators.AngularUnit unit)
AggregationExpression
that calculates the cosine of a numeric value in the given
unit
.unit
- the unit of measure.ArithmeticOperators.Cos
.public ArithmeticOperators.Cosh cosh()
AggregationExpression
that calculates the hyperbolic cosine of a numeric value given in
radians
.ArithmeticOperators.Cosh
.public ArithmeticOperators.Cosh cosh(ArithmeticOperators.AngularUnit unit)
AggregationExpression
that calculates the hyperbolic cosine of a numeric value.unit
- the unit of measure.ArithmeticOperators.Cosh
.public ArithmeticOperators.ACos acos()
AggregationExpression
that calculates the inverse cosine of a numeric value.ArithmeticOperators.ACos
.public ArithmeticOperators.ACosh acosh()
AggregationExpression
that calculates the inverse hyperbolic cosine of a numeric value.ArithmeticOperators.ACosh
.public ArithmeticOperators.Tan tan()
AggregationExpression
that calculates the tangent of a numeric value given in
radians
.ArithmeticOperators.Tan
.public ArithmeticOperators.ATan atan()
AggregationExpression
that calculates the inverse tangent of a numeric value.ArithmeticOperators.ATan
.public ArithmeticOperators.ATan2 atan2(Number value)
AggregationExpression
that calculates the inverse tangent of the the numeric value divided by
the given numeric value in the argument.value
- the numeric valueArithmeticOperators.ATan2
.public ArithmeticOperators.ATan2 atan2(String fieldReference)
AggregationExpression
that calculates the inverse tangent of the the numeric value divided by
the given field reference in the argument.fieldReference
- the numeric valueArithmeticOperators.ATan2
.public ArithmeticOperators.ATan2 atan2(AggregationExpression expression)
AggregationExpression
that calculates the inverse tangent of the the numeric value divided by
the given AggregationExpression
in the argument.expression
- the expression evaluating to a numeric valueArithmeticOperators.ATan2
.public ArithmeticOperators.ATanh atanh()
AggregationExpression
that calculates the inverse hyperbolic tangent of a numeric value.ArithmeticOperators.ATanh
.public ArithmeticOperators.Tan tan(ArithmeticOperators.AngularUnit unit)
AggregationExpression
that calculates the tangent of a numeric value in the given
unit
.unit
- the unit of measure.ArithmeticOperators.Tan
.public ArithmeticOperators.Tanh tanh()
AggregationExpression
that calculates the hyperbolic tangent of a numeric value given in
radians
.ArithmeticOperators.Tan
.public ArithmeticOperators.Tanh tanh(ArithmeticOperators.AngularUnit unit)
AggregationExpression
that calculates the hyperbolic tangent of a numeric value.unit
- the unit of measure.ArithmeticOperators.Tanh
.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.