Uses of Class
org.springframework.data.mongodb.core.aggregation.StringOperators.RegexFindAll
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of StringOperators.RegexFindAll 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.RegexFindAll.optionsOf
(AggregationExpression expression) Optional specify theAggregationExpression
evaluating to the options values to use with the regular expression.Specify the regular expression to apply.StringOperators.StringOperatorFactory.regexFindAll
(String regex) Creates newAggregationExpression
that takes the associated string representation and applies the given regular expression to find all the documents with the match.
NOTE: Requires MongoDB 4.0 or later.StringOperators.StringOperatorFactory.regexFindAll
(String regex, String options) Creates newAggregationExpression
that takes the associated string representation and applies the regular expression with the options specified in the argument to find all the documents with the match.StringOperators.StringOperatorFactory.regexFindAll
(Pattern pattern) Creates newAggregationExpression
that takes aPattern
and applies the regular expression with the options specified in the argument to find all the documents with the match.StringOperators.StringOperatorFactory.regexFindAll
(AggregationExpression expression) Creates newAggregationExpression
that takes the associated string representation and applies the regular expression resulting from the givenAggregationExpression
to find all the documents with the match..
NOTE: Requires MongoDB 4.0 or later.Specify the reference to thefield
holding the regular expression to apply.StringOperators.RegexFindAll.regexOf
(AggregationExpression expression) Specify theAggregationExpression
evaluating to the regular expression to apply.static StringOperators.RegexFindAll
Creates newStringOperators.RegexFindAll
using the value of the providedfieldReference
as input value.static StringOperators.RegexFindAll
StringOperators.RegexFindAll.valueOf
(AggregationExpression expression) Creates newStringOperators.RegexFindAll
using the result of the providedAggregationExpression
as input value.