final class Collation extends AnyRef
Represents a collection, view, index or operation specific collation.
import reactivemongo.api.Collation val collation = Collation( locale = "en-US", caseLevel = None, caseFirst = None, strength = Some(Collation.PrimaryStrength), numericOrdering = None, alternate = None, maxVariable = None, backwards = None)
- Alphabetic
- By Inheritance
- Collation
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Collation, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
alternate: Option[Alternate]
The field that determines whether collation should consider whitespace and punctuation as base characters
The field that determines whether collation should consider whitespace and punctuation as base characters
- Annotations
- @inline()
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
backwards: Option[Boolean]
The flag that determines whether strings with diacritics sort from back of the string
The flag that determines whether strings with diacritics sort from back of the string
- Annotations
- @inline()
-
def
caseFirst: Option[CaseFirst]
The field that determines sort order of case differences during tertiary level comparisons
The field that determines sort order of case differences during tertiary level comparisons
- Annotations
- @inline()
-
def
caseLevel: Option[Boolean]
The flag that determines whether to include case comparison at strength level 1 or 2 (see ICU case level)
The flag that determines whether to include case comparison at strength level 1 or 2 (see ICU case level)
- Annotations
- @inline()
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def ensuring(cond: (Collation) ⇒ Boolean, msg: ⇒ Any): Collation
- def ensuring(cond: (Collation) ⇒ Boolean): Collation
- def ensuring(cond: Boolean, msg: ⇒ Any): Collation
- def ensuring(cond: Boolean): Collation
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(that: Any): Boolean
- Definition Classes
- Collation → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- Collation → AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
locale: String
The ICU locale
The ICU locale
- Annotations
- @inline()
-
def
maxVariable: Option[MaxVariable]
The field that determines up to which characters are considered ignorable
The field that determines up to which characters are considered ignorable
- Annotations
- @inline()
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
normalization: Option[Boolean]
The flag that determines whether to check if text require normalization and to perform normalization
The flag that determines whether to check if text require normalization and to perform normalization
- Annotations
- @inline()
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
numericOrdering: Option[Boolean]
The flag that determines whether to compare numeric strings as numbers or as strings
The flag that determines whether to compare numeric strings as numbers or as strings
- Annotations
- @inline()
-
def
strength: Option[Strength]
- Annotations
- @inline()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Collation → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def →[B](y: B): (Collation, B)
Deprecated Value Members
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Collation to StringFormat[Collation] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.