Package

fetch

Permalink

package fetch

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. fetch
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait BatchExecution extends Product with Serializable

    Permalink
  2. trait DataSource[I, A] extends AnyRef

    Permalink

    A DataSource is the recipe for fetching a certain identity I, which yields results of type A.

  3. trait DataSourceCache extends AnyRef

    Permalink

    A Cache trait so the users of the library can provide their own cache.

  4. final class DataSourceId extends AnyVal

    Permalink
  5. final class DataSourceName extends AnyVal

    Permalink
  6. final class DataSourceResult extends AnyVal

    Permalink
  7. trait Env extends AnyRef

    Permalink

    An environment that is passed along during the fetch rounds.

    An environment that is passed along during the fetch rounds. It holds the cache and the list of rounds that have been executed.

  8. sealed trait Fetch[F[_], A] extends AnyRef

    Permalink
  9. case class FetchEnv(roundsQ: Queue[Round] = Queue.empty) extends Env with Product with Serializable

    Permalink

    A concrete implementation of Env used in the default Fetch interpreter.

  10. sealed trait FetchException extends Throwable with NoStackTrace

    Permalink
  11. case class InMemoryCache(state: Map[(DataSourceName, DataSourceId), DataSourceResult]) extends DataSourceCache with Product with Serializable

    Permalink

    A cache that stores its elements in memory.

  12. final case class MissingIdentity[I, A](i: I, request: FetchQuery[I, A], environment: Env) extends Throwable with FetchException with Product with Serializable

    Permalink
  13. case class Request(request: FetchRequest, start: Long, end: Long) extends Product with Serializable

    Permalink

    A data structure that holds information about a request inside a fetch round.

  14. case class Round(queries: List[Request]) extends Product with Serializable

    Permalink

    A data structure that holds information about a fetch round.

  15. final case class UnhandledException(e: Throwable, environment: Env) extends Throwable with FetchException with Product with Serializable

    Permalink

Value Members

  1. object Fetch

    Permalink
  2. object InMemoryCache extends Serializable

    Permalink
  3. object InParallel extends BatchExecution with Product with Serializable

    Permalink
  4. object Sequentially extends BatchExecution with Product with Serializable

    Permalink
  5. implicit def fetchM[F[_]](implicit arg0: Monad[F]): Monad[[β$0$]Fetch[F, β$0$]]

    Permalink
  6. object syntax

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped