napkin-runtime-2.0.0
Copyright(c) Soostone Inc 2020
LicenseAllRightsReserved
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageGHC2024

Napkin.Spec.DumpDAG

Description

dump Specs as dot or SQL files

Documentation

data DumpNameMode #

Constructors

UseSpecNames 
UseDbNames 

Instances

Instances details
Show DumpNameMode # 
Instance details

Defined in Napkin.Spec.DumpDAG

Eq DumpNameMode # 
Instance details

Defined in Napkin.Spec.DumpDAG

type WriteLog = (LText, [(LText, LText)]) #

data DumpType #

Constructors

SpecProg 
PreHook 
PostHook 

Instances

Instances details
Buildable DumpType # 
Instance details

Defined in Napkin.Spec.DumpDAG

Methods

build :: DumpType -> Builder #

renderHook :: forall {k} (b :: k). Text -> DryRunResult b -> WriteLog #

newtype GraphJSON #

Instances

Instances details
ToJSON GraphJSON # 
Instance details

Defined in Napkin.Spec.DumpDAG

Generic GraphJSON # 
Instance details

Defined in Napkin.Spec.DumpDAG

Associated Types

type Rep GraphJSON 
Instance details

Defined in Napkin.Spec.DumpDAG

type Rep GraphJSON = D1 ('MetaData "GraphJSON" "Napkin.Spec.DumpDAG" "napkin-runtime-2.0.0-Ct8w2lsjRa3AUoSevHfCKx" 'True) (C1 ('MetaCons "GraphJSON" 'PrefixI 'True) (S1 ('MetaSel ('Just "managedTables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map SpecTableName ManagedTable))))
type Rep GraphJSON # 
Instance details

Defined in Napkin.Spec.DumpDAG

type Rep GraphJSON = D1 ('MetaData "GraphJSON" "Napkin.Spec.DumpDAG" "napkin-runtime-2.0.0-Ct8w2lsjRa3AUoSevHfCKx" 'True) (C1 ('MetaCons "GraphJSON" 'PrefixI 'True) (S1 ('MetaSel ('Just "managedTables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map SpecTableName ManagedTable))))

data ManagedTable #

Instances

Instances details
ToJSON ManagedTable # 
Instance details

Defined in Napkin.Spec.DumpDAG

Generic ManagedTable # 
Instance details

Defined in Napkin.Spec.DumpDAG

Associated Types

type Rep ManagedTable 
Instance details

Defined in Napkin.Spec.DumpDAG

type Rep ManagedTable = D1 ('MetaData "ManagedTable" "Napkin.Spec.DumpDAG" "napkin-runtime-2.0.0-Ct8w2lsjRa3AUoSevHfCKx" 'False) (C1 ('MetaCons "ManagedTable" 'PrefixI 'True) (S1 ('MetaSel ('Just "dependencies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set (Ref Table))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set TableSpecTag)) :*: S1 ('MetaSel ('Just "artifacts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set (Ref Table))))))
type Rep ManagedTable # 
Instance details

Defined in Napkin.Spec.DumpDAG

type Rep ManagedTable = D1 ('MetaData "ManagedTable" "Napkin.Spec.DumpDAG" "napkin-runtime-2.0.0-Ct8w2lsjRa3AUoSevHfCKx" 'False) (C1 ('MetaCons "ManagedTable" 'PrefixI 'True) (S1 ('MetaSel ('Just "dependencies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set (Ref Table))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set TableSpecTag)) :*: S1 ('MetaSel ('Just "artifacts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set (Ref Table))))))