Object/Trait

reactivemongo.api.bson

KeyReader

Related Docs: trait KeyReader | package bson

Permalink

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. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply[T](read: (String) ⇒ T): KeyReader[T]

    Permalink

    Creates a KeyReader based on the given read function.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. implicit def bigDecimalKeyReader: KeyReader[BigDecimal]

    Permalink
  7. implicit def bigIntKeyReader: KeyReader[BigInt]

    Permalink
  8. implicit def byteKeyReader: KeyReader[Byte]

    Permalink
  9. implicit def charKeyReader: KeyReader[Char]

    Permalink
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def collect[T](read: PartialFunction[String, T]): KeyReader[T]

    Permalink

    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]

    Permalink
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. implicit def floatKeyReader: KeyReader[Float]

    Permalink
  17. def from[T](readTry: (String) ⇒ Try[T]): KeyReader[T]

    Permalink

    Creates a KeyReader based on the given readTry function.

  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. implicit def intKeyReader: KeyReader[Int]

    Permalink
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. implicit def keyReader[T](implicit conv: (String) ⇒ T): KeyReader[T]

    Permalink

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

  23. implicit lazy val localeReader: KeyReader[Locale]

    Permalink

    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)
  24. implicit def longKeyReader: KeyReader[Long]

    Permalink
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. def option[T](read: (String) ⇒ Option[T]): KeyReader[T]

    Permalink

    Creates a KeyReader based on the given read function.

  29. implicit def shortKeyReader: KeyReader[Short]

    Permalink
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. implicit lazy val uuidReader: KeyReader[UUID]

    Permalink

    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"})
  33. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped