Uses of Class
org.springframework.data.mongodb.core.aggregation.StringOperators.RegexFind
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of StringOperators.RegexFind in org.springframework.data.mongodb.core.aggregation
Modifier and TypeMethodDescriptionOptional specify the options to use with the regular expression.Optional specify the reference to thefield
holding the options values to use with the regular expression.StringOperators.RegexFind.optionsOf
(AggregationExpression expression) Optional specify theAggregationExpression
evaluating to the options values to use with the regular expression.Specify the regular expression to apply.Creates newAggregationExpression
that takes the associated string representation and applies the given regular expression to find the document with the first match.
NOTE: Requires MongoDB 4.0 or later.Creates newAggregationExpression
that takes the associated string representation and applies the regular expression with the options specified in the argument to find the document with the first match.Creates newAggregationExpression
that takes thePattern
and applies the regular expression with the options specified in the argument to find the document with the first match.StringOperators.StringOperatorFactory.regexFind
(AggregationExpression expression) Creates newAggregationExpression
that takes the associated string representation and applies the regular expression resulting from the givenAggregationExpression
to find the document with the first match.
NOTE: Requires MongoDB 4.0 or later.Specify the reference to thefield
holding the regular expression to apply.StringOperators.RegexFind.regexOf
(AggregationExpression expression) Specify theAggregationExpression
evaluating to the regular expression to apply.static StringOperators.RegexFind
Creates newStringOperators.RegexFind
using the value of the providedfieldReference
as input value.static StringOperators.RegexFind
StringOperators.RegexFind.valueOf
(AggregationExpression expression) Creates newStringOperators.RegexFind
using the result of the providedAggregationExpression
as input value.