Package dev.morphia.annotations
Annotation Type Collation
-
public @interface Collation
Defines the collation options for an index- Since:
- 1.3
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String
locale
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description com.mongodb.client.model.CollationAlternate
alternate
Controls whether spaces and punctuation are considered base charactersboolean
backwards
Causes secondary differences to be considered in reverse order, as it is done in the French languagecom.mongodb.client.model.CollationCaseFirst
caseFirst
Determines if Uppercase or lowercase values should come firstboolean
caseLevel
Turns on case sensitivitycom.mongodb.client.model.CollationMaxVariable
maxVariable
boolean
normalization
boolean
numericOrdering
com.mongodb.client.model.CollationStrength
strength
-
-
-
Element Detail
-
locale
java.lang.String locale
- Returns:
- the locale
- See Also:
- ICU User Guide - Locale
-
-