RootEffect

edu.gemini.grackle.Mapping.RootEffect$
See theRootEffect companion class
object RootEffect

Attributes

Companion:
class
Source:
mapping.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def apply(fieldName: String)(effect: (Query, Path, Env) => Stream[F, Result[(Query, Cursor)]])(implicit pos: SourcePos, di: DummyImplicit): RootEffect

Yields a RootEffect which performs both an initial effect and yields an effect-specific query and corresponding root cursor.

Yields a RootEffect which performs both an initial effect and yields an effect-specific query and corresponding root cursor.

Attributes

Source:
mapping.scala
def computeCursor(fieldName: String)(effect: (Query, Path, Env) => F[Result[Cursor]])(implicit pos: SourcePos): RootEffect

Yields a RootEffect which performs an initial effect and yields an effect-specific root cursor.

Yields a RootEffect which performs an initial effect and yields an effect-specific root cursor.

Attributes

Source:
mapping.scala
def computeCursorStream(fieldName: String)(effect: (Query, Path, Env) => Stream[F, Result[Cursor]])(implicit pos: SourcePos): RootEffect

Yields a RootEffect which yields a stream of effect-specific root cursors.

Yields a RootEffect which yields a stream of effect-specific root cursors.

This form of effect is typically used to implement GraphQL subscriptions.

Attributes

Source:
mapping.scala
def computeQuery(fieldName: String)(effect: (Query, Path, Env) => F[Result[Query]])(implicit pos: SourcePos): RootEffect

Yields a RootEffect which performs an initial effect and yields an effect-specific query which is executed with respect to the default root cursor for the corresponding Mapping.

Yields a RootEffect which performs an initial effect and yields an effect-specific query which is executed with respect to the default root cursor for the corresponding Mapping.

Attributes

Source:
mapping.scala
def computeQueryStream(fieldName: String)(effect: (Query, Path, Env) => Stream[F, Result[Query]])(implicit pos: SourcePos): RootEffect

Yields a RootEffect which yields a stream of effect-specific queries which are executed with respect to the default root cursor for the corresponding Mapping.

Yields a RootEffect which yields a stream of effect-specific queries which are executed with respect to the default root cursor for the corresponding Mapping.

This form of effect is typically used to implement GraphQL subscriptions.

Attributes

Source:
mapping.scala