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