Uses of Class
org.springframework.data.mongodb.core.aggregation.StringOperators.RegexFind
Packages that use StringOperators.RegexFind
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of StringOperators.RegexFind in org.springframework.data.mongodb.core.aggregation
Methods in org.springframework.data.mongodb.core.aggregation that return StringOperators.RegexFindModifier and TypeMethodDescriptionOptional specify the options to use with the regular expression.Optional specify the reference to thefieldholding the options values to use with the regular expression.StringOperators.RegexFind.optionsOf(AggregationExpression expression) Optional specify theAggregationExpressionevaluating to the options values to use with the regular expression.Specify the regular expression to apply.Creates newAggregationExpressionthat 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 newAggregationExpressionthat 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 newAggregationExpressionthat takes thePatternand 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 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.Specify the reference to thefieldholding the regular expression to apply.StringOperators.RegexFind.regexOf(AggregationExpression expression) Specify theAggregationExpressionevaluating to the regular expression to apply.static StringOperators.RegexFindCreates newStringOperators.RegexFindusing the value of the providedfieldReferenceas input value.static StringOperators.RegexFindStringOperators.RegexFind.valueOf(AggregationExpression expression) Creates newStringOperators.RegexFindusing the result of the providedAggregationExpressionas input value.