Uses of Interface
org.springframework.data.mongodb.core.aggregation.AggregationExpression
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of AggregationExpression in org.springframework.data.mongodb.core.aggregation
Modifier and TypeClassDescriptionstatic class
AggregationExpression
for$avg
.static class
AggregationExpression
for$covariancePop
.static class
AggregationExpression
for$covarianceSamp
.static class
AccumulatorOperators.ExpMovingAvg
calculates the exponential moving average of numeric values.static class
AggregationExpression
for$max
.static class
AggregationExpression
for$min
.static class
AggregationExpression
for$stdDevPop
.static class
AggregationExpression
for$stdDevSamp
.static class
AggregationExpression
for$sum
.class
AnAggregationExpression
that renders a MongoDB Aggregation Framework expression from the AST of a SpEL expression.static class
AggregationExpression
for$abs
.static class
Anexpression
that calculates the inverse cosine of a value.static class
Anexpression
that calculates the inverse hyperbolic cosine of a value.static class
AggregationExpression
for$add
.static class
Anexpression
that calculates the inverse sine of a value.static class
Anexpression
that calculates the inverse hyperbolic sine of a valuestatic class
Anexpression
that calculates the inverse tangent of a value.static class
Anexpression
that calculates the inverse tangent of y / x, where y and x are the first and second values passed to the expression respectively.static class
Anexpression
that calculates the inverse hyperbolic tangent of a valuestatic class
AggregationExpression
for$ceil
.static class
Anexpression
that calculates the cosine of a value that is measured in radians.static class
Anexpression
that calculates the hyperbolic cosine of a value that is measured inArithmeticOperators.AngularUnit.RADIANS
.static class
Value object to represent anexpression
that calculates the average rate of change within the specified window.static class
AggregationExpression
for$divide
.static class
AggregationExpression
for$exp
.static class
AggregationExpression
for$floor
.static class
Value object to represent anexpression
that calculates the approximation for the mathematical integral value.static class
AggregationExpression
for$ln
.static class
AggregationExpression
for$log
.static class
AggregationExpression
for$log10
.static class
AggregationExpression
for$mod
.static class
AggregationExpression
for$multiply
.static class
AggregationExpression
for$pow
.static class
ArithmeticOperators.Rand
returns a floating value between 0 and 1.static class
ArithmeticOperators.Round
rounds a number to a whole integer or to a specified decimal place.static class
Anexpression
that calculates the sine of a value that is measured in radians.static class
Anexpression
that calculates the hyperbolic sine of a value that is measured inArithmeticOperators.AngularUnit.RADIANS
.static class
AggregationExpression
for$sqrt
.static class
AggregationExpression
for$subtract
.static class
Anexpression
that calculates the tangent of a value that is measured in radians.static class
Anexpression
that calculates the hyperbolic tangent of a value that is measured inArithmeticOperators.AngularUnit.RADIANS
.static class
AggregationExpression
for$trunc
.static class
AggregationExpression
for$arrayElementAt
.static class
AggregationExpression
for$arrayToObject
that transforms an array into a single document.static class
AggregationExpression
for$concatArrays
.static class
$filter
AggregationExpression
allows to select a subset of the array to return based on the specified condition.static class
AggregationExpression
for$first
that returns the first element in an array.static class
AggregationExpression
for$in
.static class
AggregationExpression
for$indexOfArray
.static class
AggregationExpression
for$isArray
.static class
AggregationExpression
for$last
that returns the last element in an array.static class
AggregationExpression
for$range
.static class
AggregationExpression
for$reduce
.static class
static class
AggregationExpression
for$reverseArray
.static class
AggregationExpression
for$size
.static class
AggregationExpression
for$slice
.static class
AggregationExpression
for$zip
.static class
AggregationExpression
for$and
.static class
AggregationExpression
for$not
.static class
AggregationExpression
for$or
.protected static class
Output field that uses a Mongo operation (expression object) to generate an output field value.protected static class
Encapsulates an output field in a bucket aggregation stage.protected static class
EncapsulatesBucketOperationSupport.Output
s.static class
AggregationExpression
for$cmp
.static class
AggregationExpression
for$eq
.static class
AggregationExpression
for$gt
.static class
AggregationExpression
for$gte
.static class
AggregationExpression
for$lt
.static class
AggregationExpression
for$lte
.static class
AggregationExpression
for$ne
.static class
Encapsulates the aggregation framework$cond
operator.static class
Encapsulates the aggregation framework$ifNull
operator.static class
AggregationExpression
for$switch
.static class
Encapsulates the aggregation framework case document inside a$switch
-operation.static class
AggregationExpression
for$convert
that converts a value to a specified type.static class
AggregationExpression
for$degreesToRadians
that converts an input value measured in degrees to radians.static class
AggregationExpression
for$toBool
that converts a value to boolean.static class
AggregationExpression
for$toDate
that converts a value to date.static class
AggregationExpression
for$toDecimal
that converts a value to decimal.static class
AggregationExpression
for$toDouble
that converts a value to double.static class
AggregationExpression
for$toInt
that converts a value to integer.static class
AggregationExpression
for$toLong
that converts a value to long.static class
AggregationExpression
for$toObjectId
that converts a value to objectId.static class
AggregationExpression
for$toString
that converts a value to string.static class
AggregationExpression
for$type
.static class
static class
static class
static class
static class
static class
AggregationExpression
for$dateToString
.static class
AggregationExpression
for$dayOfMonth
.static class
AggregationExpression
for$dayOfWeek
.static class
AggregationExpression
for$dayOfYear
.static class
AggregationExpression
for$hour
.static class
static class
AggregationExpression
for$isoDayOfWeek
.static class
AggregationExpression
for$isoWeek
.static class
AggregationExpression
for$isoWeekYear
.static class
AggregationExpression
for$millisecond
.static class
AggregationExpression
for$minute
.static class
AggregationExpression
for$month
.static class
AggregationExpression
for$second
.static class
AggregationExpression
capable of setting a givenDateOperators.Timezone
.static class
AggregationExpression
for$week
.static class
AggregationExpression
for$year
.static class
DocumentOperators.DenseRank
resolves the current document position (the rank) relative to other documents.static class
DocumentOperators.DocumentNumber
resolves the current document position.static class
DocumentOperators.Rank
resolves the current document position (the rank) relative to other documents.static class
Shift applies an expression to a document in a specified position relative to the current document.static class
Allows the use of aggregation expressions within the query language.static class
AggregationExpression
for$literal
.static class
AggregationExpression
for$mergeObjects
that combines multiple documents into a single document.static class
AggregationExpression
for$objectToArray
that converts a document to an array ofdocuments
that each contains two fields k and v.static class
ScriptOperators.Accumulator
defines a custom aggregation $accumulator operator, one that maintains its state (e.g. totals, maximums, minimums, and related data) as documents progress through the pipeline, in JavaScript.static class
ScriptOperators.Function
defines a custom aggregation $function in JavaScript.static class
AggregationExpression
for$allElementsTrue
.static class
AggregationExpression
for$anyElementTrue
.static class
AggregationExpression
for$setDifference
.static class
AggregationExpression
for$setEquals
.static class
AggregationExpression
for$setIntersection
.static class
AggregationExpression
for$setIsSubset
.static class
AggregationExpression
for$setUnion
.static class
AggregationExpression
for$concat
.static class
AggregationExpression
for$indexOfBytes
.static class
AggregationExpression
for$indexOfCP
.static class
AggregationExpression
for$ltrim
which removes whitespace or the specified characters from the beginning of a string.static class
AggregationExpression
for$regexFind
which applies a regular expression (regex) to a string and returns information on the first matched substring.static class
AggregationExpression
for$regexFindAll
which applies a regular expression (regex) to a string and returns information on all the matched substrings.static class
AggregationExpression
for$regexMatch
which applies a regular expression (regex) to a string and returns a boolean that indicates if a match is found or not.static class
AggregationExpression
for$replaceAll
which replaces all instances of a search string in an input string with a replacement string.static class
AggregationExpression
for$replaceOne
which replaces the first instance of a search string in an input string with a replacement string.static class
AggregationExpression
for$rtrim
which removes whitespace or the specified characters from the end of a string.static class
AggregationExpression
for$split
.static class
AggregationExpression
for$strcasecmp
.static class
AggregationExpression
for$strLenBytes
.static class
AggregationExpression
for$strLenCP
.static class
AggregationExpression
for$substr
.static class
AggregationExpression
for$substrCP
.static class
AggregationExpression
for$toLower
.static class
AggregationExpression
for$toUpper
.static class
AggregationExpression
for$trim
which removes whitespace or the specified characters from the beginning and end of a string.static class
AggregationExpression
for$let
that bindsAggregationExpression
to variables for use in the specifiedin
expression, and returns the result of the expression.static class
AggregationExpression
for$map
.Modifier and TypeMethodDescriptionstatic AggregationExpression
AggregationExpression.from
(MongoExpression expression) Create anAggregationExpression
out of a givenMongoExpression
to ensure the resultingDocument
is mapped against theAggregationOperationContext
.SetWindowFieldsOperation.ComputedField.getWindowOperator()
Modifier and TypeMethodDescriptionstatic ArithmeticOperators.Abs
ArithmeticOperators.Abs.absoluteValueOf
(AggregationExpression expression) Creates newArithmeticOperators.Abs
.static ArithmeticOperators.ACosh
ArithmeticOperators.ACosh.acoshOf
(AggregationExpression expression) Creates a newAggregationExpression
that calculates the inverse hyperbolic cosine of a value.static ArithmeticOperators.ACos
ArithmeticOperators.ACos.acosOf
(AggregationExpression expression) Creates a newAggregationExpression
that calculates the inverse cosine of a value.ArithmeticOperators.Add.add
(AggregationExpression expression) Add the evaluation result of the givenAggregationExpression
.ArithmeticOperators.ArithmeticOperatorFactory.add
(AggregationExpression expression) Creates newAggregationExpression
that adds the resulting value of the givenAggregationExpression
to the associated number.static DateOperators.DateAdd
DateOperators.DateAdd.addValueOf
(AggregationExpression expression, String unit) Add the number of units of the result of the givenexpression
to astart date
.DateOperators.DateOperatorFactory.addValueOf
(AggregationExpression expression, String unit) Creates newAggregationExpression
that adds the value of the givenexpression
(in units).DateOperators.DateOperatorFactory.addValueOf
(AggregationExpression expression, DateOperators.TemporalUnit unit) Creates newAggregationExpression
that adds the value of the givenexpression
(in units).AccumulatorOperators.Avg.and
(AggregationExpression expression) Creates newAccumulatorOperators.Avg
with all previously added arguments appending the given one.AccumulatorOperators.CovariancePop.and
(AggregationExpression expression) Creates newAccumulatorOperators.CovariancePop
with all previously added arguments appending the given one.AccumulatorOperators.CovarianceSamp.and
(AggregationExpression expression) Creates newAccumulatorOperators.CovarianceSamp
with all previously added arguments appending the given one.AccumulatorOperators.Max.and
(AggregationExpression expression) Creates newAccumulatorOperators.Max
with all previously added arguments appending the given one.AccumulatorOperators.Min.and
(AggregationExpression expression) Creates newAccumulatorOperators.Min
with all previously added arguments appending the given one.AccumulatorOperators.StdDevPop.and
(AggregationExpression expression) Creates newAccumulatorOperators.StdDevSamp
with all previously added arguments appending the given one.AccumulatorOperators.StdDevSamp.and
(AggregationExpression expression) Creates newAccumulatorOperators.StdDevSamp
with all previously added arguments appending the given one.AccumulatorOperators.Sum.and
(AggregationExpression expression) Creates newAccumulatorOperators.Sum
with all previously added arguments appending the given one.BooleanOperators.BooleanOperatorFactory.and
(AggregationExpression expression) Creates newAggregationExpression
that evaluates one or more expressions and returns true if all of the expressions are true.ProjectionOperation.and
(AggregationExpression expression) ProjectionOperation.ArrayProjectionOperationBuilder.and
(AggregationExpression expression) Creates a newProjectionOperation.ArrayProjectionOperationBuilder
with the currentProjectionOperation.Projection
s and the given one.ReplaceRootOperation.ReplaceRootDocumentOperation.and
(AggregationExpression aggregationExpression) Creates a newReplaceRootOperation.ReplaceRootDocumentOperationBuilder
to define a field for theAggregationExpression
.VariableOperators.Let.LetBuilder.andApply
(AggregationExpression expression) Define theAggregationExpression
to evaluate.VariableOperators.Map.FunctionBuilder.andApply
(AggregationExpression expression) Creates newVariableOperators.Map
that applies the givenAggregationExpression
to each item of the referenced array and returns an array with the applied results.BooleanOperators.And.andExpression
(AggregationExpression expression) Creates newBooleanOperators.And
with all previously added arguments appending the given one.BucketAutoOperation.andOutput
(AggregationExpression expression) BucketOperation.andOutput
(AggregationExpression expression) abstract B
BucketOperationSupport.andOutput
(AggregationExpression expression) Creates a newBucketOperationSupport
given anAggregationExpression
to add an output field to the resulting bucket documents.org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.WindowOutput.ComputedFieldAppender
SetWindowFieldsOperation.WindowOutput.append
(AggregationExpression expression) Append the givenAggregationExpression
as afield
in a fluent way.static SetOperators.AllElementsTrue
SetOperators.AllElementsTrue.arrayAsSet
(AggregationExpression expression) Creates newSetOperators.AllElementsTrue
.static SetOperators.AnyElementTrue
SetOperators.AnyElementTrue.arrayAsSet
(AggregationExpression expression) Creates newSetOperators.AnyElementTrue
.SetOperators.arrayAsSet
(AggregationExpression expression) Take the array resulting from the givenAggregationExpression
.static SetOperators.SetDifference
SetOperators.SetDifference.arrayAsSet
(AggregationExpression expression) Creates newSetOperators.SetDifference
.static SetOperators.SetEquals
SetOperators.SetEquals.arrayAsSet
(AggregationExpression expression) Create newSetOperators.SetEquals
.static SetOperators.SetIntersection
SetOperators.SetIntersection.arrayAsSet
(AggregationExpression expression) Creates newSetOperators.SetIntersection
.static SetOperators.SetIsSubset
SetOperators.SetIsSubset.arrayAsSet
(AggregationExpression expression) Creates newSetOperators.SetIsSubset
.static SetOperators.SetUnion
SetOperators.SetUnion.arrayAsSet
(AggregationExpression expression) Creates newSetOperators.SetUnion
.static ArrayOperators.ArrayElemAt
ArrayOperators.ArrayElemAt.arrayOf
(AggregationExpression expression) Creates newArrayOperators.ArrayElemAt
.ArrayOperators.arrayOf
(AggregationExpression expression) Take the array referenced resulting from the givenAggregationExpression
.static ArrayOperators.ConcatArrays
ArrayOperators.ConcatArrays.arrayOf
(AggregationExpression expression) Creates newArrayOperators.ConcatArrays
.static ArrayOperators.In.InBuilder
ArrayOperators.In.arrayOf
(AggregationExpression expression) Start creatingArrayOperators.In
.ArrayOperators.IndexOfArray.arrayOf
(AggregationExpression expression) Start creating newArrayOperators.IndexOfArray
.ArrayOperators.Reduce.arrayOf
(AggregationExpression arrayValueExpression) Start creating newArrayOperators.Reduce
.ArrayOperators.Zip.arrayOf
(AggregationExpression expression) Start creating newArrayOperators.Zip
.static ArrayOperators.ArrayToObject
ArrayOperators.ArrayToObject.arrayValueOfToObject
(AggregationExpression expression) Converts the result array of the givenexpression
to an object.static ArithmeticOperators.ASinh
ArithmeticOperators.ASinh.asinhOf
(AggregationExpression expression) Creates a newAggregationExpression
that calculates the inverse hyperbolic sine of a value.static ArithmeticOperators.ASin
ArithmeticOperators.ASin.asinOf
(AggregationExpression expression) Creates a newAggregationExpression
that calculates the inverse sine of a value.ArithmeticOperators.ArithmeticOperatorFactory.atan2
(AggregationExpression expression) Creates newAggregationExpression
that calculates the inverse tangent of the the numeric value divided by the givenAggregationExpression
in the argument.ArithmeticOperators.ATan2.atan2of
(AggregationExpression expression) Creates a newAggregationExpression
that calculates the hyperbolic tangent of a value that is measured inArithmeticOperators.AngularUnit.RADIANS
.static ArithmeticOperators.ATanh
ArithmeticOperators.ATanh.atanhOf
(AggregationExpression expression) Creates a newAggregationExpression
that calculates the inverse hyperbolic tangent of a value.static ArithmeticOperators.ATan
ArithmeticOperators.ATan.atanOf
(AggregationExpression expression) Creates a newAggregationExpression
that calculates the inverse tangent of a value.GroupOperation.avg
(AggregationExpression expr) Generates anGroupOperation.GroupOperationBuilder
for an$avg
-expression for the givenAggregationExpression
.static AccumulatorOperators.Avg
AccumulatorOperators.Avg.avgOf
(AggregationExpression expression) Creates newAccumulatorOperators.Avg
.static BucketOperation
Aggregation.bucket
(AggregationExpression groupByExpression) Creates a newBucketOperation
givengroup-by expression
.static BucketAutoOperation
Aggregation.bucketAuto
(AggregationExpression groupByExpression, int buckets) Creates a newBucketAutoOperation
givengroup-by expression
.ArrayOperators.Filter.ConditionBuilder.by
(AggregationExpression expression) Set theAggregationExpression
that determines whether to include the element in the resulting array.static ArithmeticOperators.Ceil
ArithmeticOperators.Ceil.ceilValueOf
(AggregationExpression expression) Creates newArithmeticOperators.Ceil
.StringOperators.LTrim.charsOf
(AggregationExpression expression) Optional specify theAggregationExpression
evaluating to the character sequence to trim from the beginning.StringOperators.RTrim.charsOf
(AggregationExpression expression) Optional specify theAggregationExpression
evaluating to the character sequence to trim from the end.StringOperators.Trim.charsOf
(AggregationExpression expression) Optional specify theAggregationExpression
evaluating to the character sequence to trim from the beginning.ComparisonOperators.Cmp.compareTo
(AggregationExpression expression) Creates newComparisonOperators.Cmp
with all previously added arguments appending the given one.ComparisonOperators.ComparisonOperatorFactory.compareTo
(AggregationExpression expression) Creates newAggregationExpression
that compares two values.ArrayOperators.ArrayOperatorFactory.concat
(AggregationExpression expression) Creates newAggregationExpression
that takes the associated array and concats the array resulting form the given expression to it.ArrayOperators.ConcatArrays.concat
(AggregationExpression expression) Concat with the array resulting from the givenAggregationExpression
.StringOperators.Concat.concatValueOf
(AggregationExpression expression) Concat the value resulting from the givenAggregationExpression
.StringOperators.StringOperatorFactory.concatValueOf
(AggregationExpression expression) Creates newAggregationExpression
that takes the associated string representation and concats the result of the givenAggregationExpression
to it.ConvertOperators.ConvertOperatorFactory.convertToTypeOf
(AggregationExpression expression) Creates newaggregation expression
that takes the associated value and converts it into the type specified by the givenexpression
.static ConvertOperators.Convert
ConvertOperators.Convert.convertValueOf
(AggregationExpression expression) Creates newConvertOperators.Convert
using the result of the providedexpression
as input value.static ArithmeticOperators.Cosh
ArithmeticOperators.Cosh.coshOf
(AggregationExpression expression) Creates a newAggregationExpression
that calculates the hyperbolic cosine of a value that is measured inArithmeticOperators.AngularUnit.RADIANS
.static ArithmeticOperators.Cosh
ArithmeticOperators.Cosh.coshOf
(AggregationExpression expression, ArithmeticOperators.AngularUnit unit) Creates a newAggregationExpression
that calculates the hyperbolic cosine of a value that is measured in the givenunit
.static ArithmeticOperators.Cos
ArithmeticOperators.Cos.cosOf
(AggregationExpression expression) Creates a newAggregationExpression
that calculates the cosine of a value that is measured inArithmeticOperators.AngularUnit.RADIANS
.static ArithmeticOperators.Cos
ArithmeticOperators.Cos.cosOf
(AggregationExpression expression, ArithmeticOperators.AngularUnit unit) Creates a newAggregationExpression
that calculates the cosine of a value that is measured in the givenunit
.AccumulatorOperators.AccumulatorOperatorFactory.covariancePop
(AggregationExpression expression) Creates newAggregationExpression
that uses the previous input (field/expression) and the result of the givenexpression
to calculate the population covariance of the two.ArithmeticOperators.ArithmeticOperatorFactory.covariancePop
(AggregationExpression expression) Creates newAggregationExpression
that uses the previous input (field/expression) and the result of the givenexpression
to calculate the population covariance of the two.AccumulatorOperators.CovariancePop.covariancePopOf
(AggregationExpression expression) Creates newAccumulatorOperators.CovariancePop
.AccumulatorOperators.AccumulatorOperatorFactory.covarianceSamp
(AggregationExpression expression) Creates newAggregationExpression
that uses the previous input (field/expression) and the result of the givenexpression
to calculate the sample covariance of the two.ArithmeticOperators.ArithmeticOperatorFactory.covarianceSamp
(AggregationExpression expression) Creates newAggregationExpression
that uses the previous input (field/expression) and the result of the givenexpression
to calculate the sample covariance of the two.AccumulatorOperators.CovarianceSamp.covarianceSampOf
(AggregationExpression expression) Creates newAccumulatorOperators.CovarianceSamp
.DateOperators.dateOf
(AggregationExpression expression) Take the date resulting from the givenAggregationExpression
.DateOperators.DateToString.dateOf
(AggregationExpression expression) Creates newDateOperators.DateToString.FormatBuilder
allowing to define the date format to apply.static DateOperators.DateToParts
DateOperators.DateToParts.datePartsOf
(AggregationExpression expression) Creates newDateOperators.DateToParts
.DateOperators.DateFromParts.dayOf
(AggregationExpression expression) Set the day to the result of the givenexpression
.static DateOperators.DayOfMonth
DateOperators.DayOfMonth.dayOfMonth
(AggregationExpression expression) Creates newDateOperators.DayOfMonth
.static DateOperators.DayOfWeek
DateOperators.DayOfWeek.dayOfWeek
(AggregationExpression expression) Creates newDateOperators.DayOfWeek
.static DateOperators.DayOfYear
DateOperators.DayOfYear.dayOfYear
(AggregationExpression expression) Creates newDateOperators.DayOfYear
.ArrayOperators.Zip.defaultTo
(AggregationExpression expression) Optionally provide a default value.DocumentOperators.Shift.defaultToValueOf
(AggregationExpression expression) Define theexpression
to evaluate if the target document is out of range.ArrayOperators.Reduce.PropertyExpression.AsBuilder.definedAs
(AggregationExpression expression) Set theAggregationExpression
resulting in the properties value.ConvertOperators.DegreesToRadians.degreesToRadiansOf
(AggregationExpression expression) Create a new instance ofConvertOperators.DegreesToRadians
that converts the result of the givenexpression
, measured in degrees, to radians.ArithmeticOperators.Derivative.derivativeOf
(AggregationExpression expression) Create a new instance ofArithmeticOperators.Derivative
for the value provided by the given expression that resolves to a numeric value.SetOperators.SetDifference.differenceTo
(AggregationExpression expression) Creates newSetOperators.SetDifference
with all previously added arguments appending the given one.SetOperators.SetOperatorFactory.differenceTo
(AggregationExpression expression) Creates newAggregationExpression
that takes array of the previously mentioned field and returns an array containing the elements that do not exist in the givenAggregationExpression
.static DateOperators.DateDiff
DateOperators.DateDiff.diffValueOf
(AggregationExpression expression, String unit) Add the number of units of the result of the givenexpression
to astart date
.DateOperators.DateOperatorFactory.diffValueOf
(AggregationExpression expression, String unit) Creates newAggregationExpression
that calculates the difference (in units) to the date computed by the givenexpression
.DateOperators.DateOperatorFactory.diffValueOf
(AggregationExpression expression, DateOperators.TemporalUnit unit) Creates newAggregationExpression
that calculates the difference (in units) to the date computed by the givenexpression
.ProjectionOperation.ProjectionOperationBuilder.divide
(AggregationExpression expression) Generates an$divide
expression that divides the value of the previously mentioned by the result of theAggregationExpression
.ArithmeticOperators.ArithmeticOperatorFactory.divideBy
(AggregationExpression expression) Creates newAggregationExpression
that divides the associated number by number extracted via expression.ArithmeticOperators.Divide.divideBy
(AggregationExpression expression) Divide by the evaluation results of the givenAggregationExpression
.ArrayOperators.ArrayElemAt.elementAt
(AggregationExpression expression) Use the element at the index number evaluated from the givenAggregationExpression
.ArrayOperators.ArrayOperatorFactory.elementAt
(AggregationExpression expression) Creates newAggregationExpression
that takes the associated array and returns the element at the position resulting form the given expression.ComparisonOperators.ComparisonOperatorFactory.equalTo
(AggregationExpression expression) Creates newAggregationExpression
that compares two values and returns true when the first value is equal to the expression result.ComparisonOperators.Eq.equalTo
(AggregationExpression expression) Creates newComparisonOperators.Eq
with all previously added arguments appending the given one.AccumulatorOperators.ExpMovingAvg.expMovingAvgOf
(AggregationExpression expression) Create a newAccumulatorOperators.ExpMovingAvg
by defining theexpression
to compute the value to be used as input.static ArithmeticOperators.Exp
ArithmeticOperators.Exp.expValueOf
(AggregationExpression expression) Creates newArithmeticOperators.Exp
.ProjectionOperation.ProjectionOperationBuilder.filter
(String as, AggregationExpression condition) Generates a$filter
expression that returns a subset of the array held by the given field.StringOperators.ReplaceAll.findValueOf
(AggregationExpression expression) Specify theAggregationExpression
evaluating to the string to search for within the given input field.StringOperators.ReplaceOne.findValueOf
(AggregationExpression expression) Specify theAggregationExpression
evaluating to the the string to search for within the given input field.GroupOperation.first
(AggregationExpression expr) Generates anGroupOperation.GroupOperationBuilder
for a$first
-expression for the givenAggregationExpression
.static ArrayOperators.First
ArrayOperators.First.firstOf
(AggregationExpression expression) Returns the first element of the array computed by the givenexpression
.static ArithmeticOperators.Floor
ArithmeticOperators.Floor.floorValueOf
(AggregationExpression expression) Creates newArithmeticOperators.Floor
.VariableOperators.Let.ExpressionVariable.forExpression
(AggregationExpression expression) Create a newVariableOperators.Let.ExpressionVariable
with current name and given expression.static DateOperators.DateFromString
DateOperators.DateFromString.fromStringOf
(AggregationExpression expression) Creates newDateOperators.DateFromString
.ComparisonOperators.ComparisonOperatorFactory.greaterThan
(AggregationExpression expression) Creates newAggregationExpression
that compares two values and returns true when the first value is greater than the expression result.ComparisonOperators.Gt.greaterThan
(AggregationExpression expression) Creates newComparisonOperators.Gt
with all previously added arguments appending the given one.ComparisonOperators.ComparisonOperatorFactory.greaterThanEqualTo
(AggregationExpression expression) Creates newAggregationExpression
that compares two values and returns true when the first value is greater than or equivalent to the expression result.ComparisonOperators.Gte.greaterThanEqualTo
(AggregationExpression expression) Creates newComparisonOperators.Gte
with all previously added arguments appending the given one.default T
DateOperators.DateParts.hourOf
(AggregationExpression expression) Set the hour to the result of the givenexpression
.static DateOperators.Hour
DateOperators.Hour.hourOf
(AggregationExpression expression) Creates newDateOperators.Hour
.ConditionalOperators.ifNull
(AggregationExpression expression) Creates newAggregationExpression
that evaluates an expression and returns the value of the expression if the expression evaluates to a non-null value.ConditionalOperators.IfNull.ifNull
(AggregationExpression expression) Creates newConditionalOperators.IfNull
.ConditionalOperators.IfNull.IfNullBuilder.ifNull
(AggregationExpression expression) StringOperators.IndexOfBytes.SubstringBuilder.indexOf
(AggregationExpression expression) Creates a newStringOperators.IndexOfBytes
givenAggregationExpression
that resolves to the substring.StringOperators.IndexOfCP.SubstringBuilder.indexOf
(AggregationExpression expression) Creates a newStringOperators.IndexOfCP
givenAggregationExpression
that resolves to the substring.StringOperators.StringOperatorFactory.indexOf
(AggregationExpression expression) Creates newAggregationExpression
that takes the associated string representation and searches a string for an occurrence of a substring resulting from the givenAggregationExpression
and returns the UTF-8 byte index (zero-based) of the first occurrence.StringOperators.StringOperatorFactory.indexOfCP
(AggregationExpression expression) Creates newAggregationExpression
that takes the associated string representation and searches a string for an occurrence of a substring resulting from the givenAggregationExpression
and returns the UTF-8 code point index (zero-based) of the first occurrence.static ArithmeticOperators.Integral
ArithmeticOperators.Integral.integralOf
(AggregationExpression expression) Create a new instance ofArithmeticOperators.Integral
for the value provided by the given expression that resolves to a numeric value.SetOperators.SetIntersection.intersects
(AggregationExpression... expressions) Creates newSetOperators.SetIntersection
with all previously added arguments appending the given one.SetOperators.SetOperatorFactory.intersects
(AggregationExpression... expressions) Creates newAggregationExpression
that takes array of the previously mentioned field and one or more arrays and returns an array that contains the elements that appear in every of those.static ArrayOperators.IsArray
ArrayOperators.IsArray.isArray
(AggregationExpression expression) Creates newArrayOperators.IsArray
.SetOperators.SetEquals.isEqualTo
(AggregationExpression... expressions) Creates newAccumulatorOperators.Sum
with all previously added arguments appending the given one.SetOperators.SetOperatorFactory.isEqualTo
(AggregationExpression... expressions) Creates newAggregationExpression
that compares the previously mentioned field to one or more arrays and returns true if they have the same distinct elements and false otherwise.static DateOperators.IsoDayOfWeek
DateOperators.IsoDayOfWeek.isoDayOfWeek
(AggregationExpression expression) Creates newDateOperators.IsoDayOfWeek
.DateOperators.IsoDateFromParts.isoDayOfWeekOf
(AggregationExpression expression) Set the day of week to the result of the givenexpression
.DateOperators.IsoDateFromParts.isoWeekOf
(AggregationExpression expression) Set the week of year to the result of the givenexpression
.static DateOperators.IsoWeek
DateOperators.IsoWeek.isoWeekOf
(AggregationExpression expression) Creates newDateOperators.IsoWeek
.DateOperators.DateFromPartsOperatorFactory.isoWeekYearOf
(AggregationExpression expression) Set the week date year to the result of the givenexpression
.default DateOperators.IsoDateFromParts
DateOperators.IsoDateFromParts.IsoDateFromPartsWithYear.isoWeekYearOf
(AggregationExpression expression) Set the week date year to the result of the givenexpression
.static DateOperators.IsoWeekYear
DateOperators.IsoWeekYear.isoWeekYearOf
(AggregationExpression expression) Creates newDateOperators.Millisecond
.SetOperators.SetIsSubset.isSubsetOf
(AggregationExpression expression) Creates newSetOperators.SetIsSubset
with all previously added arguments appending the given one.SetOperators.SetOperatorFactory.isSubsetOf
(AggregationExpression expression) Creates newAggregationExpression
that takes array of the previously mentioned field and returns true if it is a subset of the givenAggregationExpression
.VariableOperators.Map.itemsOf
(AggregationExpression source) Starts building newVariableOperators.Map
that applies anAggregationExpression
to each item of a referenced array and returns an array with the applied results.GroupOperation.last
(AggregationExpression expr) Generates anGroupOperation.GroupOperationBuilder
for an$last
-expression for the givenAggregationExpression
.static ArrayOperators.Last
ArrayOperators.Last.lastOf
(AggregationExpression expression) Returns the last element of the array computed buy the givenexpression
.static ArrayOperators.Size
ArrayOperators.Size.lengthOfArray
(AggregationExpression expression) Creates newArrayOperators.Size
.ComparisonOperators.ComparisonOperatorFactory.lessThan
(AggregationExpression expression) Creates newAggregationExpression
that compares two values and returns true when the first value is less than the expression result.ComparisonOperators.Lt.lessThan
(AggregationExpression expression) Creates newComparisonOperators.Lt
with all previously added arguments appending the given one.ComparisonOperators.ComparisonOperatorFactory.lessThanEqualTo
(AggregationExpression expression) Creates newAggregationExpression
that compares two values and returns true when the first value is less than or equivalent to the expression result.ComparisonOperators.Lte.lessThanEqualTo
(AggregationExpression expression) Creates newComparisonOperators.Lte
with all previously added arguments appending the given one.ProjectionOperation.ProjectionOperationBuilder.let
(Collection<VariableOperators.Let.ExpressionVariable> variables, AggregationExpression in) Generates a$let
expression that binds variables for use in the specified expression, and returns the result of the expression.ProjectionOperation.ProjectionOperationBuilder.let
(AggregationExpression valueExpression, String variableName, AggregationExpression in) Generates a$let
expression that binds variables for use in the specified expression, and returns the result of the expression.static ArithmeticOperators.Ln
ArithmeticOperators.Ln.lnValueOf
(AggregationExpression expression) Creates newArithmeticOperators.Ln
.ArithmeticOperators.ArithmeticOperatorFactory.log
(AggregationExpression expression) Creates newAggregationExpression
that calculates the log of the associated number in the specified base extracted by givenAggregationExpression
.ArithmeticOperators.Log.log
(AggregationExpression expression) Use the evaluated value of the givenAggregationExpression
as log base.ProjectionOperation.ProjectionOperationBuilder.log
(AggregationExpression base) Generates a$log
expression that takes the number of the previously mentioned field and calculates the log of the associated number in the specified base.static ArithmeticOperators.Log10
ArithmeticOperators.Log10.log10ValueOf
(AggregationExpression expression) Creates newArithmeticOperators.Log10
.static StringOperators.ToLower
StringOperators.ToLower.lowerValueOf
(AggregationExpression expression) Creates newStringOperators.ToLower
.StringOperators.StringOperatorFactory.ltrim
(AggregationExpression expression) Creates newAggregationExpression
that takes the associated string representation and trims the character sequence resulting from the givenAggregationExpression
from the beginning.VariableOperators.mapItemsOf
(AggregationExpression expression) Starts building newVariableOperators.Map
that applies anAggregationExpression
to each item of a referenced array and returns an array with the applied results.static MatchOperation
Aggregation.match
(AggregationExpression expression) Creates a newMatchOperation
using the givenAggregationExpression
.GroupOperation.max
(AggregationExpression expr) Generates anGroupOperation.GroupOperationBuilder
for an$max
-expression that for the givenAggregationExpression
.static AccumulatorOperators.Max
AccumulatorOperators.Max.maxOf
(AggregationExpression expression) Creates newAccumulatorOperators.Max
.static ObjectOperators.MergeObjects
ObjectOperators.MergeObjects.mergeValuesOf
(AggregationExpression... expressions) Creates newaggregation expression
that takes the result of the givenexpressions
and combines them into a single document.ObjectOperators.MergeObjects.mergeWithValuesOf
(AggregationExpression... expression) Creates newaggregation expression
by adding the givenexpressions
.ObjectOperators.ObjectOperatorFactory.mergeWithValuesOf
(AggregationExpression... expression) Creates newaggregation expression
that takes the associated value and combines it with the result values of the givenexpressions
into a single document.default T
DateOperators.DateParts.millisecondOf
(AggregationExpression expression) Set the milliseconds to the result of the givenexpression
.static DateOperators.Millisecond
DateOperators.Millisecond.millisecondOf
(AggregationExpression expression) Creates newDateOperators.Millisecond
.GroupOperation.min
(AggregationExpression expr) Generates anGroupOperation.GroupOperationBuilder
for an$min
-expression that for the givenAggregationExpression
.static AccumulatorOperators.Min
AccumulatorOperators.Min.minOf
(AggregationExpression expression) Creates newAccumulatorOperators.Min
.ProjectionOperation.ProjectionOperationBuilder.minus
(AggregationExpression expression) Generates an$subtract
expression that subtracts the result of the givenAggregationExpression
from the previously mentioned field.default T
DateOperators.DateParts.minuteOf
(AggregationExpression expression) Set the minute to the result of the givenexpression
.static DateOperators.Minute
DateOperators.Minute.minuteOf
(AggregationExpression expression) Creates newDateOperators.Minute
.ArithmeticOperators.ArithmeticOperatorFactory.mod
(AggregationExpression expression) Creates newAggregationExpression
that divides the associated number by another and returns the remainder.ArithmeticOperators.Mod.mod
(AggregationExpression expression) Use evaluated value of the givenAggregationExpression
as mod base.ProjectionOperation.ProjectionOperationBuilder.mod
(AggregationExpression expression) Generates an$mod
expression that divides the value of the previously mentioned field by the result of theAggregationExpression
.DateOperators.DateFromParts.monthOf
(AggregationExpression expression) Set the month to the result of the givenexpression
.static DateOperators.Month
DateOperators.Month.monthOf
(AggregationExpression expression) Creates newDateOperators.Month
.ProjectionOperation.ProjectionOperationBuilder.multiply
(AggregationExpression expression) Generates an$multiply
expression that multiplies the previously with the result of theAggregationExpression
. mentioned field.ArithmeticOperators.ArithmeticOperatorFactory.multiplyBy
(AggregationExpression expression) Creates newAggregationExpression
that multiplies the associated number with another.ArithmeticOperators.Multiply.multiplyBy
(AggregationExpression expression) Multiply by the evaluated value of the givenAggregationExpression
.static BooleanOperators.Not
BooleanOperators.not
(AggregationExpression expression) Creates newAggregationExpression
that evaluates the boolean value ofAggregationExpression
result and returns the opposite boolean value.static BooleanOperators.Not
BooleanOperators.Not.not
(AggregationExpression expression) Creates newBooleanOperators.Not
that evaluates the resulting boolean value of the givenAggregationExpression
and returns the opposite boolean value.ComparisonOperators.ComparisonOperatorFactory.notEqualTo
(AggregationExpression expression) Creates newAggregationExpression
that compares two values and returns true when the values are not equivalent.ComparisonOperators.Ne.notEqualTo
(AggregationExpression expression) Creates newComparisonOperators.Ne
with all previously added arguments appending the given one.static DateOperators.Timezone
DateOperators.Timezone.ofExpression
(AggregationExpression expression) Create aDateOperators.Timezone
for theAggregationExpression
resulting in the Olson Timezone Identifier or UTC Offset.ConvertOperators.Convert.onErrorReturnValueOf
(AggregationExpression expression) Optionally specify the expression to evaluate and return on encountering an error during conversion.ConvertOperators.Convert.onNullReturnValueOf
(AggregationExpression expression) Optionally specify the expression to evaluate and return when the input is null or missing.DateOperators.DateToString.onNullReturnValueOf
(AggregationExpression expression) Optionally specify the expression to evaluate and return when the date is null or missing.StringOperators.RegexFind.optionsOf
(AggregationExpression expression) Optional specify theAggregationExpression
evaluating to the options values to use with the regular expression.StringOperators.RegexFindAll.optionsOf
(AggregationExpression expression) Optional specify theAggregationExpression
evaluating to the options values to use with the regular expression.StringOperators.RegexMatch.optionsOf
(AggregationExpression expression) Optional specify theAggregationExpression
evaluating to the options values to use with the regular expression.BooleanOperators.BooleanOperatorFactory.or
(AggregationExpression expression) Creates newAggregationExpression
that evaluates one or more expressions and returns true if any of the expressions are true.BooleanOperators.Or.orExpression
(AggregationExpression expression) Creates newBooleanOperators.Or
with all previously added arguments appending the given one.ConditionalOperators.IfNull.OrBuilder.orIfNull
(AggregationExpression expression) ConditionalOperators.Cond.OtherwiseBuilder.otherwiseValueOf
(AggregationExpression expression) SetWindowFieldsOperation.SetWindowFieldsOperationBuilder.output
(AggregationExpression expression) Add a field capturing the result of the givenexpression
to the output.SetWindowFieldsOperation.SetWindowFieldsOperationBuilder.partitionByExpression
(AggregationExpression expression) Specify theexpression
to group by.ArithmeticOperators.Round.placeOf
(AggregationExpression expression) The place to round to defined by an expression that resolves to an integer between -20 and 100, exclusive.ArithmeticOperators.ArithmeticOperatorFactory.pow
(AggregationExpression expression) Creates newAggregationExpression
that raises the associated number to the specified exponent.ArithmeticOperators.Pow.pow
(AggregationExpression expression) Pow by the evaluated value of the givenAggregationExpression
.ProjectionOperation.ProjectionOperationBuilder.pow
(AggregationExpression exponentExpression) Generates a$pow
expression that Takes the number of the previously mentioned field and raises it by the specified exponent.ArrayOperators.RangeOperator.rangeStartingAt
(AggregationExpression expression) Start creating newArrayOperators.RangeOperator
.static RedactOperation
Aggregation.redact
(AggregationExpression condition) Creates a newRedactOperation
that can restrict the content of a document based on information stored within the document itself.ArrayOperators.ArrayOperatorFactory.reduce
(AggregationExpression expression) Start creating newAggregationExpression
that applies anAggregationExpression
to each element in an array and combines them into a single value.ArrayOperators.Reduce.ReduceBuilder.reduce
(AggregationExpression expression) Define theAggregationExpression
to apply to each element in the input array in left-to-right order.StringOperators.StringOperatorFactory.regexFind
(AggregationExpression expression) Creates newAggregationExpression
that takes the associated string representation and applies the regular expression resulting from the givenAggregationExpression
to find the document with the first match.
NOTE: Requires MongoDB 4.0 or later.StringOperators.StringOperatorFactory.regexFindAll
(AggregationExpression expression) Creates newAggregationExpression
that takes the associated string representation and applies the regular expression resulting from the givenAggregationExpression
to find all the documents with the match..
NOTE: Requires MongoDB 4.0 or later.StringOperators.StringOperatorFactory.regexMatch
(AggregationExpression expression) Creates newAggregationExpression
that takes the associated string representation and applies the regular expression resulting from the givenAggregationExpression
to find if a match is found or not.
NOTE: Requires MongoDB 4.0 or later.StringOperators.RegexFind.regexOf
(AggregationExpression expression) Specify theAggregationExpression
evaluating to the regular expression to apply.StringOperators.RegexFindAll.regexOf
(AggregationExpression expression) Specify theAggregationExpression
evaluating to the regular expression to apply.StringOperators.RegexMatch.regexOf
(AggregationExpression expression) Optional specify theAggregationExpression
evaluating to the regular expression to apply.StringOperators.StringOperatorFactory.replaceAll
(AggregationExpression search, String replacement) Creates newAggregationExpression
that takes the associated string representation and replaces all occurrences of the search string computed by the givenAggregationExpression
with the given replacement.StringOperators.ReplaceOne.replacementOf
(AggregationExpression expression) Specifies theAggregationExpression
evaluating to the string to use to replace the first matched instance offind
ininput
.StringOperators.ReplaceAll.replacementValueOf
(AggregationExpression expression) Specifies theAggregationExpression
evaluating to the string to use to replace the first matched instance offind
in input.StringOperators.StringOperatorFactory.replaceOne
(AggregationExpression search, String replacement) Creates newAggregationExpression
that takes the associated string representation and replaces the first occurrence of the search string computed by the givenAggregationExpression
with the given replacement.static ReplaceRootOperation
Aggregation.replaceRoot
(AggregationExpression aggregationExpression) Factory method to create a newReplaceRootOperation
for the field with the givenAggregationExpression
.static ArrayOperators.ReverseArray
ArrayOperators.ReverseArray.reverseArrayOf
(AggregationExpression expression) Creates newArrayOperators.ReverseArray
givenAggregationExpression
.static ArithmeticOperators.Round
ArithmeticOperators.Round.roundValueOf
(AggregationExpression expression) Round the outcome of the given expression hat resolves to an integer, double, decimal, or long.StringOperators.StringOperatorFactory.rtrim
(AggregationExpression expression) Creates newAggregationExpression
that takes the associated string representation and trims the character sequence resulting from the givenAggregationExpression
from the end.default T
DateOperators.DateParts.secondOf
(AggregationExpression expression) Set the second to the result of the givenexpression
.static DateOperators.Second
DateOperators.Second.secondOf
(AggregationExpression expression) Creates newDateOperators.Second
.static DocumentOperators.Shift
DocumentOperators.Shift.shift
(AggregationExpression expression) Specifies theexpression
to evaluate and return.static ArithmeticOperators.Sinh
ArithmeticOperators.Sinh.sinhOf
(AggregationExpression expression) Creates a newAggregationExpression
that calculates the hyperbolic sine of a value that is measured inArithmeticOperators.AngularUnit.RADIANS
.static ArithmeticOperators.Sinh
ArithmeticOperators.Sinh.sinhOf
(AggregationExpression expression, ArithmeticOperators.AngularUnit unit) Creates a newAggregationExpression
that calculates the hyperbolic sine of a value that is measured in the givenunit
.static ArithmeticOperators.Sin
ArithmeticOperators.Sin.sinOf
(AggregationExpression expression) Creates a newAggregationExpression
that calculates the sine of a value that is measured inArithmeticOperators.AngularUnit.RADIANS
.static ArithmeticOperators.Sin
ArithmeticOperators.Sin.sinOf
(AggregationExpression expression, ArithmeticOperators.AngularUnit unit) Creates a newAggregationExpression
that calculates the sine of a value that is measured in the givenunit
.static ArrayOperators.Slice
ArrayOperators.Slice.sliceArrayOf
(AggregationExpression expression) Creates newArrayOperators.Slice
.static SortByCountOperation
Aggregation.sortByCount
(AggregationExpression groupAndSortExpression) Creates a newSortByCountOperation
givengroup and sort expression
.StringOperators.Split.split
(AggregationExpression expression) Use value resulting fromAggregationExpression
as delimiter.StringOperators.StringOperatorFactory.split
(AggregationExpression expression) Creates newAggregationExpression
that divides the associated string representation into an array of substrings based on a delimiter resulting from the givenAggregationExpression
.static ArithmeticOperators.Sqrt
ArithmeticOperators.Sqrt.sqrtOf
(AggregationExpression expression) Creates newArithmeticOperators.Sqrt
.GraphLookupOperation.StartWithBuilder.startWith
(AggregationExpression... expressions) Set the startWith expressions to apply the$graphLookup
to.GroupOperation.stdDevPop
(AggregationExpression expr) Generates anGroupOperation.GroupOperationBuilder
for an$stdDevPop
-expression that for the givenAggregationExpression
.AccumulatorOperators.StdDevPop.stdDevPopOf
(AggregationExpression expression) Creates newAccumulatorOperators.StdDevPop
with all previously added arguments appending the given one.GroupOperation.stdDevSamp
(AggregationExpression expr) Generates anGroupOperation.GroupOperationBuilder
for an$stdDevSamp
-expression that for the givenAggregationExpression
.AccumulatorOperators.StdDevSamp.stdDevSampOf
(AggregationExpression expression) Creates newAccumulatorOperators.StdDevSamp
.ProjectionOperation.ProjectionOperationBuilder.strCaseCmp
(AggregationExpression expression) Generates a$strcasecmp
expression that takes the string representation of the previously mentioned field and performs case-insensitive comparison to the result of the givenAggregationExpression
.StringOperators.StrCaseCmp.strcasecmpValueOf
(AggregationExpression expression) StringOperators.StringOperatorFactory.strCaseCmpValueOf
(AggregationExpression expression) Creates newAggregationExpression
that takes the associated string representation and performs case-insensitive comparison to the result of the givenAggregationExpression
.static StringOperators.StrLenBytes
StringOperators.StrLenBytes.stringLengthOf
(AggregationExpression expression) Creates newStringOperators.StrLenBytes
.static StringOperators.StrLenCP
StringOperators.StrLenCP.stringLengthOfCP
(AggregationExpression expression) Creates newStringOperators.StrLenCP
.ArithmeticOperators.ArithmeticOperatorFactory.subtract
(AggregationExpression expression) Creates newAggregationExpression
that subtracts value of given from the associated number.ArithmeticOperators.Subtract.subtract
(AggregationExpression expression) Subtract the evaluated value of the givenAggregationExpression
.GroupOperation.sum
(AggregationExpression expr) Generates anGroupOperation.GroupOperationBuilder
for an$sum
-expression for the givenAggregationExpression
.static AccumulatorOperators.Sum
AccumulatorOperators.Sum.sumOf
(AggregationExpression expression) Creates newAccumulatorOperators.Sum
.static ArithmeticOperators.Tanh
ArithmeticOperators.Tanh.tanhOf
(AggregationExpression expression) Creates a newAggregationExpression
that calculates the hyperbolic tangent of a value that is measured inArithmeticOperators.AngularUnit.RADIANS
.static ArithmeticOperators.Tanh
ArithmeticOperators.Tanh.tanhOf
(AggregationExpression expression, ArithmeticOperators.AngularUnit unit) Creates a newAggregationExpression
that calculates the hyperbolic tangent of a value that is measured in the givenunit
.static ArithmeticOperators.Tan
ArithmeticOperators.Tan.tanOf
(AggregationExpression expression) Creates a newAggregationExpression
that calculates the tangent of a value that is measured inArithmeticOperators.AngularUnit.RADIANS
.static ArithmeticOperators.Tan
ArithmeticOperators.Tan.tanOf
(AggregationExpression expression, ArithmeticOperators.AngularUnit unit) Creates a newAggregationExpression
that calculates the tangent of a value that is measured in the givenunit
.ConditionalOperators.Cond.ThenBuilder.thenValueOf
(AggregationExpression expression) ConditionalOperators.ConditionalOperatorFactory.thenValueOf
(AggregationExpression expression) Creates newAggregationExpression
that evaluates a boolean expression to return one of the two specified return expressions.ConditionalOperators.IfNull.ThenBuilder.thenValueOf
(AggregationExpression expression) ArrayOperators.RangeOperator.RangeOperatorBuilder.to
(AggregationExpression expression) Creates newArrayOperators.RangeOperator
.DateOperators.DateAdd.toDateOf
(AggregationExpression expression) Define the start date, in UTC, for the addition operation.DateOperators.DateDiff.toDateOf
(AggregationExpression expression) Define the start date, in UTC, for the addition operation.ConvertOperators.Convert.toTypeOf
(AggregationExpression expression) Specify the conversion target type via the value of the givenexpression
.StringOperators.StringOperatorFactory.trim
(AggregationExpression expression) Creates newAggregationExpression
that takes the associated string representation and trims the character sequence resulting from the givenAggregationExpression
from the beginning and end.static ArithmeticOperators.Trunc
ArithmeticOperators.Trunc.truncValueOf
(AggregationExpression expression) Creates newArithmeticOperators.Trunc
.SetOperators.SetOperatorFactory.union
(AggregationExpression... expressions) Creates newAggregationExpression
that takes array of the previously mentioned field and one or more arrays and returns an array that contains the elements that appear in any of those.SetOperators.SetUnion.union
(AggregationExpression... expressions) Creates newSetOperators.SetUnion
with all previously added arguments appending the given one.static StringOperators.ToUpper
StringOperators.ToUpper.upperValueOf
(AggregationExpression expression) Creates newStringOperators.ToUpper
.AccumulatorOperators.valueOf
(AggregationExpression expression) Take the numeric value referenced resulting from givenAggregationExpression
.static ArithmeticOperators.Add
ArithmeticOperators.Add.valueOf
(AggregationExpression expression) Creates newArithmeticOperators.Add
.static ArithmeticOperators.ATan2
ArithmeticOperators.ATan2.valueOf
(AggregationExpression expression) Creates a newAggregationExpression
that calculates the inverse tangent of of y / x, where y and x are the first and second values passed to the expression respectively.static ArithmeticOperators.Divide
ArithmeticOperators.Divide.valueOf
(AggregationExpression expression) Creates newArithmeticOperators.Divide
.static ArithmeticOperators.Log
ArithmeticOperators.Log.valueOf
(AggregationExpression expression) Creates newArithmeticOperators.Log
.static ArithmeticOperators.Mod
ArithmeticOperators.Mod.valueOf
(AggregationExpression expression) Creates newArithmeticOperators.Mod
.static ArithmeticOperators.Multiply
ArithmeticOperators.Multiply.valueOf
(AggregationExpression expression) Creates newArithmeticOperators.Multiply
.static ArithmeticOperators.Pow
ArithmeticOperators.Pow.valueOf
(AggregationExpression expression) Creates newArithmeticOperators.Pow
.static ArithmeticOperators.Subtract
ArithmeticOperators.Subtract.valueOf
(AggregationExpression expression) Creates newArithmeticOperators.Subtract
.ArithmeticOperators.valueOf
(AggregationExpression expression) Take the value resulting from the givenAggregationExpression
.BooleanOperators.valueOf
(AggregationExpression fieldReference) Take the value resulting of the givenAggregationExpression
.static ComparisonOperators.Cmp
ComparisonOperators.Cmp.valueOf
(AggregationExpression expression) Creates newComparisonOperators.Cmp
.static ComparisonOperators.Eq
ComparisonOperators.Eq.valueOf
(AggregationExpression expression) Creates newComparisonOperators.Eq
.static ComparisonOperators.Gt
ComparisonOperators.Gt.valueOf
(AggregationExpression expression) Creates newComparisonOperators.Gt
.static ComparisonOperators.Gte
ComparisonOperators.Gte.valueOf
(AggregationExpression expression) Creates newComparisonOperators.Gte
.static ComparisonOperators.Lt
ComparisonOperators.Lt.valueOf
(AggregationExpression expression) Creates newComparisonOperators.Lt
.static ComparisonOperators.Lte
ComparisonOperators.Lte.valueOf
(AggregationExpression expression) Creates newComparisonOperators.Lte
.static ComparisonOperators.Ne
ComparisonOperators.Ne.valueOf
(AggregationExpression expression) Creates newComparisonOperators.Ne
.ComparisonOperators.valueOf
(AggregationExpression expression) Take the value resulting from the givenAggregationExpression
.ConvertOperators.valueOf
(AggregationExpression expression) Take the value resulting from the givenAggregationExpression
.DocumentOperators.valueOf
(AggregationExpression expression) Take the value resulting from the givenAggregationExpression
.EvaluationOperators.EvaluationOperatorFactory.Expr.valueOf
(AggregationExpression expression) Creates newEvaluationOperators.EvaluationOperatorFactory.Expr
.EvaluationOperators.valueOf
(AggregationExpression expression) Take the value resulting from the givenAggregationExpression
.ObjectOperators.valueOf
(AggregationExpression expression) Take the value provided by the givenAggregationExpression
.static StringOperators.Concat
StringOperators.Concat.valueOf
(AggregationExpression expression) Creates newStringOperators.Concat
.StringOperators.IndexOfBytes.valueOf
(AggregationExpression expression) Start creating a newStringOperators.IndexOfBytes
.StringOperators.IndexOfCP.valueOf
(AggregationExpression expression) Start creating a newStringOperators.IndexOfCP
.static StringOperators.LTrim
StringOperators.LTrim.valueOf
(AggregationExpression expression) Creates newStringOperators.LTrim
using the result of the providedAggregationExpression
as input value.static StringOperators.RegexFind
StringOperators.RegexFind.valueOf
(AggregationExpression expression) Creates newStringOperators.RegexFind
using the result of the providedAggregationExpression
as input value.static StringOperators.RegexFindAll
StringOperators.RegexFindAll.valueOf
(AggregationExpression expression) Creates newStringOperators.RegexFindAll
using the result of the providedAggregationExpression
as input value.static StringOperators.RegexMatch
StringOperators.RegexMatch.valueOf
(AggregationExpression expression) Creates newStringOperators.RegexMatch
using the result of the providedAggregationExpression
as input value.static StringOperators.ReplaceAll
StringOperators.ReplaceAll.valueOf
(AggregationExpression expression) Creates newStringOperators.ReplaceAll
using the result of the providedAggregationExpression
as input value.static StringOperators.ReplaceOne
StringOperators.ReplaceOne.valueOf
(AggregationExpression expression) Creates newStringOperators.ReplaceOne
using the result of the providedAggregationExpression
as input value.static StringOperators.RTrim
StringOperators.RTrim.valueOf
(AggregationExpression expression) Creates newStringOperators.RTrim
using the result of the providedAggregationExpression
as input value.static StringOperators.Split
StringOperators.Split.valueOf
(AggregationExpression expression) Start creating a newStringOperators.Split
.static StringOperators.StrCaseCmp
StringOperators.StrCaseCmp.valueOf
(AggregationExpression expression) Creates newStringOperators.StrCaseCmp
.static StringOperators.Substr
StringOperators.Substr.valueOf
(AggregationExpression expression) Creates newStringOperators.Substr
.static StringOperators.SubstrCP
StringOperators.SubstrCP.valueOf
(AggregationExpression expression) Creates newStringOperators.SubstrCP
.static StringOperators.Trim
StringOperators.Trim.valueOf
(AggregationExpression expression) Creates newStringOperators.Trim
using the result of the providedAggregationExpression
as input value.StringOperators.valueOf
(AggregationExpression fieldReference) Take the array referenced by given fieldReference.ObjectOperators.ObjectToArray.valueOfToArray
(AggregationExpression expression) Creates newaggregation expression
that takes the result value of the givenexpression
and converts it to an array.static DateOperators.Week
DateOperators.Week.weekOf
(AggregationExpression expression) Creates newDateOperators.Week
.ConditionalOperators.Cond.when
(AggregationExpression expression) ConditionalOperators.Cond.WhenBuilder.when
(AggregationExpression expression) ConditionalOperators.Switch.CaseOperator.when
(AggregationExpression condition) ConditionalOperators.when
(AggregationExpression expression) Take the value resulting from the given expression.RedactOperation.RedactOperationBuilder.when
(AggregationExpression condition) Specify the evaluation condition.ReplaceRootOperation.ReplaceRootOperationBuilder.withValueOf
(AggregationExpression aggregationExpression) Defines a root document replacement based on aAggregationExpression
that resolves to a document.default DateOperators.DateFromParts
DateOperators.DateFromParts.DateFromPartsWithYear.yearOf
(AggregationExpression expression) Set the year to the result of the givenexpression
.DateOperators.DateFromPartsOperatorFactory.yearOf
(AggregationExpression expression) Set the year to the result of the givenexpression
.static DateOperators.Year
DateOperators.Year.yearOf
(AggregationExpression expression) Creates newDateOperators.Year
.DateOperators.zonedDateOf
(AggregationExpression expression, DateOperators.Timezone timezone) Take the date resulting from the givenAggregationExpression
.ModifierConstructorDescriptionAccumulatorOperatorFactory
(AggregationExpression expression) Creates newAccumulatorOperators.AccumulatorOperatorFactory
for givenAggregationExpression
.ArithmeticOperatorFactory
(AggregationExpression expression) Creates newArithmeticOperators.ArithmeticOperatorFactory
for givenAggregationExpression
.ArrayOperatorFactory
(AggregationExpression expression) Creates newArrayOperators.ArrayOperatorFactory
for givenAggregationExpression
.BooleanOperatorFactory
(AggregationExpression expression) Creates newBooleanOperators.BooleanOperatorFactory
for givenAggregationExpression
.BucketAutoOperation
(AggregationExpression groupByExpression, int buckets) Creates a newBucketAutoOperation
given agroup-by expression
.BucketOperation
(AggregationExpression groupByExpression) Creates a newBucketOperation
given agroup-by expression
.protected
BucketOperationSupport
(AggregationExpression groupByExpression) Creates a newBucketOperationSupport
given agroup-by expression
.ComparisonOperatorFactory
(AggregationExpression expression) Creates newComparisonOperators.ComparisonOperatorFactory
for givenAggregationExpression
.ComputedField
(String name, AggregationExpression windowOperator) Create a newSetWindowFieldsOperation.ComputedField
.ComputedField
(String name, AggregationExpression windowOperator, SetWindowFieldsOperation.Window window) Create a newSetWindowFieldsOperation.ComputedField
.ConditionalOperatorFactory
(AggregationExpression expression) Creates newConditionalOperators.ConditionalOperatorFactory
for givenAggregationExpression
.ConvertOperatorFactory
(AggregationExpression expression) Creates newConvertOperators.ConvertOperatorFactory
for givenAggregationExpression
.DateOperatorFactory
(AggregationExpression expression) Creates newDateOperators.DateOperatorFactory
for givenAggregationExpression
.EvaluationOperatorFactory
(AggregationExpression expression) Creates newEvaluationOperators.EvaluationOperatorFactory
for givenAggregationExpression
.MatchOperation
(AggregationExpression expression) Creates a newMatchOperation
for the givenAggregationExpression
.protected
PropertyExpression
(String propertyName, AggregationExpression aggregationExpression) RedactOperation
(AggregationExpression condition) Create newRedactOperation
.ReplaceRootOperation
(AggregationExpression aggregationExpression) Creates a newReplaceRootOperation
given theAggregationExpression
pointing to a document.SetOperatorFactory
(AggregationExpression expression) Creates newSetOperators.SetOperatorFactory
for givenAggregationExpression
.SortByCountOperation
(AggregationExpression groupByExpression) Creates a newSortByCountOperation
given agroup-by expression
.StringOperatorFactory
(AggregationExpression expression) Creates newStringOperators.StringOperatorFactory
for givenAggregationExpression
.