Packages

object Sort extends Sort

Linear Supertypes
Sort, AsJava, AsJavaConverters, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Sort
  2. Sort
  3. AsJava
  4. AsJavaConverters
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def asJava[K, V](m: Map[K, V]): ConcurrentMap[K, V]
    Definition Classes
    AsJavaConverters
  6. def asJava[K, V](m: Map[K, V]): Map[K, V]
    Definition Classes
    AsJavaConverters
  7. def asJava[K, V](m: Map[K, V]): Map[K, V]
    Definition Classes
    AsJavaConverters
  8. def asJava[A](s: Set[A]): Set[A]
    Definition Classes
    AsJavaConverters
  9. def asJava[A](s: Set[A]): Set[A]
    Definition Classes
    AsJavaConverters
  10. def asJava[A](s: Seq[A]): List[A]
    Definition Classes
    AsJavaConverters
  11. def asJava[A](s: Seq[A]): List[A]
    Definition Classes
    AsJavaConverters
  12. def asJava[A](b: Buffer[A]): List[A]
    Definition Classes
    AsJavaConverters
  13. def asJava[A](i: Iterable[A]): Iterable[A]
    Definition Classes
    AsJavaConverters
  14. def asJava[A](i: Iterator[A]): Iterator[A]
    Definition Classes
    AsJavaConverters
  15. def asJavaCollection[A](i: Iterable[A]): Collection[A]
    Definition Classes
    AsJavaConverters
  16. def asJavaDictionary[K, V](m: Map[K, V]): Dictionary[K, V]
    Definition Classes
    AsJavaConverters
  17. def asJavaEnumeration[A](i: Iterator[A]): Enumeration[A]
    Definition Classes
    AsJavaConverters
  18. def asc(fieldNames: String*): Sort

    Create a sort specification for an ascending sort on the given field.

    Create a sort specification for an ascending sort on the given field.

    fieldNames

    the field name

    returns

    the sort specification https://docs.mongodb.com/manual/reference/method/cursor.sort/#std-label-sort-asc-desc

    Definition Classes
    Sort
  19. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  20. def combinedWith(anotherSort: Sort): Sort

    Combine multiple sort specifications.

    Combine multiple sort specifications. If any field names are repeated, the last one takes precedence.

    anotherSort

    the sort specifications

    returns

    the combined sort specification

    Definition Classes
    Sort
  21. def desc(fieldNames: String*): Sort

    Create a sort specification for a descending sort on the given field.

    Create a sort specification for a descending sort on the given field.

    fieldNames

    the field name

    returns

    the sort specification https://docs.mongodb.com/manual/reference/method/cursor.sort/#std-label-sort-asc-desc

    Definition Classes
    Sort
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equals(other: Any): Boolean
    Definition Classes
    Sort → AnyRef → Any
  24. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  25. def hashCode(): Int
    Definition Classes
    Sort → AnyRef → Any
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def metaTextScore(fieldName: String): Sort

    Create a sort specification for the text score meta projection on the given field.

    Create a sort specification for the text score meta projection on the given field.

    fieldName

    the field name

    returns

    the sort specification https://docs.mongodb.com/manual/reference/method/cursor.sort/#std-label-sort-metadata

    Definition Classes
    Sort
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    Sort → AnyRef → Any
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Sort

Inherited from AsJava

Inherited from AsJavaConverters

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped