Module spring.data.mongodb
Class StringOperators.IndexOfCP.SubstringBuilder
java.lang.Object
org.springframework.data.mongodb.core.aggregation.StringOperators.IndexOfCP.SubstringBuilder
- Enclosing class:
- StringOperators.IndexOfCP
-
Method Summary
Modifier and TypeMethodDescriptionCreates a newStringOperators.IndexOfCPgiven substring.indexOf(AggregationExpression expression) Creates a newStringOperators.IndexOfCPgivenAggregationExpressionthat resolves to the substring.Creates a newStringOperators.IndexOfCPgivenFieldthat resolves to the substring.
-
Method Details
-
indexOf
Creates a newStringOperators.IndexOfCPgiven substring.- Parameters:
substring- must not be null.- Returns:
- new instance of
StringOperators.IndexOfCP.
-
indexOf
Creates a newStringOperators.IndexOfCPgivenAggregationExpressionthat resolves to the substring.- Parameters:
expression- must not be null.- Returns:
- new instance of
StringOperators.IndexOfCP.
-
indexOf
Creates a newStringOperators.IndexOfCPgivenFieldthat resolves to the substring.- Parameters:
fieldReference- must not be null.- Returns:
-