Uses of Interface
org.springframework.data.mongodb.MongoExpression
Packages that use MongoExpression
Package
Description
Spring Data's MongoDB abstraction.
Support for the MongoDB aggregation framework.
MongoDB specific query and update support.
-
Uses of MongoExpression in org.springframework.data.mongodb
Classes in org.springframework.data.mongodb that implement MongoExpressionModifier and TypeClassDescriptionclassAMongoExpressionusing theParameterBindingDocumentCodecfor parsing a raw (json) expression.Methods in org.springframework.data.mongodb that return MongoExpressionModifier and TypeMethodDescriptionstatic MongoExpressionCreate a newMongoExpressionfrom plainString(eg.static MongoExpressionCreate a newMongoExpressionfrom plainStringcontaining placeholders (eg. -
Uses of MongoExpression in org.springframework.data.mongodb.core.aggregation
Subinterfaces of MongoExpression in org.springframework.data.mongodb.core.aggregationModifier and TypeInterfaceDescriptioninterfaceAnAggregationExpressioncan be used with field expressions in aggregation pipeline stages likeprojectandgroup.Classes in org.springframework.data.mongodb.core.aggregation that implement MongoExpressionModifier 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 with parameters of type MongoExpressionModifier and TypeMethodDescriptionstatic AggregationExpressionAggregationExpression.from(MongoExpression expression) Create anAggregationExpressionout of a givenMongoExpressionto ensure the resultingDocumentis mapped against theAggregationOperationContext. -
Uses of MongoExpression in org.springframework.data.mongodb.core.query
Methods in org.springframework.data.mongodb.core.query with parameters of type MongoExpressionModifier and TypeMethodDescriptionstatic CriteriaCriteria.expr(MongoExpression expression) Static factory method to create aCriteriamatching a documents against the givenexpression.Field.project(MongoExpression expression) Project a givenMongoExpressionto afieldincluded in the result.Field.projectAs(MongoExpression expression, String field) Project a givenMongoExpressionto afieldincluded in the result.