Packages

o

org.mongodb.scala.model

CollationStrength

object CollationStrength

Collation support allows the specific configuration of how character cases are handled.

Since

1.2

Note

Requires MongoDB 3.4 or greater

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CollationStrength
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. val IDENTICAL: CollationStrength

    When all other levels are equal, the identical level is used as a tiebreaker.

    When all other levels are equal, the identical level is used as a tiebreaker. The Unicode code point values of the NFD form of each string are compared at this level, just in case there is no difference at levels 1-4

  2. val PRIMARY: CollationStrength

    Strongest level, denote difference between base characters

  3. val QUATERNARY: CollationStrength

    When punctuation is ignored at level 1-3, an additional level can be used to distinguish words with and without punctuation.

  4. val SECONDARY: CollationStrength

    Accents in characters are considered secondary differences

  5. val TERTIARY: CollationStrength

    Upper and lower case differences in characters are distinguished at the tertiary level.

    Upper and lower case differences in characters are distinguished at the tertiary level. The server default.

  6. def fromInt(collationStrength: Int): Try[CollationStrength]

    Returns the CollationStrength from the string value.

    Returns the CollationStrength from the string value.

    collationStrength

    the int value.

    returns

    the read concern