Packages

object KeyReader

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KeyReader
  2. AnyRef
  3. 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. def apply[T](read: (String) => T): KeyReader[T]

    Creates a KeyReader based on the given read function.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. implicit def bigDecimalKeyReader: KeyReader[BigDecimal]
  7. implicit def bigIntKeyReader: KeyReader[BigInt]
  8. implicit def byteKeyReader: KeyReader[Byte]
  9. implicit def charKeyReader: KeyReader[Char]
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  11. def collect[T](read: PartialFunction[String, T]): KeyReader[T]

    Creates a KeyReader based on the given partial function.

    Creates a KeyReader based on the given partial function.

    A exceptions.ValueDoesNotMatchException is returned as Failure for any BSON value that is not matched by the read function.

  12. implicit def doubleKeyReader: KeyReader[Double]
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. implicit def floatKeyReader: KeyReader[Float]
  16. def from[T](readTry: (String) => Try[T]): KeyReader[T]

    Creates a KeyReader based on the given readTry function.

  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. implicit def intKeyReader: KeyReader[Int]
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. implicit def keyReader[T](implicit conv: (String) => T): KeyReader[T]

    Provides a KeyReader instance of any T type that can be parsed from a String.

  22. implicit lazy val localeReader: KeyReader[Locale]

    Supports reading locales as keys, using language tag as string representation.

    Supports reading locales as keys, using language tag as string representation.

    import reactivemongo.api.bson.KeyReader
    
    implicitly[KeyReader[java.util.Locale]].readTry("fr-FR")
    // => Success(Locale.FRANCE)
  23. implicit def longKeyReader: KeyReader[Long]
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. def option[T](read: (String) => Option[T]): KeyReader[T]

    Creates a KeyReader based on the given read function.

  28. implicit def shortKeyReader: KeyReader[Short]
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. implicit lazy val uuidReader: KeyReader[UUID]

    Supports reading UUID as keys.

    Supports reading UUID as keys.

    import reactivemongo.api.bson.KeyReader
    
    implicitly[KeyReader[java.util.UUID]].
      readTry("BDE87A8B-52F6-4345-9BCE-A30F4CB9FCB4")
    // => Success(java.util.UUID{"BDE87A8B-52F6-4345-9BCE-A30F4CB9FCB4"})
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  34. 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

Inherited from AnyRef

Inherited from Any

Ungrouped