napkin-runtime-2.0.0
Safe HaskellNone
LanguageGHC2024

Napkin.Spec.Graph.Types

Documentation

data TableType #

Instances

Instances details
Show TableType # 
Instance details

Defined in Napkin.Spec.Graph.Types

data SpecDepGraphNode #

Instances

Instances details
Generic SpecDepGraphNode # 
Instance details

Defined in Napkin.Spec.Graph.Types

Associated Types

type Rep SpecDepGraphNode 
Instance details

Defined in Napkin.Spec.Graph.Types

type Rep SpecDepGraphNode = D1 ('MetaData "SpecDepGraphNode" "Napkin.Spec.Graph.Types" "napkin-runtime-2.0.0-Ct8w2lsjRa3AUoSevHfCKx" 'False) (C1 ('MetaCons "SpecDepGraphNode" 'PrefixI 'True) (S1 ('MetaSel ('Just "sdglTableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SpecTableName) :*: (S1 ('MetaSel ('Just "sdglTableType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TableType) :*: S1 ('MetaSel ('Just "sdglTableTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set TableSpecTag)))))
Show SpecDepGraphNode # 
Instance details

Defined in Napkin.Spec.Graph.Types

type Rep SpecDepGraphNode # 
Instance details

Defined in Napkin.Spec.Graph.Types

type Rep SpecDepGraphNode = D1 ('MetaData "SpecDepGraphNode" "Napkin.Spec.Graph.Types" "napkin-runtime-2.0.0-Ct8w2lsjRa3AUoSevHfCKx" 'False) (C1 ('MetaCons "SpecDepGraphNode" 'PrefixI 'True) (S1 ('MetaSel ('Just "sdglTableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SpecTableName) :*: (S1 ('MetaSel ('Just "sdglTableType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TableType) :*: S1 ('MetaSel ('Just "sdglTableTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set TableSpecTag)))))

newtype TaskId #

Constructors

TaskId 

Fields

Instances

Instances details
ToJSON TaskId # 
Instance details

Defined in Napkin.Spec.Graph.Types

ToJSONKey TaskId # 
Instance details

Defined in Napkin.Spec.Graph.Types

Generic TaskId # 
Instance details

Defined in Napkin.Spec.Graph.Types

Associated Types

type Rep TaskId 
Instance details

Defined in Napkin.Spec.Graph.Types

type Rep TaskId = D1 ('MetaData "TaskId" "Napkin.Spec.Graph.Types" "napkin-runtime-2.0.0-Ct8w2lsjRa3AUoSevHfCKx" 'True) (C1 ('MetaCons "TaskId" 'PrefixI 'True) (S1 ('MetaSel ('Just "taskIdSegments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text])))

Methods

from :: TaskId -> Rep TaskId x #

to :: Rep TaskId x -> TaskId #

Show TaskId # 
Instance details

Defined in Napkin.Spec.Graph.Types

Eq TaskId # 
Instance details

Defined in Napkin.Spec.Graph.Types

Methods

(==) :: TaskId -> TaskId -> Bool #

(/=) :: TaskId -> TaskId -> Bool #

Ord TaskId # 
Instance details

Defined in Napkin.Spec.Graph.Types

Hashable TaskId # 
Instance details

Defined in Napkin.Spec.Graph.Types

Methods

hashWithSalt :: Int -> TaskId -> Int #

hash :: TaskId -> Int #

type Rep TaskId # 
Instance details

Defined in Napkin.Spec.Graph.Types

type Rep TaskId = D1 ('MetaData "TaskId" "Napkin.Spec.Graph.Types" "napkin-runtime-2.0.0-Ct8w2lsjRa3AUoSevHfCKx" 'True) (C1 ('MetaCons "TaskId" 'PrefixI 'True) (S1 ('MetaSel ('Just "taskIdSegments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text])))

data TaskState (b :: k) #

Instances

Instances details
Generic (TaskState b) # 
Instance details

Defined in Napkin.Spec.Graph.Types

Methods

from :: TaskState b -> Rep (TaskState b) x #

to :: Rep (TaskState b) x -> TaskState b #

Show (BackendQueryStats backend) => Show (TaskState backend) # 
Instance details

Defined in Napkin.Spec.Graph.Types

Methods

showsPrec :: Int -> TaskState backend -> ShowS #

show :: TaskState backend -> String #

showList :: [TaskState backend] -> ShowS #

Eq (BackendQueryStats backend) => Eq (TaskState backend) # 
Instance details

Defined in Napkin.Spec.Graph.Types

Methods

(==) :: TaskState backend -> TaskState backend -> Bool #

(/=) :: TaskState backend -> TaskState backend -> Bool #

type Rep (TaskState b) # 
Instance details

Defined in Napkin.Spec.Graph.Types

data ShowTaskIds #

Constructors

ShowTaskIds 
HideTaskIds 

Instances

Instances details
Show ShowTaskIds # 
Instance details

Defined in Napkin.Spec.Graph.Types

Eq ShowTaskIds # 
Instance details

Defined in Napkin.Spec.Graph.Types

data SimpleTaskState #

Instances

Instances details
FromJSON SimpleTaskState # 
Instance details

Defined in Napkin.Spec.Graph.Types.SimpleTaskState

ToJSON SimpleTaskState # 
Instance details

Defined in Napkin.Spec.Graph.Types.SimpleTaskState

ToJSONKey SimpleTaskState # 
Instance details

Defined in Napkin.Spec.Graph.Types.SimpleTaskState

Bounded SimpleTaskState # 
Instance details

Defined in Napkin.Spec.Graph.Types.SimpleTaskState

Enum SimpleTaskState # 
Instance details

Defined in Napkin.Spec.Graph.Types.SimpleTaskState

Generic SimpleTaskState # 
Instance details

Defined in Napkin.Spec.Graph.Types.SimpleTaskState

Associated Types

type Rep SimpleTaskState 
Instance details

Defined in Napkin.Spec.Graph.Types.SimpleTaskState

type Rep SimpleTaskState = D1 ('MetaData "SimpleTaskState" "Napkin.Spec.Graph.Types.SimpleTaskState" "napkin-runtime-2.0.0-Ct8w2lsjRa3AUoSevHfCKx" 'False) ((C1 ('MetaCons "Pending" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Blocked" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DependencyFailed" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "Running" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CompletedOk" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "CompletedError" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Skipped" 'PrefixI 'False) (U1 :: Type -> Type))))
Show SimpleTaskState # 
Instance details

Defined in Napkin.Spec.Graph.Types.SimpleTaskState

Eq SimpleTaskState # 
Instance details

Defined in Napkin.Spec.Graph.Types.SimpleTaskState

Ord SimpleTaskState # 
Instance details

Defined in Napkin.Spec.Graph.Types.SimpleTaskState

ToClassName SimpleTaskState # 
Instance details

Defined in Napkin.Spec.Graph.Types.SimpleTaskState

type Rep SimpleTaskState # 
Instance details

Defined in Napkin.Spec.Graph.Types.SimpleTaskState

type Rep SimpleTaskState = D1 ('MetaData "SimpleTaskState" "Napkin.Spec.Graph.Types.SimpleTaskState" "napkin-runtime-2.0.0-Ct8w2lsjRa3AUoSevHfCKx" 'False) ((C1 ('MetaCons "Pending" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Blocked" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DependencyFailed" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "Running" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CompletedOk" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "CompletedError" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Skipped" 'PrefixI 'False) (U1 :: Type -> Type))))

data TaskStateInfo (b :: k) #

Instances

Instances details
Generic (TaskStateInfo b) # 
Instance details

Defined in Napkin.Spec.Graph.Types

Associated Types

type Rep (TaskStateInfo b) 
Instance details

Defined in Napkin.Spec.Graph.Types

type Rep (TaskStateInfo b) = D1 ('MetaData "TaskStateInfo" "Napkin.Spec.Graph.Types" "napkin-runtime-2.0.0-Ct8w2lsjRa3AUoSevHfCKx" 'False) (C1 ('MetaCons "TaskStateInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TaskState b)) :*: (S1 ('MetaSel ('Just "simple") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SimpleTaskState) :*: S1 ('MetaSel ('Just "transitions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map SimpleTaskState UTCTime)))))
Show (BackendQueryStats backend) => Show (TaskStateInfo backend) # 
Instance details

Defined in Napkin.Spec.Graph.Types

Methods

showsPrec :: Int -> TaskStateInfo backend -> ShowS #

show :: TaskStateInfo backend -> String #

showList :: [TaskStateInfo backend] -> ShowS #

Eq (BackendQueryStats backend) => Eq (TaskStateInfo backend) # 
Instance details

Defined in Napkin.Spec.Graph.Types

Methods

(==) :: TaskStateInfo backend -> TaskStateInfo backend -> Bool #

(/=) :: TaskStateInfo backend -> TaskStateInfo backend -> Bool #

type Rep (TaskStateInfo b) # 
Instance details

Defined in Napkin.Spec.Graph.Types

type Rep (TaskStateInfo b) = D1 ('MetaData "TaskStateInfo" "Napkin.Spec.Graph.Types" "napkin-runtime-2.0.0-Ct8w2lsjRa3AUoSevHfCKx" 'False) (C1 ('MetaCons "TaskStateInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TaskState b)) :*: (S1 ('MetaSel ('Just "simple") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SimpleTaskState) :*: S1 ('MetaSel ('Just "transitions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map SimpleTaskState UTCTime)))))

type DAGRunState (b :: k) = Map TaskId (TaskStateInfo b) #

taskDuration :: forall {k} (b :: k). TaskStateInfo b -> Maybe NominalDiffTime #

data TaskResult (bk :: k) #

Instances

Instances details
Generic (TaskResult bk) # 
Instance details

Defined in Napkin.Spec.Graph.Types

Associated Types

type Rep (TaskResult bk) 
Instance details

Defined in Napkin.Spec.Graph.Types

Methods

from :: TaskResult bk -> Rep (TaskResult bk) x #

to :: Rep (TaskResult bk) x -> TaskResult bk #

Show (BackendQueryStats backend) => Show (TaskResult backend) # 
Instance details

Defined in Napkin.Spec.Graph.Types

Methods

showsPrec :: Int -> TaskResult backend -> ShowS #

show :: TaskResult backend -> String #

showList :: [TaskResult backend] -> ShowS #

Eq (BackendQueryStats backend) => Eq (TaskResult backend) # 
Instance details

Defined in Napkin.Spec.Graph.Types

Methods

(==) :: TaskResult backend -> TaskResult backend -> Bool #

(/=) :: TaskResult backend -> TaskResult backend -> Bool #

type Rep (TaskResult bk) # 
Instance details

Defined in Napkin.Spec.Graph.Types

data HookResult (bk :: k) #

Constructors

HookError (NonEmpty AssertionEntry)

Fatal Assertions

HookOk [AssertionEntry] TableMemo

Warning Assertions

Instances

Instances details
Generic (HookResult bk) # 
Instance details

Defined in Napkin.Spec.Graph.Types

Associated Types

type Rep (HookResult bk) 
Instance details

Defined in Napkin.Spec.Graph.Types

Methods

from :: HookResult bk -> Rep (HookResult bk) x #

to :: Rep (HookResult bk) x -> HookResult bk #

Show (HookResult bk) # 
Instance details

Defined in Napkin.Spec.Graph.Types

Methods

showsPrec :: Int -> HookResult bk -> ShowS #

show :: HookResult bk -> String #

showList :: [HookResult bk] -> ShowS #

Eq (HookResult bk) # 
Instance details

Defined in Napkin.Spec.Graph.Types

Methods

(==) :: HookResult bk -> HookResult bk -> Bool #

(/=) :: HookResult bk -> HookResult bk -> Bool #

type Rep (HookResult bk) # 
Instance details

Defined in Napkin.Spec.Graph.Types

newtype LiveDumpItems (b :: k) #

Constructors

LiveDumpItems (IO [(DumpItem b, UTCTime)]) 

Instances

Instances details
Show (LiveDumpItems b) # 
Instance details

Defined in Napkin.Spec.Graph.Types

Eq (LiveDumpItems b) # 
Instance details

Defined in Napkin.Spec.Graph.Types