Uses of Interface
org.springframework.data.mongodb.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
Modifier and TypeClassDescriptionclass
AMongoExpression
using theParameterBindingDocumentCodec
for parsing a raw (json) expression.Modifier and TypeMethodDescriptionstatic MongoExpression
Create a newMongoExpression
from plainString
(eg.static MongoExpression
Create a newMongoExpression
from plainString
containing placeholders (eg. -
Uses of MongoExpression in org.springframework.data.mongodb.core.aggregation
Modifier and TypeInterfaceDescriptioninterface
AnAggregationExpression
can be used with field expressions in aggregation pipeline stages likeproject
andgroup
.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$sortArray
that sorts elements in an array.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
static class
AggregationExpression
for$dateToString
.static class
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$tsIncrement
.static class
AggregationExpression
for$tsSecond
.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
Sets null and missing values to the last non-null value.static class
AggregationExpression
for$literal
.static class
AggregationExpression
for$getField
.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
AggregationExpression
for$setField
.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
AbstractAggregationExpression
to return the bottom element according to the specifiedorder
.static class
AbstractAggregationExpression
to return the $firstN elements.static class
AbstractAggregationExpression
to return the $lastN elements.static class
AbstractAggregationExpression
to return the top element according to the specifiedorder
.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
. -
Uses of MongoExpression in org.springframework.data.mongodb.core.query
Modifier and TypeMethodDescriptionField.project
(MongoExpression expression) Project a givenMongoExpression
to afield
included in the result.Field.projectAs
(MongoExpression expression, String field) Project a givenMongoExpression
to afield
included in the result.