Module spring.data.mongodb
Class StringOperators
java.lang.Object
org.springframework.data.mongodb.core.aggregation.StringOperators
Gateway to String aggregation operations.
- Since:
- 1.10
- Author:
- Christoph Strobl, Mark Paluch, Divya Srivastava
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAggregationExpressionfor$concat.static classAggregationExpressionfor$indexOfBytes.static classAggregationExpressionfor$indexOfCP.static classAggregationExpressionfor$ltrimwhich removes whitespace or the specified characters from the beginning of a string.static classAggregationExpressionfor$regexFindwhich applies a regular expression (regex) to a string and returns information on the first matched substring.static classAggregationExpressionfor$regexFindAllwhich applies a regular expression (regex) to a string and returns information on all the matched substrings.static classAggregationExpressionfor$regexMatchwhich applies a regular expression (regex) to a string and returns a boolean that indicates if a match is found or not.static classAggregationExpressionfor$replaceAllwhich replaces all instances of a search string in an input string with a replacement string.static classAggregationExpressionfor$replaceOnewhich replaces the first instance of a search string in an input string with a replacement string.static classAggregationExpressionfor$rtrimwhich removes whitespace or the specified characters from the end of a string.static classAggregationExpressionfor$split.static classAggregationExpressionfor$strcasecmp.static classstatic classAggregationExpressionfor$strLenBytes.static classAggregationExpressionfor$strLenCP.static classAggregationExpressionfor$substr.static classAggregationExpressionfor$substrCP.static classAggregationExpressionfor$toLower.static classAggregationExpressionfor$toUpper.static classAggregationExpressionfor$trimwhich removes whitespace or the specified characters from the beginning and end of a string. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTake the array referenced by given fieldReference.valueOf(AggregationExpression fieldReference) Take the array referenced by given fieldReference.
-
Constructor Details
-
StringOperators
public StringOperators()
-
-
Method Details
-
valueOf
Take the array referenced by given fieldReference.- Parameters:
fieldReference- must not be null.- Returns:
- new instance of
StringOperators.StringOperatorFactory.
-
valueOf
Take the array referenced by given fieldReference.- Parameters:
fieldReference- must not be null.- Returns:
- new instance of
StringOperators.StringOperatorFactory.
-