Object

fetch

Fetch

Related Doc: package fetch

Permalink

object Fetch extends FetchInterpreters with Serializable

Linear Supertypes
Serializable, Serializable, FetchInterpreters, AnyRef, Any
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
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[I, A](i: I)(implicit DS: DataSource[I, A]): Fetch[A]

    Permalink

    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.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

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

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

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

    Permalink

    Lift an exception to the Fetch monad.

  10. def finalize(): Unit

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

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

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

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

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

    Permalink

    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.

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

    Permalink

    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.

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

    Permalink

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

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

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

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

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

    Permalink

    Lift a plain value to the Fetch monad.

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

    Permalink

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

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

    Permalink

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

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

    Permalink

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

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

    Permalink

    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.

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

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

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

    Permalink

    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.

  29. def traverseGrouped[A, B](ids: List[A], groupLength: Int)(f: (A) ⇒ Fetch[B]): Fetch[List[B]]

    Permalink
  30. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from FetchInterpreters

Inherited from AnyRef

Inherited from Any

Ungrouped