Module spring.data.mongodb
Class Collation.Alternate
java.lang.Object
org.springframework.data.mongodb.core.query.Collation.Alternate
- Direct Known Subclasses:
Collation.AlternateWithMaxVariable
- Enclosing class:
- Collation
- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic Collation.AlternateConsider Whitespace and punctuation as base characters.shifted()Whitespace and punctuation are not considered base characters and are only distinguished at strength.
-
Method Details
-
nonIgnorable
Consider Whitespace and punctuation as base characters.- Returns:
- new
Collation.Alternate.
-
shifted
Whitespace and punctuation are not considered base characters and are only distinguished at strength.
NOTE: Only works forCollation.ICUComparisonLevelaboveCollation.ComparisonLevel.tertiary().- Returns:
- new
Collation.AlternateWithMaxVariable.
-