Packages

trait ReprResultMapper[A] extends ResultMapper[A]

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

Abstract Value Members

  1. abstract def to(value: List[(String, Value)], typeHint: Option[TypeHint]): Either[Throwable, A]
    Definition Classes
    ResultMapper

Concrete 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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def either[B](fa: ResultMapper[B]): ResultMapper[Either[A, B]]

    Produces a ResultMapper where either the original or secondary mapper succeeds.

    Produces a ResultMapper where either the original or secondary mapper succeeds. The original mapper result is on the Left side, and the secondary mapper is on the Right.

    B

    The result type of your secondary ResultMapper.

    fa

    A secondary ResultMapper to try if the first one fails.

    returns

    A ResultMapper that, if sucessful, will return a value of either the original or secondary type.

    Definition Classes
    ResultMapper
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. def flatMap[B](f: (A) => ResultMapper[B]): ResultMapper[B]

    Bind a function over this ResultMapper, if successful.

    Bind a function over this ResultMapper, if successful. Useful for creating decoders that depend on multiple values in sequence.

    B

    The result type of your new ResultMapper from your function.

    f

    A function that returns a new ResultMapper.

    returns

    A new ResultMapper derived from the value your original ResultMapper outputs.

    Definition Classes
    ResultMapper
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def map[B](f: (A) => B): ResultMapper[B]

    Creates a new ResultMapper by applying a function to the result value, if successful.

    Creates a new ResultMapper by applying a function to the result value, if successful.

    B

    The return type of your supplied function.

    f

    A function to apply to the result value of this ResultMapper.

    returns

    A new ResultMapper that applies your function to the result.

    Definition Classes
    ResultMapper
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def or[AA >: A](mapper: => ResultMapper[AA]): ResultMapper[AA]

    Allows supplying a secondary ResultMapper to try if the original fails.

    Allows supplying a secondary ResultMapper to try if the original fails.

    AA

    A type that is possibly a supertype of your original ResultMapper type.

    mapper

    A ResultMapper to use if the current one fails.

    returns

    A new ResultMapper that returns the type of the supplied secondary mapper.

    Definition Classes
    ResultMapper
  19. def product[B](fa: ResultMapper[B]): ResultMapper[(A, B)]

    Combines the results of this ResultMapper with another as a tuple pair.

    Combines the results of this ResultMapper with another as a tuple pair.

    B

    The type of your second ResultMapper results.

    fa

    A second ResultMapper that reads the same input values.

    returns

    A ResultMapper that produces a pair of values.

    Definition Classes
    ResultMapper
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from ResultMapper[A]

Inherited from AnyRef

Inherited from Any

Ungrouped