Safe Haskell | None |
---|---|
Language | GHC2021 |
Synopsis
- data ACInteractive
- data ACDAG
- data AppConfig = AppConfig {}
- data RuntimeEventType (backend :: k)
- = RuntimeEventStart
- | RuntimeEventDone (CreateQueryStats backend) (Maybe (HookQueryStats backend))
- | RuntimeEventFailed String
- | RuntimeEventSkipped
- data EventSource
- refEventSource :: EventSource -> String
- data RuntimeEvent (backend :: k)
- = RuntimeEvent EventSource (RuntimeEventType backend)
- | RuntimeEventSkipMany [EventSource]
- | RuntimeEventComplete (QueryStats backend)
- | RuntimeEventFatal
- type RuntimeEventQueue (backend :: k) = TBQueue (RuntimeEvent backend)
- data RuntimeEventDAG (bk :: k)
- = RuntimeEventDAG (DAGRunState bk) TaskId (TaskState bk) UTCTime
- | RuntimeEventCompleteDAG (DAGRunState bk)
- type RuntimeEventQueueDAG (backend :: k) = TBQueue (RuntimeEventDAG backend)
- data ComboEnv (backend :: k) = ComboEnv {
- appConfig :: AppConfig
- log :: LogEnv
- eventQueue :: Maybe (RuntimeEventQueue backend)
- eventQueueDag :: Maybe (RuntimeEventQueueDAG backend)
- type ComboT (backend :: k) (m :: Type -> Type) = ReaderT (ComboEnv backend) (KatipT m)
- type Combo (bk :: k) = ComboT bk IO
Documentation
data ACInteractive #
Instances
Eq ACInteractive # | |
Defined in Napkin.Spec.ComboTypes (==) :: ACInteractive -> ACInteractive -> Bool # (/=) :: ACInteractive -> ACInteractive -> Bool # |
AppConfig | |
|
Instances
data RuntimeEventType (backend :: k) #
Maintains some basic, human-reportable state over the run of the Spec in order to show progress.
RuntimeEventStart | generated when a Spec starts to run |
RuntimeEventDone (CreateQueryStats backend) (Maybe (HookQueryStats backend)) | generated when a Spec successfully completes |
RuntimeEventFailed String | generated when a Spec throws an error |
RuntimeEventSkipped | generated when a Spec update is skipped |
Instances
Show (QueryStats backend) => Show (RuntimeEventType backend) # | |
Defined in Napkin.Spec.ComboTypes showsPrec :: Int -> RuntimeEventType backend -> ShowS # show :: RuntimeEventType backend -> String # showList :: [RuntimeEventType backend] -> ShowS # | |
Eq (QueryStats backend) => Eq (RuntimeEventType backend) # | |
Defined in Napkin.Spec.ComboTypes (==) :: RuntimeEventType backend -> RuntimeEventType backend -> Bool # (/=) :: RuntimeEventType backend -> RuntimeEventType backend -> Bool # |
data EventSource #
Instances
Show EventSource # | |
Defined in Napkin.Spec.ComboTypes showsPrec :: Int -> EventSource -> ShowS # show :: EventSource -> String # showList :: [EventSource] -> ShowS # | |
Eq EventSource # | |
Defined in Napkin.Spec.ComboTypes (==) :: EventSource -> EventSource -> Bool # (/=) :: EventSource -> EventSource -> Bool # |
refEventSource :: EventSource -> String #
data RuntimeEvent (backend :: k) #
RuntimeEvent EventSource (RuntimeEventType backend) | |
RuntimeEventSkipMany [EventSource] | bulk event updater since napkin is often run with many tables skipped |
RuntimeEventComplete (QueryStats backend) | generated when napkin is done running |
RuntimeEventFatal | generated from the napkin backend for fatal events (such as failed validation) |
Instances
Show (QueryStats backend) => Show (RuntimeEvent backend) # | |
Defined in Napkin.Spec.ComboTypes showsPrec :: Int -> RuntimeEvent backend -> ShowS # show :: RuntimeEvent backend -> String # showList :: [RuntimeEvent backend] -> ShowS # | |
Eq (QueryStats backend) => Eq (RuntimeEvent backend) # | |
Defined in Napkin.Spec.ComboTypes (==) :: RuntimeEvent backend -> RuntimeEvent backend -> Bool # (/=) :: RuntimeEvent backend -> RuntimeEvent backend -> Bool # |
type RuntimeEventQueue (backend :: k) = TBQueue (RuntimeEvent backend) #
data RuntimeEventDAG (bk :: k) #
RuntimeEventDAG (DAGRunState bk) TaskId (TaskState bk) UTCTime | |
RuntimeEventCompleteDAG (DAGRunState bk) |
Instances
(Show (TaskState backend), Show (BackendQueryStats backend)) => Show (RuntimeEventDAG backend) # | |
Defined in Napkin.Spec.ComboTypes showsPrec :: Int -> RuntimeEventDAG backend -> ShowS # show :: RuntimeEventDAG backend -> String # showList :: [RuntimeEventDAG backend] -> ShowS # | |
(Eq (TaskState backend), Eq (BackendQueryStats backend)) => Eq (RuntimeEventDAG backend) # | |
Defined in Napkin.Spec.ComboTypes (==) :: RuntimeEventDAG backend -> RuntimeEventDAG backend -> Bool # (/=) :: RuntimeEventDAG backend -> RuntimeEventDAG backend -> Bool # |
type RuntimeEventQueueDAG (backend :: k) = TBQueue (RuntimeEventDAG backend) #
data ComboEnv (backend :: k) #
ComboEnv | |
|
Instances
Generic (ComboEnv backend) # | |||||
Defined in Napkin.Spec.ComboTypes
| |||||
type Rep (ComboEnv backend) # | |||||
Defined in Napkin.Spec.ComboTypes type Rep (ComboEnv backend) = D1 ('MetaData "ComboEnv" "Napkin.Spec.ComboTypes" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "ComboEnv" 'PrefixI 'True) ((S1 ('MetaSel ('Just "appConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AppConfig) :*: S1 ('MetaSel ('Just "log") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LogEnv)) :*: (S1 ('MetaSel ('Just "eventQueue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (RuntimeEventQueue backend))) :*: S1 ('MetaSel ('Just "eventQueueDag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (RuntimeEventQueueDAG backend)))))) |