RootStream

edu.gemini.grackle.Mapping.RootStream$
See theRootStream companion class
object RootStream

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): RootStream

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

Yields a RootStream 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) => Stream[F, Result[Cursor]])(implicit pos: SourcePos): RootStream

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

Yields a RootStream 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) => Stream[F, Result[Query]])(implicit pos: SourcePos): RootStream

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

Yields a RootStream 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