fetch

Fetch

object Fetch extends FetchInterpreters with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Fetch
  2. Serializable
  3. Serializable
  4. FetchInterpreters
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class FetchRunner[M[_]] extends AnyRef

  2. class FetchRunnerA[M[_]] extends AnyRef

  3. class FetchRunnerEnv[M[_]] extends AnyRef

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def apply[I, A](i: I)(implicit DS: DataSource[I, A]): Fetch[A]

    Given a value that has a related DataSource implementation, lift it to the Fetch monad.

    Given a value that has a related DataSource implementation, lift it to the Fetch monad. When executing the fetch the data source will be queried and the fetch will return its result.

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  11. def error[A](e: Throwable): Fetch[A]

    Lift an exception to the Fetch monad.

  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  15. def interpreter[M[_]](implicit arg0: FetchMonadError[M]): ~>[FetchOp, [x]StateT[M, FetchEnv, x]]

    Definition Classes
    FetchInterpreters
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. def join[A, B](fl: Fetch[A], fr: Fetch[B]): Fetch[(A, B)]

    Join two fetches from any data sources and return a Fetch that returns a tuple with the two results.

    Join two fetches from any data sources and return a Fetch that returns a tuple with the two results. It implies concurrent execution of fetches.

  18. def map2[A, B, C](f: (A, B) ⇒ C)(fa: Fetch[A], fb: Fetch[B]): Fetch[C]

    Apply the given function to the result of the two fetches.

    Apply the given function to the result of the two fetches. It implies concurrent execution of fetches.

  19. def multiple[I, A](i: I, is: I*)(implicit DS: DataSource[I, A]): Fetch[List[A]]

    Given multiple values with a related DataSource lift them to the Fetch monad.

  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. def pure[A](a: A): Fetch[A]

    Lift a plain value to the Fetch monad.

  24. def run[M[_]]: FetchRunnerA[M]

    Run a Fetch with the given cache, the result in the monad M.

  25. def runEnv[M[_]]: FetchRunnerEnv[M]

    Run a Fetch with the given cache, returning the final environment in the monad M.

  26. def runFetch[M[_]]: FetchRunner[M]

    Run a Fetch with the given cache, returning a pair of the final environment and result in the monad M.

  27. def sequence[I, A](ids: List[Fetch[A]]): Fetch[List[A]]

    Transform a list of fetches into a fetch of a list.

    Transform a list of fetches into a fetch of a list. It implies concurrent execution of fetches.

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

    Definition Classes
    AnyRef
  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. def traverse[A, B](ids: List[A])(f: (A) ⇒ Fetch[B]): Fetch[List[B]]

    Apply a fetch-returning function to every element in a list and return a Fetch of the list of results.

    Apply a fetch-returning function to every element in a list and return a Fetch of the list of results. It implies concurrent execution of fetches.

  31. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from FetchInterpreters

Inherited from AnyRef

Inherited from Any

Ungrouped