napkin-0.5.14
Copyright(c) Soostone Inc 2020
LicenseAllRightsReserved
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe-Inferred
LanguageGHC2021

Napkin.Spec.Graph

Description

 
Synopsis

Documentation

toDependency :: Specs b -> Ref Table -> SpecDependency #

This is what we want to use when packing a SpecDependency. programDependenciesAndQueries will return a Dependencies :: Set (Ref Table), and without more information it is impossible to tell if these are managed or unmanaged. However, taken with a Specs this can be deduced. If the packed table ref is not a member of the specsTables found in the Specs then it is UnManaged, and should be marked as such. Otherwise it is managed and can safely be packed using Managed . SpecTableName. Use of constructor is necessary here.

unmanagedInputTables :: ValidatedInterpretedSpec b -> Set SpecTableName -> Set SpecTableName #

unmanaged tables that will be used as an input during this run

managedInputTables :: ValidatedInterpretedSpec b -> Set SpecTableName -> Set SpecTableName #

managed tables that will be used as an input during this run, but will not be updated