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

Napkin.Run.Base

Description

 

Documentation

class ReifiesBackend b => Backend b where #

Associated Types

data BackendConn b #

Instances

Instances details
Backend BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Associated Types

data BackendConn BigQuery #

Backend MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Associated Types

data BackendConn MsSql #

Backend Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Associated Types

data BackendConn Postgres #

Backend Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Associated Types

data BackendConn Redshift #

Backend Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Associated Types

data BackendConn Sqlite #

class HasBackendQueryStats b => LocalQueryStats b m where #

Methods

tellStats :: QueryStats b -> m () #

Instances

Instances details
HasBackendQueryStats b => LocalQueryStats (b :: k) IO # 
Instance details

Defined in Napkin.Run.Base

Methods

tellStats :: QueryStats b -> IO () #

HasBackendQueryStats b => LocalQueryStats (b :: k) (KatipT IO) # 
Instance details

Defined in Napkin.Run.Base

Methods

tellStats :: QueryStats b -> KatipT IO () #

HasBackendQueryStats backend => LocalQueryStats (backend :: k) (ReaderT (IORef (QueryStats backend)) (KatipT IO)) # 
Instance details

Defined in Napkin.Run.Base

Methods

tellStats :: QueryStats backend -> ReaderT (IORef (QueryStats backend)) (KatipT IO) () #

class Command command return backend | backend command -> return where #

Methods

execCommand :: MonadNapkin backend m => BackendConn backend -> command -> m return #

Instances

Instances details
Command AEDA TableDiagnostics BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command AEDA TableDiagnostics MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command AEDA TableDiagnostics Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command AEDA TableDiagnostics Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command AEDA TableDiagnostics Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command AnnotateCommand () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command AnnotateCommand () MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command AnnotateCommand () Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command AnnotateCommand () Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command AnnotateCommand () Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command CheckTableExists Bool BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command CheckTableExists Bool MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command CheckTableExists Bool Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command CheckTableExists Bool Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command CheckTableExists Bool Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command CopyTable () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command CopyTable () MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command CopyTable () Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command CopyTable () Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command CopyTable () Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command DeleteFrom () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command DeleteFrom () MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command DeleteFrom () Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command DeleteFrom () Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command DeleteFrom () Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command DropTable () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command DropTable () MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command DropTable () Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command DropTable () Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command DropTable () Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command DropView () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command DropView () MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command DropView () Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command DropView () Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command DropView () Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command GetTableKind TableKind BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command GetTableKind TableKind MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command GetTableKind TableKind Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command GetTableKind TableKind Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command GetTableKind TableKind Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command InsertIntoQuery () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command InsertIntoQuery () MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command InsertIntoQuery () Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command InsertIntoQuery () Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command InsertIntoQuery () Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command ReadAnnotationCommand TableAnnotations BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command ReadAnnotationCommand TableAnnotations MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command ReadAnnotationCommand TableAnnotations Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command ReadAnnotationCommand TableAnnotations Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command ReadAnnotationCommand TableAnnotations Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command RenameTable () BigQuery #

BQ implements rename via copy-then-drop

Instance details

Defined in Napkin.Run.BigQuery

Command RenameTable () MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command RenameTable () Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command RenameTable () Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command RenameTable () Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command Grant () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command Grant () MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command Grant () Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command Grant () Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command Grant () Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command UpdateQuery () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command UpdateQuery () MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command UpdateQuery () Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command UpdateQuery () Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command UpdateQuery () Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command GetRelationSchema [BackendSchemaField BigQuery] BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command GetRelationSchema [BackendSchemaField MsSql] MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command GetRelationSchema [BackendSchemaField Postgres] Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command GetRelationSchema [BackendSchemaField Redshift] Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command GetRelationSchema [BackendSchemaField Sqlite] Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command ListTables (Set ListedTable) BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command ListTables (Set ListedTable) MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command ListTables (Set ListedTable) Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command ListTables (Set ListedTable) Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command ListTables (Set ListedTable) Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command NormalizeTableNames (Map (Ref Table) NormalizedTable) BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command NormalizeTableNames (Map (Ref Table) NormalizedTable) MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command NormalizeTableNames (Map (Ref Table) NormalizedTable) Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command NormalizeTableNames (Map (Ref Table) NormalizedTable) Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command NormalizeTableNames (Map (Ref Table) NormalizedTable) Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command (CreateMaterializedView MaterializedViewMeta) () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command (CreateMaterializedView MsSqlMaterializedViewMeta) () MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command (CreateMaterializedView MaterializedViewMeta) () Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command (CreateMaterializedView SqliteMaterializedViewMeta) () Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command (CreateMaterializedView ()) () Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command (CreateTable TableMeta) () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command (CreateTable TableMeta) () MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command (CreateTable TableMeta) () Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command (CreateTable TableMeta) () Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command (CreateTable ()) () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command (CreateTable ()) () Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command (CreateTable ()) () Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

Command (CreateView ViewMeta) () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command (CreateView ()) () MsSql # 
Instance details

Defined in Napkin.Run.MsSql

Command (CreateView ()) () Postgres # 
Instance details

Defined in Napkin.Run.Postgres

Command (CreateView ()) () Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Command (CreateView ()) () Sqlite # 
Instance details

Defined in Napkin.Run.Sqlite

discardQueryStats :: Katip m => KatipT IO a -> m a #