napkin-0.5.11
Copyright(c) Soostone Inc 2020
LicenseAllRightsReserved
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Napkin.Metadata.Types.SpecRun

Description

 
Synopsis

Documentation

newtype SpecState #

Constructors

SpecState 

Instances

Instances details
Eq SpecState # 
Instance details

Defined in Napkin.Metadata.Types.SpecRun

Show SpecState # 
Instance details

Defined in Napkin.Metadata.Types.SpecRun

Generic SpecState # 
Instance details

Defined in Napkin.Metadata.Types.SpecRun

Associated Types

type Rep SpecState :: Type -> Type #

Default SpecState # 
Instance details

Defined in Napkin.Metadata.Types.SpecRun

Methods

def :: SpecState #

type Rep SpecState # 
Instance details

Defined in Napkin.Metadata.Types.SpecRun

type Rep SpecState = D1 ('MetaData "SpecState" "Napkin.Metadata.Types.SpecRun" "napkin-0.5.11-LzNtVzWpCFCrZQk4T3eyK" 'True) (C1 ('MetaCons "SpecState" 'PrefixI 'True) (S1 ('MetaSel ('Just "_ssTables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map (Ref Table) SpecRun))))

newtype Pennies #

Constructors

Pennies Int64 

Instances

Instances details
Eq Pennies # 
Instance details

Defined in Napkin.Metadata.Types.SpecRun

Methods

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

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

Show Pennies # 
Instance details

Defined in Napkin.Metadata.Types.SpecRun

Generic Pennies # 
Instance details

Defined in Napkin.Metadata.Types.SpecRun

Associated Types

type Rep Pennies :: Type -> Type #

Methods

from :: Pennies -> Rep Pennies x #

to :: Rep Pennies x -> Pennies #

ToJSON Pennies # 
Instance details

Defined in Napkin.Metadata.Types.SpecRun

FromJSON Pennies # 
Instance details

Defined in Napkin.Metadata.Types.SpecRun

BeamSqlBackend bk => HasSqlEqualityCheck bk Pennies # 
Instance details

Defined in Napkin.Metadata.Instances

HasSqlValueSyntax bk Int64 => HasSqlValueSyntax bk Pennies # 
Instance details

Defined in Napkin.Metadata.Instances

Methods

sqlValueSyntax :: Pennies -> bk #

(BeamMigrateSqlBackend bk, FromBackendRow bk Int64) => FromBackendRow bk Pennies # 
Instance details

Defined in Napkin.Metadata.Instances

(IsSql2008BigIntDataTypeSyntax (BeamMigrateSqlBackendDataTypeSyntax bk), BeamMigrateSqlBackend bk) => HasDefaultSqlDataType bk Pennies # 
Instance details

Defined in Napkin.Metadata.Instances

type Rep Pennies # 
Instance details

Defined in Napkin.Metadata.Types.SpecRun

type Rep Pennies = D1 ('MetaData "Pennies" "Napkin.Metadata.Types.SpecRun" "napkin-0.5.11-LzNtVzWpCFCrZQk4T3eyK" 'True) (C1 ('MetaCons "Pennies" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int64)))

newtype SpecRunId #

Each run of the spec for a table is captured

Constructors

SpecRunId UUID 

Instances

Instances details
Eq SpecRunId # 
Instance details

Defined in Napkin.Metadata.Types.SpecRun

Show SpecRunId # 
Instance details

Defined in Napkin.Metadata.Types.SpecRun

BeamSqlBackend bk => HasSqlEqualityCheck bk SpecRunId # 
Instance details

Defined in Napkin.Metadata.Types

HasSqlValueSyntax bk UUID => HasSqlValueSyntax bk SpecRunId # 
Instance details

Defined in Napkin.Metadata.Types

Methods

sqlValueSyntax :: SpecRunId -> bk #

(BeamMigrateSqlBackend bk, FromBackendRow bk UUID) => FromBackendRow bk SpecRunId # 
Instance details

Defined in Napkin.Metadata.Types

(HasDefaultSqlDataType bk UUID, BeamMigrateSqlBackend bk) => HasDefaultSqlDataType bk SpecRunId # 
Instance details

Defined in Napkin.Metadata.Types

DataTypeForBackend bk UUID => DataTypeForBackend bk SpecRunId # 
Instance details

Defined in Napkin.Metadata.Migrations

Methods

dbType :: DataType bk SpecRunId #

data SpecRunT f #

Constructors

SpecRun 

Fields

Instances

Instances details
Eq SpecRun # 
Instance details

Defined in Napkin.Metadata.Types.SpecRun

Methods

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

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

Eq SpecRunEntryId # 
Instance details

Defined in Napkin.Metadata.Types

Show SpecRun # 
Instance details

Defined in Napkin.Metadata.Types.SpecRun

Show SpecRunEntryId # 
Instance details

Defined in Napkin.Metadata.Types

ToJSON SpecRun # 
Instance details

Defined in Napkin.Metadata.Types.SpecRun

Table SpecRunT # 
Instance details

Defined in Napkin.Metadata.Types

Associated Types

data PrimaryKey SpecRunT column #

Methods

primaryKey :: forall (column :: Type -> Type). SpecRunT column -> PrimaryKey SpecRunT column #

Beamable SpecRunT # 
Instance details

Defined in Napkin.Metadata.Types.SpecRun

Methods

zipBeamFieldsM :: forall m (f :: Type -> Type) (g :: Type -> Type) (h :: Type -> Type). Applicative m => (forall a. Columnar' f a -> Columnar' g a -> m (Columnar' h a)) -> SpecRunT f -> SpecRunT g -> m (SpecRunT h) #

tblSkeleton :: TableSkeleton SpecRunT #

ToObject SpecRun # 
Instance details

Defined in Napkin.Metadata.Types.SpecRun

Methods

toObject :: SpecRun -> Object #

LogItem SpecRun # 
Instance details

Defined in Napkin.Metadata.Types.SpecRun

Generic (SpecRunT f) # 
Instance details

Defined in Napkin.Metadata.Types.SpecRun

Associated Types

type Rep (SpecRunT f) :: Type -> Type #

Methods

from :: SpecRunT f -> Rep (SpecRunT f) x #

to :: Rep (SpecRunT f) x -> SpecRunT f #

Beamable (PrimaryKey SpecRunT) # 
Instance details

Defined in Napkin.Metadata.Types

Methods

zipBeamFieldsM :: forall m (f :: Type -> Type) (g :: Type -> Type) (h :: Type -> Type). Applicative m => (forall a. Columnar' f a -> Columnar' g a -> m (Columnar' h a)) -> PrimaryKey SpecRunT f -> PrimaryKey SpecRunT g -> m (PrimaryKey SpecRunT h) #

tblSkeleton :: TableSkeleton (PrimaryKey SpecRunT) #

Show (PrimaryKey SpecRunT (Nullable Identity)) # 
Instance details

Defined in Napkin.Metadata.Types

Generic (PrimaryKey SpecRunT f) # 
Instance details

Defined in Napkin.Metadata.Types

Associated Types

type Rep (PrimaryKey SpecRunT f) :: Type -> Type #

data PrimaryKey SpecRunT f # 
Instance details

Defined in Napkin.Metadata.Types

type Rep (SpecRunT f) # 
Instance details

Defined in Napkin.Metadata.Types.SpecRun

type Rep (SpecRunT f) = D1 ('MetaData "SpecRunT" "Napkin.Metadata.Types.SpecRun" "napkin-0.5.11-LzNtVzWpCFCrZQk4T3eyK" 'False) (C1 ('MetaCons "SpecRun" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "srEntryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (C f UUID)) :*: S1 ('MetaSel ('Just "srApp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (C f AppName))) :*: (S1 ('MetaSel ('Just "srPipeline") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (C f Pipeline)) :*: S1 ('MetaSel ('Just "srRunId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (C f SpecRunId)))) :*: ((S1 ('MetaSel ('Just "srTable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (C f (Ref Table))) :*: S1 ('MetaSel ('Just "srStarted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (C f UTCTime))) :*: (S1 ('MetaSel ('Just "srComplete") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (C f (Maybe UTCTime))) :*: (S1 ('MetaSel ('Just "srAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (C f (Maybe Text))) :*: S1 ('MetaSel ('Just "srError") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (C f (Maybe Text))))))) :*: (((S1 ('MetaSel ('Just "srRowsAffected") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (C f (Maybe Int64))) :*: S1 ('MetaSel ('Just "srBytesAffected") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (C f (Maybe Int64)))) :*: (S1 ('MetaSel ('Just "srCost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (C f (Maybe Pennies))) :*: S1 ('MetaSel ('Just "srServerTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (C f (Maybe Int64))))) :*: ((S1 ('MetaSel ('Just "srHookRowsAffected") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (C f (Maybe Int64))) :*: S1 ('MetaSel ('Just "srHookBytesAffected") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (C f (Maybe Int64)))) :*: (S1 ('MetaSel ('Just "srHookCost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (C f (Maybe Pennies))) :*: (S1 ('MetaSel ('Just "srHookServerTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (C f (Maybe Int64))) :*: S1 ('MetaSel ('Just "srDeps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (C f (Maybe (Showing DepChain))))))))))
type Rep (PrimaryKey SpecRunT f) # 
Instance details

Defined in Napkin.Metadata.Types

type Rep (PrimaryKey SpecRunT f) = D1 ('MetaData "PrimaryKey" "Napkin.Metadata.Types" "napkin-0.5.11-LzNtVzWpCFCrZQk4T3eyK" 'False) (C1 ('MetaCons "SpecRunEntryId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (C f UUID))))

data SpecTarget #

Constructors

SpecTable 
SpecView 

Instances

Instances details
Eq SpecTarget # 
Instance details

Defined in Napkin.Metadata.Types.SpecRun

Data SpecTarget # 
Instance details

Defined in Napkin.Metadata.Types.SpecRun

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SpecTarget -> c SpecTarget #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SpecTarget #

toConstr :: SpecTarget -> Constr #

dataTypeOf :: SpecTarget -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SpecTarget) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SpecTarget) #

gmapT :: (forall b. Data b => b -> b) -> SpecTarget -> SpecTarget #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SpecTarget -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SpecTarget -> r #

gmapQ :: (forall d. Data d => d -> u) -> SpecTarget -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SpecTarget -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SpecTarget -> m SpecTarget #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SpecTarget -> m SpecTarget #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SpecTarget -> m SpecTarget #

Show SpecTarget # 
Instance details

Defined in Napkin.Metadata.Types.SpecRun