Uses of Interface
org.springframework.data.mongodb.core.aggregation.AggregationExpression
Packages that use AggregationExpression
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of AggregationExpression in org.springframework.data.mongodb.core.aggregation
Classes in org.springframework.data.mongodb.core.aggregation that implement AggregationExpressionModifier and TypeClassDescriptionstatic classAggregationExpressionfor$avg.static classAggregationExpressionfor$covariancePop.static classAggregationExpressionfor$covarianceSamp.static classAccumulatorOperators.ExpMovingAvgcalculates the exponential moving average of numeric values.static classAggregationExpressionfor$max.static classAggregationExpressionfor$median.static classAggregationExpressionfor$min.static classAggregationExpressionfor$percentile.static classAggregationExpressionfor$stdDevPop.static classAggregationExpressionfor$stdDevSamp.static classAggregationExpressionfor$sum.classAnAggregationExpressionthat renders a MongoDB Aggregation Framework expression from the AST of a SpEL expression.static classAggregationExpressionfor$abs.static classAnexpressionthat calculates the inverse cosine of a value.static classAnexpressionthat calculates the inverse hyperbolic cosine of a value.static classAggregationExpressionfor$add.static classAnexpressionthat calculates the inverse sine of a value.static classAnexpressionthat calculates the inverse hyperbolic sine of a valuestatic classAnexpressionthat calculates the inverse tangent of a value.static classAnexpressionthat calculates the inverse tangent of y / x, where y and x are the first and second values passed to the expression respectively.static classAnexpressionthat calculates the inverse hyperbolic tangent of a valuestatic classAggregationExpressionfor$ceil.static classAnexpressionthat calculates the cosine of a value that is measured in radians.static classAnexpressionthat calculates the hyperbolic cosine of a value that is measured inArithmeticOperators.AngularUnit.RADIANS.static classValue object to represent anexpressionthat calculates the average rate of change within the specified window.static classAggregationExpressionfor$divide.static classAggregationExpressionfor$exp.static classAggregationExpressionfor$floor.static classValue object to represent anexpressionthat calculates the approximation for the mathematical integral value.static classAggregationExpressionfor$ln.static classAggregationExpressionfor$log.static classAggregationExpressionfor$log10.static classAggregationExpressionfor$mod.static classAggregationExpressionfor$multiply.static classAggregationExpressionfor$pow.static classArithmeticOperators.Randreturns a floating value between 0 and 1.static classArithmeticOperators.Roundrounds a number to a whole integer or to a specified decimal place.static classAnexpressionthat calculates the sine of a value that is measured in radians.static classAnexpressionthat calculates the hyperbolic sine of a value that is measured inArithmeticOperators.AngularUnit.RADIANS.static classAggregationExpressionfor$sqrt.static classAggregationExpressionfor$subtract.static classAnexpressionthat calculates the tangent of a value that is measured in radians.static classAnexpressionthat calculates the hyperbolic tangent of a value that is measured inArithmeticOperators.AngularUnit.RADIANS.static classAggregationExpressionfor$trunc.static classAggregationExpressionfor$arrayElementAt.static classAggregationExpressionfor$arrayToObjectthat transforms an array into a single document.static classAggregationExpressionfor$concatArrays.static class$filterAggregationExpressionallows to select a subset of the array to return based on the specified condition.static classAggregationExpressionfor$firstthat returns the first element in an array.static classAggregationExpressionfor$in.static classAggregationExpressionfor$indexOfArray.static classAggregationExpressionfor$isArray.static classAggregationExpressionfor$lastthat returns the last element in an array.static classAggregationExpressionfor$range.static classAggregationExpressionfor$reduce.static classstatic classAggregationExpressionfor$reverseArray.static classAggregationExpressionfor$size.static classAggregationExpressionfor$slice.static classAggregationExpressionfor$sortArraythat sorts elements in an array.static classAggregationExpressionfor$zip.static classAggregationExpressionfor$and.static classAggregationExpressionfor$not.static classAggregationExpressionfor$or.protected static classOutput field that uses a Mongo operation (expression object) to generate an output field value.protected static classEncapsulates an output field in a bucket aggregation stage.protected static classEncapsulatesBucketOperationSupport.Outputs.static classAggregationExpressionfor$cmp.static classAggregationExpressionfor$eq.static classAggregationExpressionfor$gt.static classAggregationExpressionfor$gte.static classAggregationExpressionfor$lt.static classAggregationExpressionfor$lte.static classAggregationExpressionfor$ne.static classEncapsulates the aggregation framework$condoperator.static classEncapsulates the aggregation framework$ifNulloperator.static classAggregationExpressionfor$switch.static classEncapsulates the aggregation framework case document inside a$switch-operation.static classAggregationExpressionfor$convertthat converts a value to a specified type.static classAggregationExpressionfor$degreesToRadiansthat converts an input value measured in degrees to radians.static classAggregationExpressionfor$toBoolthat converts a value to boolean.static classAggregationExpressionfor$toDatethat converts a value to date.static classAggregationExpressionfor$toDecimalthat converts a value to decimal.static classAggregationExpressionfor$toDoublethat converts a value to double.static classAggregationExpressionfor$toIntthat converts a value to integer.static classAggregationExpressionfor$toLongthat converts a value to long.static classAggregationExpressionfor$toObjectIdthat converts a value to objectId.static classAggregationExpressionfor$toStringthat converts a value to string.static classAggregationExpressionfor$type.static classstatic classstatic classstatic classstatic classstatic classstatic classAggregationExpressionfor$dateToString.static classstatic classAggregationExpressionfor$dayOfMonth.static classAggregationExpressionfor$dayOfWeek.static classAggregationExpressionfor$dayOfYear.static classAggregationExpressionfor$hour.static classstatic classAggregationExpressionfor$isoDayOfWeek.static classAggregationExpressionfor$isoWeek.static classAggregationExpressionfor$isoWeekYear.static classAggregationExpressionfor$millisecond.static classAggregationExpressionfor$minute.static classAggregationExpressionfor$month.static classAggregationExpressionfor$second.static classAggregationExpressioncapable of setting a givenDateOperators.Timezone.static classAggregationExpressionfor$tsIncrement.static classAggregationExpressionfor$tsSecond.static classAggregationExpressionfor$week.static classAggregationExpressionfor$year.static classDocumentOperators.DenseRankresolves the current document position (the rank) relative to other documents.static classDocumentOperators.DocumentNumberresolves the current document position.static classDocumentOperators.Rankresolves the current document position (the rank) relative to other documents.static classShift applies an expression to a document in a specified position relative to the current document.static classAllows the use of aggregation expressions within the query language.static classSets null and missing values to the last non-null value.static classAggregationExpressionfor$literal.static classAggregationExpressionfor$getField.static classAggregationExpressionfor$mergeObjectsthat combines multiple documents into a single document.static classAggregationExpressionfor$objectToArraythat converts a document to an array ofdocumentsthat each contains two fields k and v.static classAggregationExpressionfor$setField.static classScriptOperators.Accumulatordefines 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 classScriptOperators.Functiondefines a custom aggregation $function in JavaScript.static classAbstractAggregationExpressionto return the bottom element according to the specifiedorder.static classAbstractAggregationExpressionto return the $firstN elements.static classAbstractAggregationExpressionto return the $lastN elements.static classAbstractAggregationExpressionto return the top element according to the specifiedorder.static classAggregationExpressionfor$allElementsTrue.static classAggregationExpressionfor$anyElementTrue.static classAggregationExpressionfor$setDifference.static classAggregationExpressionfor$setEquals.static classAggregationExpressionfor$setIntersection.static classAggregationExpressionfor$setIsSubset.static classAggregationExpressionfor$setUnion.static classAggregationExpressionfor$concat.static classAggregationExpressionfor$indexOfBytes.static classAggregationExpressionfor$indexOfCP.static classAggregationExpressionfor$ltrimwhich removes whitespace or the specified characters from the beginning of a string.static classAggregationExpressionfor$regexFindwhich applies a regular expression (regex) to a string and returns information on the first matched substring.static classAggregationExpressionfor$regexFindAllwhich applies a regular expression (regex) to a string and returns information on all the matched substrings.static classAggregationExpressionfor$regexMatchwhich applies a regular expression (regex) to a string and returns a boolean that indicates if a match is found or not.static classAggregationExpressionfor$replaceAllwhich replaces all instances of a search string in an input string with a replacement string.static classAggregationExpressionfor$replaceOnewhich replaces the first instance of a search string in an input string with a replacement string.static classAggregationExpressionfor$rtrimwhich removes whitespace or the specified characters from the end of a string.static classAggregationExpressionfor$split.static classAggregationExpressionfor$strcasecmp.static classAggregationExpressionfor$strLenBytes.static classAggregationExpressionfor$strLenCP.static classAggregationExpressionfor$substr.static classAggregationExpressionfor$substrCP.static classAggregationExpressionfor$toLower.static classAggregationExpressionfor$toUpper.static classAggregationExpressionfor$trimwhich removes whitespace or the specified characters from the beginning and end of a string.static classAggregationExpressionfor$letthat bindsAggregationExpressionto variables for use in the specifiedinexpression, and returns the result of the expression.static classAggregationExpressionfor$map.Methods in org.springframework.data.mongodb.core.aggregation that return AggregationExpressionModifier and TypeMethodDescriptionstatic AggregationExpressionAggregationExpression.from(MongoExpression expression) Create anAggregationExpressionout of a givenMongoExpressionto ensure the resultingDocumentis mapped against theAggregationOperationContext.static AggregationExpressionObjectOperators.getValueOf(String fieldName) Get the value of the field with given name from the $$CURRENT object.SetWindowFieldsOperation.ComputedField.getWindowOperator()ObjectOperators.ObjectOperatorFactory.removeField(String fieldName) Creates newaggregation expressionthat takes the associated value and obtains the value of the field with matching name.static AggregationExpressionObjectOperators.setValueTo(String fieldName, Object value) Set the value of the field with given name on the $$CURRENT object.Methods in org.springframework.data.mongodb.core.aggregation with parameters of type AggregationExpressionModifier and TypeMethodDescriptionstatic ArithmeticOperators.AbsArithmeticOperators.Abs.absoluteValueOf(AggregationExpression expression) Creates newArithmeticOperators.Abs.static ArithmeticOperators.ACoshArithmeticOperators.ACosh.acoshOf(AggregationExpression expression) Creates a newAggregationExpressionthat calculates the inverse hyperbolic cosine of a value.static ArithmeticOperators.ACosArithmeticOperators.ACos.acosOf(AggregationExpression expression) Creates a newAggregationExpressionthat 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 newAggregationExpressionthat adds the resulting value of the givenAggregationExpressionto the associated number.static DateOperators.DateAddDateOperators.DateAdd.addValueOf(AggregationExpression expression, String unit) Add the number of units of the result of the givenexpressionto astart date.DateOperators.DateOperatorFactory.addValueOf(AggregationExpression expression, String unit) Creates newAggregationExpressionthat adds the value of the givenexpression(in units).DateOperators.DateOperatorFactory.addValueOf(AggregationExpression expression, DateOperators.TemporalUnit unit) Creates newAggregationExpressionthat adds the value of the givenexpression(in units).AccumulatorOperators.Avg.and(AggregationExpression expression) Creates newAccumulatorOperators.Avgwith all previously added arguments appending the given one.AccumulatorOperators.CovariancePop.and(AggregationExpression expression) Creates newAccumulatorOperators.CovariancePopwith all previously added arguments appending the given one.AccumulatorOperators.CovarianceSamp.and(AggregationExpression expression) Creates newAccumulatorOperators.CovarianceSampwith all previously added arguments appending the given one.AccumulatorOperators.Max.and(AggregationExpression expression) Creates newAccumulatorOperators.Maxwith all previously added arguments appending the given one.AccumulatorOperators.Median.and(AggregationExpression expression) Creates newAccumulatorOperators.Medianwith all previously added inputs appending the given one.AccumulatorOperators.Min.and(AggregationExpression expression) Creates newAccumulatorOperators.Minwith all previously added arguments appending the given one.AccumulatorOperators.Percentile.and(AggregationExpression expression) Creates newAccumulatorOperators.Percentilewith all previously added inputs appending the given one.AccumulatorOperators.StdDevPop.and(AggregationExpression expression) Creates newAccumulatorOperators.StdDevSampwith all previously added arguments appending the given one.AccumulatorOperators.StdDevSamp.and(AggregationExpression expression) Creates newAccumulatorOperators.StdDevSampwith all previously added arguments appending the given one.AccumulatorOperators.Sum.and(AggregationExpression expression) Creates newAccumulatorOperators.Sumwith all previously added arguments appending the given one.BooleanOperators.BooleanOperatorFactory.and(AggregationExpression expression) Creates newAggregationExpressionthat evaluates one or more expressions and returns true if all of the expressions are true.GroupOperation.and(String fieldName, AggregationExpression expression) Adds a computed field to theGroupOperation.ProjectionOperation.and(AggregationExpression expression) ProjectionOperation.ArrayProjectionOperationBuilder.and(AggregationExpression expression) Creates a newProjectionOperation.ArrayProjectionOperationBuilderwith the currentProjectionOperation.Projections and the given one.ReplaceRootOperation.ReplaceRootDocumentOperation.and(AggregationExpression aggregationExpression) Creates a newReplaceRootOperation.ReplaceRootDocumentOperationBuilderto define a field for theAggregationExpression.VariableOperators.Let.LetBuilder.andApply(AggregationExpression expression) Define theAggregationExpressionto evaluate.VariableOperators.Map.FunctionBuilder.andApply(AggregationExpression expression) Creates newVariableOperators.Mapthat applies the givenAggregationExpressionto each item of the referenced array and returns an array with the applied results.BooleanOperators.And.andExpression(AggregationExpression expression) Creates newBooleanOperators.Andwith all previously added arguments appending the given one.BucketAutoOperation.andOutput(AggregationExpression expression) BucketOperation.andOutput(AggregationExpression expression) abstract BBucketOperationSupport.andOutput(AggregationExpression expression) Creates a newBucketOperationSupportgiven anAggregationExpressionto add an output field to the resulting bucket documents.org.springframework.data.mongodb.core.aggregation.SetWindowFieldsOperation.WindowOutput.ComputedFieldAppenderSetWindowFieldsOperation.WindowOutput.append(AggregationExpression expression) Append the givenAggregationExpressionas afieldin a fluent way.static SetOperators.AllElementsTrueSetOperators.AllElementsTrue.arrayAsSet(AggregationExpression expression) Creates newSetOperators.AllElementsTrue.static SetOperators.AnyElementTrueSetOperators.AnyElementTrue.arrayAsSet(AggregationExpression expression) Creates newSetOperators.AnyElementTrue.SetOperators.arrayAsSet(AggregationExpression expression) Take the array resulting from the givenAggregationExpression.static SetOperators.SetDifferenceSetOperators.SetDifference.arrayAsSet(AggregationExpression expression) Creates newSetOperators.SetDifference.static SetOperators.SetEqualsSetOperators.SetEquals.arrayAsSet(AggregationExpression expression) Create newSetOperators.SetEquals.static SetOperators.SetIntersectionSetOperators.SetIntersection.arrayAsSet(AggregationExpression expression) Creates newSetOperators.SetIntersection.static SetOperators.SetIsSubsetSetOperators.SetIsSubset.arrayAsSet(AggregationExpression expression) Creates newSetOperators.SetIsSubset.static SetOperators.SetUnionSetOperators.SetUnion.arrayAsSet(AggregationExpression expression) Creates newSetOperators.SetUnion.static ArrayOperators.ArrayElemAtArrayOperators.ArrayElemAt.arrayOf(AggregationExpression expression) Creates newArrayOperators.ArrayElemAt.ArrayOperators.arrayOf(AggregationExpression expression) Take the array referenced resulting from the givenAggregationExpression.static ArrayOperators.ConcatArraysArrayOperators.ConcatArrays.arrayOf(AggregationExpression expression) Creates newArrayOperators.ConcatArrays.static ArrayOperators.In.InBuilderArrayOperators.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.ArrayToObjectArrayOperators.ArrayToObject.arrayValueOfToObject(AggregationExpression expression) Converts the result array of the givenexpressionto an object.static ArithmeticOperators.ASinhArithmeticOperators.ASinh.asinhOf(AggregationExpression expression) Creates a newAggregationExpressionthat calculates the inverse hyperbolic sine of a value.static ArithmeticOperators.ASinArithmeticOperators.ASin.asinOf(AggregationExpression expression) Creates a newAggregationExpressionthat calculates the inverse sine of a value.ArithmeticOperators.ArithmeticOperatorFactory.atan2(AggregationExpression expression) Creates newAggregationExpressionthat calculates the inverse tangent of the the numeric value divided by the givenAggregationExpressionin the argument.ArithmeticOperators.ATan2.atan2of(AggregationExpression expression) Creates a newAggregationExpressionthat calculates the hyperbolic tangent of a value that is measured inArithmeticOperators.AngularUnit.RADIANS.static ArithmeticOperators.ATanhArithmeticOperators.ATanh.atanhOf(AggregationExpression expression) Creates a newAggregationExpressionthat calculates the inverse hyperbolic tangent of a value.static ArithmeticOperators.ATanArithmeticOperators.ATan.atanOf(AggregationExpression expression) Creates a newAggregationExpressionthat calculates the inverse tangent of a value.GroupOperation.avg(AggregationExpression expr) Generates anGroupOperation.GroupOperationBuilderfor an$avg-expression for the givenAggregationExpression.static AccumulatorOperators.AvgAccumulatorOperators.Avg.avgOf(AggregationExpression expression) Creates newAccumulatorOperators.Avg.DateOperators.DateTrunc.binSize(AggregationExpression expression) Define the numeric time value via anAggregationExpression.static BucketOperationAggregation.bucket(AggregationExpression groupByExpression) Creates a newBucketOperationgivengroup-by expression.static BucketAutoOperationAggregation.bucketAuto(AggregationExpression groupByExpression, int buckets) Creates a newBucketAutoOperationgivengroup-by expression.ArrayOperators.Filter.ConditionBuilder.by(AggregationExpression expression) Set theAggregationExpressionthat determines whether to include the element in the resulting array.static ArithmeticOperators.CeilArithmeticOperators.Ceil.ceilValueOf(AggregationExpression expression) Creates newArithmeticOperators.Ceil.StringOperators.LTrim.charsOf(AggregationExpression expression) Optional specify theAggregationExpressionevaluating to the character sequence to trim from the beginning.StringOperators.RTrim.charsOf(AggregationExpression expression) Optional specify theAggregationExpressionevaluating to the character sequence to trim from the end.StringOperators.Trim.charsOf(AggregationExpression expression) Optional specify theAggregationExpressionevaluating to the character sequence to trim from the beginning.ComparisonOperators.Cmp.compareTo(AggregationExpression expression) Creates newComparisonOperators.Cmpwith all previously added arguments appending the given one.ComparisonOperators.ComparisonOperatorFactory.compareTo(AggregationExpression expression) Creates newAggregationExpressionthat compares two values.ArrayOperators.ArrayOperatorFactory.concat(AggregationExpression expression) Creates newAggregationExpressionthat 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 newAggregationExpressionthat takes the associated string representation and concats the result of the givenAggregationExpressionto it.ConvertOperators.ConvertOperatorFactory.convertToTypeOf(AggregationExpression expression) Creates newaggregation expressionthat takes the associated value and converts it into the type specified by the givenexpression.static ConvertOperators.ConvertConvertOperators.Convert.convertValueOf(AggregationExpression expression) Creates newConvertOperators.Convertusing the result of the providedexpressionas input value.static ArithmeticOperators.CoshArithmeticOperators.Cosh.coshOf(AggregationExpression expression) Creates a newAggregationExpressionthat calculates the hyperbolic cosine of a value that is measured inArithmeticOperators.AngularUnit.RADIANS.static ArithmeticOperators.CoshArithmeticOperators.Cosh.coshOf(AggregationExpression expression, ArithmeticOperators.AngularUnit unit) Creates a newAggregationExpressionthat calculates the hyperbolic cosine of a value that is measured in the givenunit.static ArithmeticOperators.CosArithmeticOperators.Cos.cosOf(AggregationExpression expression) Creates a newAggregationExpressionthat calculates the cosine of a value that is measured inArithmeticOperators.AngularUnit.RADIANS.static ArithmeticOperators.CosArithmeticOperators.Cos.cosOf(AggregationExpression expression, ArithmeticOperators.AngularUnit unit) Creates a newAggregationExpressionthat calculates the cosine of a value that is measured in the givenunit.AccumulatorOperators.AccumulatorOperatorFactory.covariancePop(AggregationExpression expression) Creates newAggregationExpressionthat uses the previous input (field/expression) and the result of the givenexpressionto calculate the population covariance of the two.ArithmeticOperators.ArithmeticOperatorFactory.covariancePop(AggregationExpression expression) Creates newAggregationExpressionthat uses the previous input (field/expression) and the result of the givenexpressionto calculate the population covariance of the two.AccumulatorOperators.CovariancePop.covariancePopOf(AggregationExpression expression) Creates newAccumulatorOperators.CovariancePop.AccumulatorOperators.AccumulatorOperatorFactory.covarianceSamp(AggregationExpression expression) Creates newAggregationExpressionthat uses the previous input (field/expression) and the result of the givenexpressionto calculate the sample covariance of the two.ArithmeticOperators.ArithmeticOperatorFactory.covarianceSamp(AggregationExpression expression) Creates newAggregationExpressionthat uses the previous input (field/expression) and the result of the givenexpressionto 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.FormatBuilderallowing to define the date format to apply.static DateOperators.DateToPartsDateOperators.DateToParts.datePartsOf(AggregationExpression expression) Creates newDateOperators.DateToParts.DateOperators.DateFromParts.dayOf(AggregationExpression expression) Set the day to the result of the givenexpression.static DateOperators.DayOfMonthDateOperators.DayOfMonth.dayOfMonth(AggregationExpression expression) Creates newDateOperators.DayOfMonth.static DateOperators.DayOfWeekDateOperators.DayOfWeek.dayOfWeek(AggregationExpression expression) Creates newDateOperators.DayOfWeek.static DateOperators.DayOfYearDateOperators.DayOfYear.dayOfYear(AggregationExpression expression) Creates newDateOperators.DayOfYear.ArrayOperators.Zip.defaultTo(AggregationExpression expression) Optionally provide a default value.DocumentOperators.Shift.defaultToValueOf(AggregationExpression expression) Define theexpressionto evaluate if the target document is out of range.ArrayOperators.Reduce.PropertyExpression.AsBuilder.definedAs(AggregationExpression expression) Set theAggregationExpressionresulting in the properties value.ConvertOperators.DegreesToRadians.degreesToRadiansOf(AggregationExpression expression) Create a new instance ofConvertOperators.DegreesToRadiansthat converts the result of the givenexpression, measured in degrees, to radians.ArithmeticOperators.Derivative.derivativeOf(AggregationExpression expression) Create a new instance ofArithmeticOperators.Derivativefor the value provided by the given expression that resolves to a numeric value.SetOperators.SetDifference.differenceTo(AggregationExpression expression) Creates newSetOperators.SetDifferencewith all previously added arguments appending the given one.SetOperators.SetOperatorFactory.differenceTo(AggregationExpression expression) Creates newAggregationExpressionthat takes array of the previously mentioned field and returns an array containing the elements that do not exist in the givenAggregationExpression.static DateOperators.DateDiffDateOperators.DateDiff.diffValueOf(AggregationExpression expression, String unit) Add the number of units of the result of the givenexpressionto astart date.DateOperators.DateOperatorFactory.diffValueOf(AggregationExpression expression, String unit) Creates newAggregationExpressionthat calculates the difference (in units) to the date computed by the givenexpression.DateOperators.DateOperatorFactory.diffValueOf(AggregationExpression expression, DateOperators.TemporalUnit unit) Creates newAggregationExpressionthat calculates the difference (in units) to the date computed by the givenexpression.ProjectionOperation.ProjectionOperationBuilder.divide(AggregationExpression expression) Generates an$divideexpression that divides the value of the previously mentioned by the result of theAggregationExpression.ArithmeticOperators.ArithmeticOperatorFactory.divideBy(AggregationExpression expression) Creates newAggregationExpressionthat 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 newAggregationExpressionthat takes the associated array and returns the element at the position resulting form the given expression.ComparisonOperators.ComparisonOperatorFactory.equalTo(AggregationExpression expression) Creates newAggregationExpressionthat compares two values and returns true when the first value is equal to the expression result.ComparisonOperators.Eq.equalTo(AggregationExpression expression) Creates newComparisonOperators.Eqwith all previously added arguments appending the given one.AccumulatorOperators.ExpMovingAvg.expMovingAvgOf(AggregationExpression expression) Create a newAccumulatorOperators.ExpMovingAvgby defining theexpressionto compute the value to be used as input.static ArithmeticOperators.ExpArithmeticOperators.Exp.expValueOf(AggregationExpression expression) Creates newArithmeticOperators.Exp.ArrayOperators.Filter.filter(AggregationExpression expression) Set theAggregationExpressionresolving to an array to apply the$filterto.ArrayOperators.Filter.InputBuilder.filter(AggregationExpression expression) Set theAggregationExpressionresolving to an array to apply the$filterto.ProjectionOperation.ProjectionOperationBuilder.filter(String as, AggregationExpression condition) Generates a$filterexpression that returns a subset of the array held by the given field.StringOperators.ReplaceAll.findValueOf(AggregationExpression expression) Specify theAggregationExpressionevaluating to the string to search for within the given input field.StringOperators.ReplaceOne.findValueOf(AggregationExpression expression) Specify theAggregationExpressionevaluating to the the string to search for within the given input field.GroupOperation.first(AggregationExpression expr) Generates anGroupOperation.GroupOperationBuilderfor a$first-expression for the givenAggregationExpression.static ArrayOperators.FirstArrayOperators.First.firstOf(AggregationExpression expression) Returns the first element of the array computed by the givenexpression.static ArithmeticOperators.FloorArithmeticOperators.Floor.floorValueOf(AggregationExpression expression) Creates newArithmeticOperators.Floor.VariableOperators.Let.ExpressionVariable.forExpression(AggregationExpression expression) Create a newVariableOperators.Let.ExpressionVariablewith current name and given expression.DateOperators.DateSubtract.fromDateOf(AggregationExpression expression) Define the start date, in UTC, for the subtraction operation.static DateOperators.DateFromStringDateOperators.DateFromString.fromStringOf(AggregationExpression expression) Creates newDateOperators.DateFromString.ComparisonOperators.ComparisonOperatorFactory.greaterThan(AggregationExpression expression) Creates newAggregationExpressionthat compares two values and returns true when the first value is greater than the expression result.ComparisonOperators.Gt.greaterThan(AggregationExpression expression) Creates newComparisonOperators.Gtwith all previously added arguments appending the given one.ComparisonOperators.ComparisonOperatorFactory.greaterThanEqualTo(AggregationExpression expression) Creates newAggregationExpressionthat 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.Gtewith all previously added arguments appending the given one.default TDateOperators.DateParts.hourOf(AggregationExpression expression) Set the hour to the result of the givenexpression.static DateOperators.HourDateOperators.Hour.hourOf(AggregationExpression expression) Creates newDateOperators.Hour.ConditionalOperators.ifNull(AggregationExpression expression) Creates newAggregationExpressionthat 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.IndexOfBytesgivenAggregationExpressionthat resolves to the substring.StringOperators.IndexOfCP.SubstringBuilder.indexOf(AggregationExpression expression) Creates a newStringOperators.IndexOfCPgivenAggregationExpressionthat resolves to the substring.StringOperators.StringOperatorFactory.indexOf(AggregationExpression expression) Creates newAggregationExpressionthat takes the associated string representation and searches a string for an occurrence of a substring resulting from the givenAggregationExpressionand returns the UTF-8 byte index (zero-based) of the first occurrence.StringOperators.StringOperatorFactory.indexOfCP(AggregationExpression expression) Creates newAggregationExpressionthat takes the associated string representation and searches a string for an occurrence of a substring resulting from the givenAggregationExpressionand returns the UTF-8 code point index (zero-based) of the first occurrence.ObjectOperators.SetField.input(AggregationExpression expression) Creates newaggregation expressionthat takes the value pointed to by given inputAggregationExpression.SelectionOperators.First.input(AggregationExpression expression) Define the expression building the value to serve as source.SelectionOperators.Last.input(AggregationExpression expression) Define the expression building the value to serve as source.static ArithmeticOperators.IntegralArithmeticOperators.Integral.integralOf(AggregationExpression expression) Create a new instance ofArithmeticOperators.Integralfor the value provided by the given expression that resolves to a numeric value.SetOperators.SetIntersection.intersects(AggregationExpression... expressions) Creates newSetOperators.SetIntersectionwith all previously added arguments appending the given one.SetOperators.SetOperatorFactory.intersects(AggregationExpression... expressions) Creates newAggregationExpressionthat 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.IsArrayArrayOperators.IsArray.isArray(AggregationExpression expression) Creates newArrayOperators.IsArray.SetOperators.SetEquals.isEqualTo(AggregationExpression... expressions) Creates newAccumulatorOperators.Sumwith all previously added arguments appending the given one.SetOperators.SetOperatorFactory.isEqualTo(AggregationExpression... expressions) Creates newAggregationExpressionthat 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.IsoDayOfWeekDateOperators.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.IsoWeekDateOperators.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.IsoDateFromPartsDateOperators.IsoDateFromParts.IsoDateFromPartsWithYear.isoWeekYearOf(AggregationExpression expression) Set the week date year to the result of the givenexpression.static DateOperators.IsoWeekYearDateOperators.IsoWeekYear.isoWeekYearOf(AggregationExpression expression) Creates newDateOperators.Millisecond.SetOperators.SetIsSubset.isSubsetOf(AggregationExpression expression) Creates newSetOperators.SetIsSubsetwith all previously added arguments appending the given one.SetOperators.SetOperatorFactory.isSubsetOf(AggregationExpression expression) Creates newAggregationExpressionthat 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.Mapthat applies anAggregationExpressionto each item of a referenced array and returns an array with the applied results.GroupOperation.last(AggregationExpression expr) Generates anGroupOperation.GroupOperationBuilderfor an$last-expression for the givenAggregationExpression.static ArrayOperators.LastArrayOperators.Last.lastOf(AggregationExpression expression) Returns the last element of the array computed buy the givenexpression.static ArrayOperators.SizeArrayOperators.Size.lengthOfArray(AggregationExpression expression) Creates newArrayOperators.Size.ComparisonOperators.ComparisonOperatorFactory.lessThan(AggregationExpression expression) Creates newAggregationExpressionthat compares two values and returns true when the first value is less than the expression result.ComparisonOperators.Lt.lessThan(AggregationExpression expression) Creates newComparisonOperators.Ltwith all previously added arguments appending the given one.ComparisonOperators.ComparisonOperatorFactory.lessThanEqualTo(AggregationExpression expression) Creates newAggregationExpressionthat 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.Ltewith all previously added arguments appending the given one.ProjectionOperation.ProjectionOperationBuilder.let(Collection<VariableOperators.Let.ExpressionVariable> variables, AggregationExpression in) Generates a$letexpression 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$letexpression that binds variables for use in the specified expression, and returns the result of the expression.SelectionOperators.Bottom.limit(AggregationExpression expression) Limits the number of returned elements to the value defined by the givenexpression.SelectionOperators.First.limit(AggregationExpression expression) Limits the number of returned elements to the value defined by the givenexpression.SelectionOperators.Last.limit(AggregationExpression expression) Limits the number of returned elements to the value defined by the givenexpression.SelectionOperators.Top.limit(AggregationExpression expression) Limits the number of returned elements to the value defined by the givenexpression.static ArithmeticOperators.LnArithmeticOperators.Ln.lnValueOf(AggregationExpression expression) Creates newArithmeticOperators.Ln.EvaluationOperators.LastObservationCarriedForward.locfValueOf(AggregationExpression expression) Creates newEvaluationOperators.LastObservationCarriedForward.ArithmeticOperators.ArithmeticOperatorFactory.log(AggregationExpression expression) Creates newAggregationExpressionthat 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 givenAggregationExpressionas log base.ProjectionOperation.ProjectionOperationBuilder.log(AggregationExpression base) Generates a$logexpression that takes the number of the previously mentioned field and calculates the log of the associated number in the specified base.static ArithmeticOperators.Log10ArithmeticOperators.Log10.log10ValueOf(AggregationExpression expression) Creates newArithmeticOperators.Log10.static StringOperators.ToLowerStringOperators.ToLower.lowerValueOf(AggregationExpression expression) Creates newStringOperators.ToLower.StringOperators.StringOperatorFactory.ltrim(AggregationExpression expression) Creates newAggregationExpressionthat takes the associated string representation and trims the character sequence resulting from the givenAggregationExpressionfrom the beginning.VariableOperators.mapItemsOf(AggregationExpression expression) Starts building newVariableOperators.Mapthat applies anAggregationExpressionto each item of a referenced array and returns an array with the applied results.static MatchOperationAggregation.match(AggregationExpression expression) Creates a newMatchOperationusing the givenAggregationExpression.GroupOperation.max(AggregationExpression expr) Generates anGroupOperation.GroupOperationBuilderfor an$max-expression that for the givenAggregationExpression.static AccumulatorOperators.MaxAccumulatorOperators.Max.maxOf(AggregationExpression expression) Creates newAccumulatorOperators.Max.static AccumulatorOperators.MedianAccumulatorOperators.Median.medianOf(AggregationExpression expression) Creates newAccumulatorOperators.Median.static ObjectOperators.MergeObjectsObjectOperators.MergeObjects.mergeValuesOf(AggregationExpression... expressions) Creates newaggregation expressionthat takes the result of the givenexpressionsand combines them into a single document.ObjectOperators.MergeObjects.mergeWithValuesOf(AggregationExpression... expression) Creates newaggregation expressionby adding the givenexpressions.ObjectOperators.ObjectOperatorFactory.mergeWithValuesOf(AggregationExpression... expression) Creates newaggregation expressionthat takes the associated value and combines it with the result values of the givenexpressionsinto a single document.default TDateOperators.DateParts.millisecondOf(AggregationExpression expression) Set the milliseconds to the result of the givenexpression.static DateOperators.MillisecondDateOperators.Millisecond.millisecondOf(AggregationExpression expression) Creates newDateOperators.Millisecond.GroupOperation.min(AggregationExpression expr) Generates anGroupOperation.GroupOperationBuilderfor an$min-expression that for the givenAggregationExpression.static AccumulatorOperators.MinAccumulatorOperators.Min.minOf(AggregationExpression expression) Creates newAccumulatorOperators.Min.ProjectionOperation.ProjectionOperationBuilder.minus(AggregationExpression expression) Generates an$subtractexpression that subtracts the result of the givenAggregationExpressionfrom the previously mentioned field.default TDateOperators.DateParts.minuteOf(AggregationExpression expression) Set the minute to the result of the givenexpression.static DateOperators.MinuteDateOperators.Minute.minuteOf(AggregationExpression expression) Creates newDateOperators.Minute.ArithmeticOperators.ArithmeticOperatorFactory.mod(AggregationExpression expression) Creates newAggregationExpressionthat divides the associated number by another and returns the remainder.ArithmeticOperators.Mod.mod(AggregationExpression expression) Use evaluated value of the givenAggregationExpressionas mod base.ProjectionOperation.ProjectionOperationBuilder.mod(AggregationExpression expression) Generates an$modexpression 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.MonthDateOperators.Month.monthOf(AggregationExpression expression) Creates newDateOperators.Month.ProjectionOperation.ProjectionOperationBuilder.multiply(AggregationExpression expression) Generates an$multiplyexpression that multiplies the previously with the result of theAggregationExpression. mentioned field.ArithmeticOperators.ArithmeticOperatorFactory.multiplyBy(AggregationExpression expression) Creates newAggregationExpressionthat multiplies the associated number with another.ArithmeticOperators.Multiply.multiplyBy(AggregationExpression expression) Multiply by the evaluated value of the givenAggregationExpression.static BooleanOperators.NotBooleanOperators.not(AggregationExpression expression) Creates newAggregationExpressionthat evaluates the boolean value ofAggregationExpressionresult and returns the opposite boolean value.static BooleanOperators.NotBooleanOperators.Not.not(AggregationExpression expression) Creates newBooleanOperators.Notthat evaluates the resulting boolean value of the givenAggregationExpressionand returns the opposite boolean value.ComparisonOperators.ComparisonOperatorFactory.notEqualTo(AggregationExpression expression) Creates newAggregationExpressionthat compares two values and returns true when the values are not equivalent.ComparisonOperators.Ne.notEqualTo(AggregationExpression expression) Creates newComparisonOperators.Newith all previously added arguments appending the given one.ObjectOperators.GetField.of(AggregationExpression expression) Creates newaggregation expressionthat takes the value pointed to by givenAggregationExpression.SelectionOperators.First.of(AggregationExpression expression) Define the expression building the value to serve as source.SelectionOperators.Last.of(AggregationExpression expression) Define the expression building the value to serve as source.static DateOperators.TimezoneDateOperators.Timezone.ofExpression(AggregationExpression expression) Create aDateOperators.Timezonefor theAggregationExpressionresulting 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 theAggregationExpressionevaluating to the options values to use with the regular expression.StringOperators.RegexFindAll.optionsOf(AggregationExpression expression) Optional specify theAggregationExpressionevaluating to the options values to use with the regular expression.StringOperators.RegexMatch.optionsOf(AggregationExpression expression) Optional specify theAggregationExpressionevaluating to the options values to use with the regular expression.BooleanOperators.BooleanOperatorFactory.or(AggregationExpression expression) Creates newAggregationExpressionthat evaluates one or more expressions and returns true if any of the expressions are true.BooleanOperators.Or.orExpression(AggregationExpression expression) Creates newBooleanOperators.Orwith all previously added arguments appending the given one.ConditionalOperators.IfNull.OrBuilder.orIfNull(AggregationExpression expression) ConditionalOperators.Cond.OtherwiseBuilder.otherwiseValueOf(AggregationExpression expression) SelectionOperators.Bottom.output(AggregationExpression... out) Define expressions building the value included in the output for each element.SelectionOperators.Top.output(AggregationExpression... out) Define expressions building the value included in the output for each element.SetWindowFieldsOperation.SetWindowFieldsOperationBuilder.output(AggregationExpression expression) Add a field capturing the result of the givenexpressionto the output.SetWindowFieldsOperation.SetWindowFieldsOperationBuilder.partitionByExpression(AggregationExpression expression) Specify theexpressionto group by.AccumulatorOperators.Percentile.percentileOf(AggregationExpression expression) Creates newAccumulatorOperators.Percentile.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 newAggregationExpressionthat 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$powexpression 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 RedactOperationAggregation.redact(AggregationExpression condition) Creates a newRedactOperationthat can restrict the content of a document based on information stored within the document itself.ArrayOperators.ArrayOperatorFactory.reduce(AggregationExpression expression) Start creating newAggregationExpressionthat applies anAggregationExpressionto each element in an array and combines them into a single value.ArrayOperators.Reduce.ReduceBuilder.reduce(AggregationExpression expression) Define theAggregationExpressionto apply to each element in the input array in left-to-right order.StringOperators.StringOperatorFactory.regexFind(AggregationExpression expression) Creates newAggregationExpressionthat takes the associated string representation and applies the regular expression resulting from the givenAggregationExpressionto find the document with the first match.
NOTE: Requires MongoDB 4.0 or later.StringOperators.StringOperatorFactory.regexFindAll(AggregationExpression expression) Creates newAggregationExpressionthat takes the associated string representation and applies the regular expression resulting from the givenAggregationExpressionto find all the documents with the match..
NOTE: Requires MongoDB 4.0 or later.StringOperators.StringOperatorFactory.regexMatch(AggregationExpression expression) Creates newAggregationExpressionthat takes the associated string representation and applies the regular expression resulting from the givenAggregationExpressionto find if a match is found or not.
NOTE: Requires MongoDB 4.0 or later.StringOperators.RegexFind.regexOf(AggregationExpression expression) Specify theAggregationExpressionevaluating to the regular expression to apply.StringOperators.RegexFindAll.regexOf(AggregationExpression expression) Specify theAggregationExpressionevaluating to the regular expression to apply.StringOperators.RegexMatch.regexOf(AggregationExpression expression) Optional specify theAggregationExpressionevaluating to the regular expression to apply.StringOperators.StringOperatorFactory.replaceAll(AggregationExpression search, String replacement) Creates newAggregationExpressionthat takes the associated string representation and replaces all occurrences of the search string computed by the givenAggregationExpressionwith the given replacement.StringOperators.ReplaceOne.replacementOf(AggregationExpression expression) Specifies theAggregationExpressionevaluating to the string to use to replace the first matched instance offindininput.StringOperators.ReplaceAll.replacementValueOf(AggregationExpression expression) Specifies theAggregationExpressionevaluating to the string to use to replace the first matched instance offindin input.StringOperators.StringOperatorFactory.replaceOne(AggregationExpression search, String replacement) Creates newAggregationExpressionthat takes the associated string representation and replaces the first occurrence of the search string computed by the givenAggregationExpressionwith the given replacement.static ReplaceRootOperationAggregation.replaceRoot(AggregationExpression aggregationExpression) Factory method to create a newReplaceRootOperationfor the field with the givenAggregationExpression.static ArrayOperators.ReverseArrayArrayOperators.ReverseArray.reverseArrayOf(AggregationExpression expression) Creates newArrayOperators.ReverseArraygivenAggregationExpression.static ArithmeticOperators.RoundArithmeticOperators.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 newAggregationExpressionthat takes the associated string representation and trims the character sequence resulting from the givenAggregationExpressionfrom the end.default TDateOperators.DateParts.secondOf(AggregationExpression expression) Set the second to the result of the givenexpression.static DateOperators.SecondDateOperators.Second.secondOf(AggregationExpression expression) Creates newDateOperators.Second.static DocumentOperators.ShiftDocumentOperators.Shift.shift(AggregationExpression expression) Specifies theexpressionto evaluate and return.static ArithmeticOperators.SinhArithmeticOperators.Sinh.sinhOf(AggregationExpression expression) Creates a newAggregationExpressionthat calculates the hyperbolic sine of a value that is measured inArithmeticOperators.AngularUnit.RADIANS.static ArithmeticOperators.SinhArithmeticOperators.Sinh.sinhOf(AggregationExpression expression, ArithmeticOperators.AngularUnit unit) Creates a newAggregationExpressionthat calculates the hyperbolic sine of a value that is measured in the givenunit.static ArithmeticOperators.SinArithmeticOperators.Sin.sinOf(AggregationExpression expression) Creates a newAggregationExpressionthat calculates the sine of a value that is measured inArithmeticOperators.AngularUnit.RADIANS.static ArithmeticOperators.SinArithmeticOperators.Sin.sinOf(AggregationExpression expression, ArithmeticOperators.AngularUnit unit) Creates a newAggregationExpressionthat calculates the sine of a value that is measured in the givenunit.static ArrayOperators.SliceArrayOperators.Slice.sliceArrayOf(AggregationExpression expression) Creates newArrayOperators.Slice.static ArrayOperators.SortArrayArrayOperators.SortArray.sortArrayOf(AggregationExpression expression) Sorts the elements of the array computed buy the givenexpression.static SortByCountOperationAggregation.sortByCount(AggregationExpression groupAndSortExpression) Creates a newSortByCountOperationgivengroup and sort expression.StringOperators.Split.split(AggregationExpression expression) Use value resulting fromAggregationExpressionas delimiter.StringOperators.StringOperatorFactory.split(AggregationExpression expression) Creates newAggregationExpressionthat divides the associated string representation into an array of substrings based on a delimiter resulting from the givenAggregationExpression.static ArithmeticOperators.SqrtArithmeticOperators.Sqrt.sqrtOf(AggregationExpression expression) Creates newArithmeticOperators.Sqrt.GraphLookupOperation.StartWithBuilder.startWith(AggregationExpression... expressions) Set the startWith expressions to apply the$graphLookupto.GroupOperation.stdDevPop(AggregationExpression expr) Generates anGroupOperation.GroupOperationBuilderfor an$stdDevPop-expression that for the givenAggregationExpression.AccumulatorOperators.StdDevPop.stdDevPopOf(AggregationExpression expression) Creates newAccumulatorOperators.StdDevPopwith all previously added arguments appending the given one.GroupOperation.stdDevSamp(AggregationExpression expr) Generates anGroupOperation.GroupOperationBuilderfor an$stdDevSamp-expression that for the givenAggregationExpression.AccumulatorOperators.StdDevSamp.stdDevSampOf(AggregationExpression expression) Creates newAccumulatorOperators.StdDevSamp.ProjectionOperation.ProjectionOperationBuilder.strCaseCmp(AggregationExpression expression) Generates a$strcasecmpexpression 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 newAggregationExpressionthat takes the associated string representation and performs case-insensitive comparison to the result of the givenAggregationExpression.static StringOperators.StrLenBytesStringOperators.StrLenBytes.stringLengthOf(AggregationExpression expression) Creates newStringOperators.StrLenBytes.static StringOperators.StrLenCPStringOperators.StrLenCP.stringLengthOfCP(AggregationExpression expression) Creates newStringOperators.StrLenCP.ArithmeticOperators.ArithmeticOperatorFactory.subtract(AggregationExpression expression) Creates newAggregationExpressionthat subtracts value of given from the associated number.ArithmeticOperators.Subtract.subtract(AggregationExpression expression) Subtract the evaluated value of the givenAggregationExpression.DateOperators.DateOperatorFactory.subtractValueOf(AggregationExpression expression, String unit) Creates newAggregationExpressionthat subtracts the value of the givenexpression(in units).DateOperators.DateOperatorFactory.subtractValueOf(AggregationExpression expression, DateOperators.TemporalUnit unit) Creates newAggregationExpressionthat subtracts the value of the givenexpression(in units).static DateOperators.DateSubtractDateOperators.DateSubtract.subtractValueOf(AggregationExpression expression, String unit) Subtract the number of units of the result of the givenexpressionfrom astart date.GroupOperation.sum(AggregationExpression expr) Generates anGroupOperation.GroupOperationBuilderfor an$sum-expression for the givenAggregationExpression.static AccumulatorOperators.SumAccumulatorOperators.Sum.sumOf(AggregationExpression expression) Creates newAccumulatorOperators.Sum.static ArithmeticOperators.TanhArithmeticOperators.Tanh.tanhOf(AggregationExpression expression) Creates a newAggregationExpressionthat calculates the hyperbolic tangent of a value that is measured inArithmeticOperators.AngularUnit.RADIANS.static ArithmeticOperators.TanhArithmeticOperators.Tanh.tanhOf(AggregationExpression expression, ArithmeticOperators.AngularUnit unit) Creates a newAggregationExpressionthat calculates the hyperbolic tangent of a value that is measured in the givenunit.static ArithmeticOperators.TanArithmeticOperators.Tan.tanOf(AggregationExpression expression) Creates a newAggregationExpressionthat calculates the tangent of a value that is measured inArithmeticOperators.AngularUnit.RADIANS.static ArithmeticOperators.TanArithmeticOperators.Tan.tanOf(AggregationExpression expression, ArithmeticOperators.AngularUnit unit) Creates a newAggregationExpressionthat calculates the tangent of a value that is measured in the givenunit.ConditionalOperators.Cond.ThenBuilder.thenValueOf(AggregationExpression expression) ConditionalOperators.ConditionalOperatorFactory.thenValueOf(AggregationExpression expression) Creates newAggregationExpressionthat 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.DateTrunc.to(AggregationExpression unit) Define the unit of time via anAggregationExpression.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.ObjectOperators.SetField.toValueOf(AggregationExpression expression) StringOperators.StringOperatorFactory.trim(AggregationExpression expression) Creates newAggregationExpressionthat takes the associated string representation and trims the character sequence resulting from the givenAggregationExpressionfrom the beginning and end.static DateOperators.DateTruncDateOperators.DateTrunc.truncateValueOf(AggregationExpression expression) Truncates the date value of computed by the givenAggregationExpression.static ArithmeticOperators.TruncArithmeticOperators.Trunc.truncValueOf(AggregationExpression expression) Creates newArithmeticOperators.Trunc.static DateOperators.TsIncrementDateOperators.TsIncrement.tsIncrementValueOf(AggregationExpression expression) Creates newDateOperators.TsIncrement.static DateOperators.TsSecondDateOperators.TsSecond.tsSecondValueOf(AggregationExpression expression) Creates newDateOperators.TsSecond.SetOperators.SetOperatorFactory.union(AggregationExpression... expressions) Creates newAggregationExpressionthat 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.SetUnionwith all previously added arguments appending the given one.static StringOperators.ToUpperStringOperators.ToUpper.upperValueOf(AggregationExpression expression) Creates newStringOperators.ToUpper.AccumulatorOperators.valueOf(AggregationExpression expression) Take the numeric value referenced resulting from givenAggregationExpression.static ArithmeticOperators.AddArithmeticOperators.Add.valueOf(AggregationExpression expression) Creates newArithmeticOperators.Add.static ArithmeticOperators.ATan2ArithmeticOperators.ATan2.valueOf(AggregationExpression expression) Creates a newAggregationExpressionthat 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.DivideArithmeticOperators.Divide.valueOf(AggregationExpression expression) Creates newArithmeticOperators.Divide.static ArithmeticOperators.LogArithmeticOperators.Log.valueOf(AggregationExpression expression) Creates newArithmeticOperators.Log.static ArithmeticOperators.ModArithmeticOperators.Mod.valueOf(AggregationExpression expression) Creates newArithmeticOperators.Mod.static ArithmeticOperators.MultiplyArithmeticOperators.Multiply.valueOf(AggregationExpression expression) Creates newArithmeticOperators.Multiply.static ArithmeticOperators.PowArithmeticOperators.Pow.valueOf(AggregationExpression expression) Creates newArithmeticOperators.Pow.static ArithmeticOperators.SubtractArithmeticOperators.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.CmpComparisonOperators.Cmp.valueOf(AggregationExpression expression) Creates newComparisonOperators.Cmp.static ComparisonOperators.EqComparisonOperators.Eq.valueOf(AggregationExpression expression) Creates newComparisonOperators.Eq.static ComparisonOperators.GtComparisonOperators.Gt.valueOf(AggregationExpression expression) Creates newComparisonOperators.Gt.static ComparisonOperators.GteComparisonOperators.Gte.valueOf(AggregationExpression expression) Creates newComparisonOperators.Gte.static ComparisonOperators.LtComparisonOperators.Lt.valueOf(AggregationExpression expression) Creates newComparisonOperators.Lt.static ComparisonOperators.LteComparisonOperators.Lte.valueOf(AggregationExpression expression) Creates newComparisonOperators.Lte.static ComparisonOperators.NeComparisonOperators.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.static EvaluationOperators.ExprEvaluationOperators.Expr.valueOf(AggregationExpression expression) Creates newEvaluationOperators.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.ConcatStringOperators.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.LTrimStringOperators.LTrim.valueOf(AggregationExpression expression) Creates newStringOperators.LTrimusing the result of the providedAggregationExpressionas input value.static StringOperators.RegexFindStringOperators.RegexFind.valueOf(AggregationExpression expression) Creates newStringOperators.RegexFindusing the result of the providedAggregationExpressionas input value.static StringOperators.RegexFindAllStringOperators.RegexFindAll.valueOf(AggregationExpression expression) Creates newStringOperators.RegexFindAllusing the result of the providedAggregationExpressionas input value.static StringOperators.RegexMatchStringOperators.RegexMatch.valueOf(AggregationExpression expression) Creates newStringOperators.RegexMatchusing the result of the providedAggregationExpressionas input value.static StringOperators.ReplaceAllStringOperators.ReplaceAll.valueOf(AggregationExpression expression) Creates newStringOperators.ReplaceAllusing the result of the providedAggregationExpressionas input value.static StringOperators.ReplaceOneStringOperators.ReplaceOne.valueOf(AggregationExpression expression) Creates newStringOperators.ReplaceOneusing the result of the providedAggregationExpressionas input value.static StringOperators.RTrimStringOperators.RTrim.valueOf(AggregationExpression expression) Creates newStringOperators.RTrimusing the result of the providedAggregationExpressionas input value.static StringOperators.SplitStringOperators.Split.valueOf(AggregationExpression expression) Start creating a newStringOperators.Split.static StringOperators.StrCaseCmpStringOperators.StrCaseCmp.valueOf(AggregationExpression expression) Creates newStringOperators.StrCaseCmp.static StringOperators.SubstrStringOperators.Substr.valueOf(AggregationExpression expression) Creates newStringOperators.Substr.static StringOperators.SubstrCPStringOperators.SubstrCP.valueOf(AggregationExpression expression) Creates newStringOperators.SubstrCP.static StringOperators.TrimStringOperators.Trim.valueOf(AggregationExpression expression) Creates newStringOperators.Trimusing the result of the providedAggregationExpressionas input value.StringOperators.valueOf(AggregationExpression fieldReference) Take the array referenced by given fieldReference.ObjectOperators.ObjectToArray.valueOfToArray(AggregationExpression expression) Creates newaggregation expressionthat takes the result value of the givenexpressionand converts it to an array.static DateOperators.WeekDateOperators.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.AggregationExpressionCriteria.whereExpr(AggregationExpression expression) ReplaceRootOperation.ReplaceRootOperationBuilder.withValueOf(AggregationExpression aggregationExpression) Defines a root document replacement based on aAggregationExpressionthat resolves to a document.default DateOperators.DateFromPartsDateOperators.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.YearDateOperators.Year.yearOf(AggregationExpression expression) Creates newDateOperators.Year.DateOperators.zonedDateOf(AggregationExpression expression, DateOperators.Timezone timezone) Take the date resulting from the givenAggregationExpression.Constructors in org.springframework.data.mongodb.core.aggregation with parameters of type AggregationExpressionModifierConstructorDescriptionAccumulatorOperatorFactory(AggregationExpression expression) Creates newAccumulatorOperators.AccumulatorOperatorFactoryfor givenAggregationExpression.ArithmeticOperatorFactory(AggregationExpression expression) Creates newArithmeticOperators.ArithmeticOperatorFactoryfor givenAggregationExpression.ArrayOperatorFactory(AggregationExpression expression) Creates newArrayOperators.ArrayOperatorFactoryfor givenAggregationExpression.BooleanOperatorFactory(AggregationExpression expression) Creates newBooleanOperators.BooleanOperatorFactoryfor givenAggregationExpression.BucketAutoOperation(AggregationExpression groupByExpression, int buckets) Creates a newBucketAutoOperationgiven agroup-by expression.BucketOperation(AggregationExpression groupByExpression) Creates a newBucketOperationgiven agroup-by expression.protectedBucketOperationSupport(AggregationExpression groupByExpression) Creates a newBucketOperationSupportgiven agroup-by expression.ComparisonOperatorFactory(AggregationExpression expression) Creates newComparisonOperators.ComparisonOperatorFactoryfor 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.ConditionalOperatorFactoryfor givenAggregationExpression.ConvertOperatorFactory(AggregationExpression expression) Creates newConvertOperators.ConvertOperatorFactoryfor givenAggregationExpression.DateOperatorFactory(AggregationExpression expression) Creates newDateOperators.DateOperatorFactoryfor givenAggregationExpression.EvaluationOperatorFactory(AggregationExpression expression) Creates newEvaluationOperators.EvaluationOperatorFactoryfor givenAggregationExpression.MatchOperation(AggregationExpression expression) Creates a newMatchOperationfor the givenAggregationExpression.protectedPropertyExpression(String propertyName, AggregationExpression aggregationExpression) RedactOperation(AggregationExpression condition) Create newRedactOperation.ReplaceRootOperation(AggregationExpression aggregationExpression) Creates a newReplaceRootOperationgiven theAggregationExpressionpointing to a document.SetOperatorFactory(AggregationExpression expression) Creates newSetOperators.SetOperatorFactoryfor givenAggregationExpression.SortByCountOperation(AggregationExpression groupByExpression) Creates a newSortByCountOperationgiven agroup-by expression.StringOperatorFactory(AggregationExpression expression) Creates newStringOperators.StringOperatorFactoryfor givenAggregationExpression.