Fetcher

sangria.execution.deferred.Fetcher
See theFetcher companion class
object Fetcher

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Fetcher.type

Members list

Value members

Concrete methods

def apply[Ctx, Res, Id](fetch: (Ctx, Seq[Id]) => Future[Seq[Res]], config: FetcherConfig)(implicit id: HasId[Res, Id]): Fetcher[Ctx, Res, Res, Id]
def caching[Ctx, Res, Id](fetch: (Ctx, Seq[Id]) => Future[Seq[Res]], config: FetcherConfig)(implicit id: HasId[Res, Id]): Fetcher[Ctx, Res, Res, Id]
def cachingWithContext[Ctx, Res, Id](fetch: (FetcherContext[Ctx], Seq[Id]) => Future[Seq[Res]], config: FetcherConfig)(implicit id: HasId[Res, Id]): Fetcher[Ctx, Res, Res, Id]
def rel[Ctx, Res, RelRes, Id](fetch: (Ctx, Seq[Id]) => Future[Seq[Res]], fetchRel: (Ctx, RelationIds[Res]) => Future[Seq[RelRes]], config: FetcherConfig)(implicit id: HasId[Res, Id]): Fetcher[Ctx, Res, RelRes, Id]
def relCaching[Ctx, Res, RelRes, Id](fetch: (Ctx, Seq[Id]) => Future[Seq[Res]], fetchRel: (Ctx, RelationIds[Res]) => Future[Seq[RelRes]], config: FetcherConfig)(implicit id: HasId[Res, Id]): Fetcher[Ctx, Res, RelRes, Id]
def relCachingWithContext[Ctx, Res, RelRes, Id](fetch: (FetcherContext[Ctx], Seq[Id]) => Future[Seq[Res]], fetchRel: (FetcherContext[Ctx], RelationIds[Res]) => Future[Seq[RelRes]], config: FetcherConfig)(implicit id: HasId[Res, Id]): Fetcher[Ctx, Res, RelRes, Id]
def relOnly[Ctx, Res, RelRes, Id](fetchRel: (Ctx, RelationIds[Res]) => Future[Seq[RelRes]], config: FetcherConfig)(implicit id: HasId[Res, Id]): Fetcher[Ctx, Res, RelRes, Id]
def relOnlyCaching[Ctx, Res, RelRes, Id](fetchRel: (Ctx, RelationIds[Res]) => Future[Seq[RelRes]], config: FetcherConfig)(implicit id: HasId[Res, Id]): Fetcher[Ctx, Res, RelRes, Id]
def relOnlyCachingWithContext[Ctx, Res, RelRes, Id](fetchRel: (FetcherContext[Ctx], RelationIds[Res]) => Future[Seq[RelRes]], config: FetcherConfig)(implicit id: HasId[Res, Id]): Fetcher[Ctx, Res, RelRes, Id]
def relOnlyWithContext[Ctx, Res, RelRes, Id](fetchRel: (FetcherContext[Ctx], RelationIds[Res]) => Future[Seq[RelRes]], config: FetcherConfig)(implicit id: HasId[Res, Id]): Fetcher[Ctx, Res, RelRes, Id]
def relWithContext[Ctx, Res, RelRes, Id](fetch: (FetcherContext[Ctx], Seq[Id]) => Future[Seq[Res]], fetchRel: (FetcherContext[Ctx], RelationIds[Res]) => Future[Seq[RelRes]], config: FetcherConfig)(implicit id: HasId[Res, Id]): Fetcher[Ctx, Res, RelRes, Id]
def withContext[Ctx, Res, Id](fetch: (FetcherContext[Ctx], Seq[Id]) => Future[Seq[Res]], config: FetcherConfig)(implicit id: HasId[Res, Id]): Fetcher[Ctx, Res, Res, Id]