Planner

gql.Planner$
See thePlanner companion trait
object Planner

Attributes

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

Members list

Concise view

Type members

Classlikes

final case class BatchRef[K, V](batcherId: BatchKey[K, V], uniqueNodeId: UniqueBatchInstance[K, V])

Attributes

Source:
Planner.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
final case class Node(id: Int, name: String, end: Double, cost: Double, elemCost: Double, children: List[Node], batchId: Option[BatchRef[_, _]])

Attributes

Source:
Planner.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
final case class NodeTree(root: List[Node], source: Option[NodeTree])

Attributes

Companion:
object
Source:
Planner.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
object NodeTree

Attributes

Companion:
class
Source:
Planner.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class TraversalState(id: Int, currentCost: Double)

Attributes

Source:
Planner.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any

Types

type H[F[_], A] = StateT[F, TraversalState, A]

Attributes

Source:
Planner.scala

Value members

Concrete methods

def apply[F[_]](implicit F: Applicative[F]): Planner[F]

Attributes

Source:
Planner.scala
def costForCont[F[_] : Monad, G[_]](edges: PreparedStep[G, _, _], cont: Prepared[G, _])(implicit evidence$5: Statistics[F], evidence$6: Monad[F], S: Stateful[F, TraversalState]): F[List[Node]]

Attributes

Source:
Planner.scala
def costForFields[F[_], G[_]](prepared: NonEmptyList[PreparedField[G, _]])(implicit F: Monad[F], stats: Statistics[F], S: Stateful[F, TraversalState]): F[List[Node]]

Attributes

Source:
Planner.scala
def costForPrepared[F[_] : Statistics, G[_]](p: Prepared[G, _])(implicit evidence$4: Statistics[F], F: Monad[F], S: Stateful[F, TraversalState]): F[List[Node]]

Attributes

Source:
Planner.scala
def costForStep[F[_], G[_]](step: PreparedStep[G, _, _], right: F[List[Node]])(implicit stats: Statistics[F], F: Monad[F], S: Stateful[F, TraversalState]): F[List[Node]]

Attributes

Source:
Planner.scala
def getId[F[_] : Applicative](implicit evidence$2: Applicative[F], S: Stateful[F, TraversalState]): F[Int]

Attributes

Source:
Planner.scala
def liftStatistics[F[_] : Applicative](stats: Statistics[F]): Statistics[[_] =>> H[F, _$24]]

Attributes

Source:
Planner.scala
def nextId[F[_] : Applicative](implicit evidence$3: Applicative[F], S: Stateful[F, Int]): F[Int]

Attributes

Source:
Planner.scala
def runCostAnalysis[F[_] : Statistics](f: Statistics[[_] =>> H[F, _$28]] => H[F, List[Node]]): F[NodeTree]

Attributes

Source:
Planner.scala
def runCostAnalysisFor[F[_] : Monad, A](f: Statistics[[_] =>> H[F, _$26]] => H[F, A])(implicit evidence$8: Monad[F], stats: Statistics[F]): F[A]

Attributes

Source:
Planner.scala
def scopeCost[F[_] : Monad, A](fa: F[A])(implicit evidence$1: Monad[F], S: Stateful[F, TraversalState]): F[A]

Attributes

Source:
Planner.scala