Copyright | (c) Soostone Inc 2020 |
---|---|
License | AllRightsReserved |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- data IncludeUnmanagedTables
- type TableSpecsAsDependencyGraph b = (ReifiesBackend b, MustacheBackend b, RunBackendEffect b, DumpBackendRequirements b)
- type SpecDeps = Map (Ref Table) (Set (Ref Table))
- allSpecsDeps :: forall b. TableSpecsAsDependencyGraph b => RuntimeEnv -> RawInterpretedSpec b -> IO (Either (NonEmpty (Ref Table, NapkinEffectError)) SpecDeps)
- allSpecsDeps' :: forall b. TableSpecsAsDependencyGraph b => TaskGroup -> RuntimeEnv -> RawInterpretedSpec b -> IO (Either (NonEmpty (Ref Table, NapkinEffectError)) (Map (Ref Table) (ProgramDependenciesAndQueries b)))
- tableSpecsAsDependencyGraph :: Specs b -> IncludeUnmanagedTables -> SpecDeps -> SpecDepGraph
- unmanagedInputTables :: ValidatedInterpretedSpec b -> Set (Ref Table) -> Set (Ref Table)
- managedInputTables :: ValidatedInterpretedSpec b -> Set (Ref Table) -> Set (Ref Table)
- findCycles :: Specs b -> SpecDeps -> [[Ref Table]]
- tableDownstream :: SpecDepGraph -> Set (Ref Table) -> Set (Ref Table)
- tableUpstream :: SpecDepGraph -> Set (Ref Table) -> Set (Ref Table)
Documentation
data IncludeUnmanagedTables #
Instances
Eq IncludeUnmanagedTables # | |
Defined in Napkin.Spec.Graph | |
Show IncludeUnmanagedTables # | |
Defined in Napkin.Spec.Graph showsPrec :: Int -> IncludeUnmanagedTables -> ShowS # show :: IncludeUnmanagedTables -> String # showList :: [IncludeUnmanagedTables] -> ShowS # |
type TableSpecsAsDependencyGraph b = (ReifiesBackend b, MustacheBackend b, RunBackendEffect b, DumpBackendRequirements b) #
allSpecsDeps :: forall b. TableSpecsAsDependencyGraph b => RuntimeEnv -> RawInterpretedSpec b -> IO (Either (NonEmpty (Ref Table, NapkinEffectError)) SpecDeps) #
allSpecsDeps' :: forall b. TableSpecsAsDependencyGraph b => TaskGroup -> RuntimeEnv -> RawInterpretedSpec b -> IO (Either (NonEmpty (Ref Table, NapkinEffectError)) (Map (Ref Table) (ProgramDependenciesAndQueries b))) #
tableSpecsAsDependencyGraph :: Specs b -> IncludeUnmanagedTables -> SpecDeps -> SpecDepGraph #
unmanagedInputTables :: ValidatedInterpretedSpec b -> Set (Ref Table) -> Set (Ref Table) #
unmanaged tables that will be used as an input during this run
managedInputTables :: ValidatedInterpretedSpec b -> Set (Ref Table) -> Set (Ref Table) #
managed tables that will be used as an input during this run, but will not be updated
tableDownstream :: SpecDepGraph -> Set (Ref Table) -> Set (Ref Table) #
tableUpstream :: SpecDepGraph -> Set (Ref Table) -> Set (Ref Table) #