Uses of Class
org.springframework.data.mongodb.core.aggregation.StringOperators.ReplaceOne
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of StringOperators.ReplaceOne in org.springframework.data.mongodb.core.aggregation
Modifier and TypeMethodDescriptionThe string to search for within the given input field.StringOperators.ReplaceOne.findValueOf
(String fieldReference) Specify the reference to thefield
holding the string to search for within the given input field.StringOperators.ReplaceOne.findValueOf
(AggregationExpression expression) Specify theAggregationExpression
evaluating to the the string to search for within the given input field.StringOperators.ReplaceOne.replacement
(String replacement) The string to use to replace the first matched instance offind
in input.StringOperators.ReplaceOne.replacementOf
(String fieldReference) Specifies the reference to thefield
holding the string to use to replace the first matched instance offind
in input.StringOperators.ReplaceOne.replacementOf
(AggregationExpression expression) Specifies theAggregationExpression
evaluating to the string to use to replace the first matched instance offind
ininput
.StringOperators.StringOperatorFactory.replaceOne
(String search, String replacement) Creates newAggregationExpression
that takes the associated string representation and replaces the first occurrence of the search string with the given replacement.StringOperators.StringOperatorFactory.replaceOne
(AggregationExpression search, String replacement) Creates newAggregationExpression
that takes the associated string representation and replaces the first occurrence of the search string computed by the givenAggregationExpression
with the given replacement.static StringOperators.ReplaceOne
Creates newStringOperators.ReplaceOne
using the given as input.static StringOperators.ReplaceOne
Creates newStringOperators.ReplaceOne
using the value of the providedfieldReference
as input value.static StringOperators.ReplaceOne
StringOperators.ReplaceOne.valueOf
(AggregationExpression expression) Creates newStringOperators.ReplaceOne
using the result of the providedAggregationExpression
as input value.