Package com.mongodb.client.model
Class Collation
java.lang.Object
com.mongodb.client.model.Collation
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
The options regarding collation support in MongoDB 3.4+
- Since:
- 3.4
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Deprecated.Usage of this API is not supported in AEM as a Cloud Service. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets this collation options as a document.static Collation.Builder
builder()
Deprecated.Convenience method to create a Builder.static Collation.Builder
Deprecated.Convenience method to create a from an existingCollation
.boolean
Deprecated.Deprecated.Returns the collation alternateDeprecated.Returns the backwards valueDeprecated.Returns the collation case first valueDeprecated.Returns the case level valueDeprecated.Returns the localeDeprecated.Returns the maxVariableDeprecated.Returns the normalization valueDeprecated.Returns the numeric ordering, if true will order numbers based on numerical order and not collation order.Deprecated.Returns the collation strengthint
hashCode()
Deprecated.toString()
Deprecated.
-
Method Details
-
builder
Deprecated.Convenience method to create a Builder.- Returns:
- a builder
-
builder
Deprecated.Convenience method to create a from an existingCollation
.- Parameters:
options
- create a builder from existing options- Returns:
- a builder
-
getLocale
Deprecated.Returns the locale- Returns:
- the locale
- See Also:
-
getCaseLevel
Deprecated.Returns the case level value- Returns:
- the case level value
-
getCaseFirst
Deprecated.Returns the collation case first value- Returns:
- the collation case first value
-
getStrength
Deprecated.Returns the collation strength- Returns:
- the collation strength
-
getNumericOrdering
Deprecated.Returns the numeric ordering, if true will order numbers based on numerical order and not collation order.- Returns:
- the numeric ordering
-
getAlternate
Deprecated.Returns the collation alternate- Returns:
- the alternate
-
getMaxVariable
Deprecated.Returns the maxVariableControls which characters are affected by collection alternate
CollationAlternate.SHIFTED
.- Returns:
- the maxVariable
-
getNormalization
Deprecated.Returns the normalization valueIf true, normalizes text into Unicode NFD.
- Returns:
- the normalization
-
getBackwards
Deprecated.Returns the backwards value- Returns:
- the backwards value
-
asDocument
Deprecated.Gets this collation options as a document.- Returns:
- The collation options as a BsonDocument
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-