Safe Haskell | None |
---|---|
Language | GHC2021 |
Documentation
class ReifiesBackend b => Backend b #
Instances
class Command command return backend | backend command -> return #
Instances
Command AEDA TableDiagnostics BigQuery # | |
Defined in Napkin.Run.BigQuery execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> AEDA -> m TableDiagnostics # | |
Command AEDA TableDiagnostics MsSql # | |
Defined in Napkin.Run.MsSql execCommand :: MonadNapkin MsSql m => BackendConn MsSql -> AEDA -> m TableDiagnostics # | |
Command AEDA TableDiagnostics Postgres # | |
Defined in Napkin.Run.Postgres execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> AEDA -> m TableDiagnostics # | |
Command AEDA TableDiagnostics Redshift # | |
Defined in Napkin.Run.Redshift execCommand :: MonadNapkin Redshift m => BackendConn Redshift -> AEDA -> m TableDiagnostics # | |
Command AEDA TableDiagnostics Sqlite # | |
Defined in Napkin.Run.Sqlite execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> AEDA -> m TableDiagnostics # | |
Command AnnotateCommand () BigQuery # | |
Defined in Napkin.Run.BigQuery execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> AnnotateCommand -> m () # | |
Command AnnotateCommand () MsSql # | |
Defined in Napkin.Run.MsSql execCommand :: MonadNapkin MsSql m => BackendConn MsSql -> AnnotateCommand -> m () # | |
Command AnnotateCommand () Postgres # | |
Defined in Napkin.Run.Postgres execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> AnnotateCommand -> m () # | |
Command AnnotateCommand () Redshift # | |
Defined in Napkin.Run.Redshift execCommand :: MonadNapkin Redshift m => BackendConn Redshift -> AnnotateCommand -> m () # | |
Command AnnotateCommand () Sqlite # | |
Defined in Napkin.Run.Sqlite execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> AnnotateCommand -> m () # | |
Command CheckTableExists Bool BigQuery # | |
Defined in Napkin.Run.BigQuery execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> CheckTableExists -> m Bool # | |
Command CheckTableExists Bool MsSql # | |
Defined in Napkin.Run.MsSql execCommand :: MonadNapkin MsSql m => BackendConn MsSql -> CheckTableExists -> m Bool # | |
Command CheckTableExists Bool Postgres # | |
Defined in Napkin.Run.Postgres execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> CheckTableExists -> m Bool # | |
Command CheckTableExists Bool Redshift # | |
Defined in Napkin.Run.Redshift execCommand :: MonadNapkin Redshift m => BackendConn Redshift -> CheckTableExists -> m Bool # | |
Command CheckTableExists Bool Sqlite # | |
Defined in Napkin.Run.Sqlite execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> CheckTableExists -> m Bool # | |
Command CopyTable () BigQuery # | |
Defined in Napkin.Run.BigQuery execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> CopyTable -> m () # | |
Command CopyTable () MsSql # | |
Defined in Napkin.Run.MsSql execCommand :: MonadNapkin MsSql m => BackendConn MsSql -> CopyTable -> m () # | |
Command CopyTable () Postgres # | |
Defined in Napkin.Run.Postgres execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> CopyTable -> m () # | |
Command CopyTable () Redshift # | |
Defined in Napkin.Run.Redshift execCommand :: MonadNapkin Redshift m => BackendConn Redshift -> CopyTable -> m () # | |
Command CopyTable () Sqlite # | |
Defined in Napkin.Run.Sqlite execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> CopyTable -> m () # | |
Command DeleteFrom () BigQuery # | |
Defined in Napkin.Run.BigQuery execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> DeleteFrom -> m () # | |
Command DeleteFrom () MsSql # | |
Defined in Napkin.Run.MsSql execCommand :: MonadNapkin MsSql m => BackendConn MsSql -> DeleteFrom -> m () # | |
Command DeleteFrom () Postgres # | |
Defined in Napkin.Run.Postgres execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> DeleteFrom -> m () # | |
Command DeleteFrom () Redshift # | |
Defined in Napkin.Run.Redshift execCommand :: MonadNapkin Redshift m => BackendConn Redshift -> DeleteFrom -> m () # | |
Command DeleteFrom () Sqlite # | |
Defined in Napkin.Run.Sqlite execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> DeleteFrom -> m () # | |
Command DropTable () BigQuery # | |
Defined in Napkin.Run.BigQuery execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> DropTable -> m () # | |
Command DropTable () MsSql # | |
Defined in Napkin.Run.MsSql execCommand :: MonadNapkin MsSql m => BackendConn MsSql -> DropTable -> m () # | |
Command DropTable () Postgres # | |
Defined in Napkin.Run.Postgres execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> DropTable -> m () # | |
Command DropTable () Redshift # | |
Defined in Napkin.Run.Redshift execCommand :: MonadNapkin Redshift m => BackendConn Redshift -> DropTable -> m () # | |
Command DropTable () Sqlite # | |
Defined in Napkin.Run.Sqlite execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> DropTable -> m () # | |
Command DropView () BigQuery # | |
Defined in Napkin.Run.BigQuery execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> DropView -> m () # | |
Command DropView () MsSql # | |
Defined in Napkin.Run.MsSql execCommand :: MonadNapkin MsSql m => BackendConn MsSql -> DropView -> m () # | |
Command DropView () Postgres # | |
Defined in Napkin.Run.Postgres execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> DropView -> m () # | |
Command DropView () Redshift # | |
Defined in Napkin.Run.Redshift execCommand :: MonadNapkin Redshift m => BackendConn Redshift -> DropView -> m () # | |
Command DropView () Sqlite # | |
Defined in Napkin.Run.Sqlite execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> DropView -> m () # | |
Command GetTableKind TableKind BigQuery # | |
Defined in Napkin.Run.BigQuery execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> GetTableKind -> m TableKind # | |
Command GetTableKind TableKind MsSql # | |
Defined in Napkin.Run.MsSql execCommand :: MonadNapkin MsSql m => BackendConn MsSql -> GetTableKind -> m TableKind # | |
Command GetTableKind TableKind Postgres # | |
Defined in Napkin.Run.Postgres execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> GetTableKind -> m TableKind # | |
Command GetTableKind TableKind Redshift # | |
Defined in Napkin.Run.Redshift execCommand :: MonadNapkin Redshift m => BackendConn Redshift -> GetTableKind -> m TableKind # | |
Command GetTableKind TableKind Sqlite # | |
Defined in Napkin.Run.Sqlite execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> GetTableKind -> m TableKind # | |
Command InsertIntoQuery () BigQuery # | |
Defined in Napkin.Run.BigQuery execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> InsertIntoQuery -> m () # | |
Command InsertIntoQuery () MsSql # | |
Defined in Napkin.Run.MsSql execCommand :: MonadNapkin MsSql m => BackendConn MsSql -> InsertIntoQuery -> m () # | |
Command InsertIntoQuery () Postgres # | |
Defined in Napkin.Run.Postgres execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> InsertIntoQuery -> m () # | |
Command InsertIntoQuery () Redshift # | |
Defined in Napkin.Run.Redshift execCommand :: MonadNapkin Redshift m => BackendConn Redshift -> InsertIntoQuery -> m () # | |
Command InsertIntoQuery () Sqlite # | |
Defined in Napkin.Run.Sqlite execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> InsertIntoQuery -> m () # | |
Command InsertIntoTable () BigQuery # | |
Defined in Napkin.Run.BigQuery execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> InsertIntoTable -> m () # | |
Command InsertIntoTable () MsSql # | |
Defined in Napkin.Run.MsSql execCommand :: MonadNapkin MsSql m => BackendConn MsSql -> InsertIntoTable -> m () # | |
Command InsertIntoTable () Postgres # | |
Defined in Napkin.Run.Postgres execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> InsertIntoTable -> m () # | |
Command InsertIntoTable () Redshift # | |
Defined in Napkin.Run.Redshift execCommand :: MonadNapkin Redshift m => BackendConn Redshift -> InsertIntoTable -> m () # | |
Command InsertIntoTable () Sqlite # | |
Defined in Napkin.Run.Sqlite execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> InsertIntoTable -> m () # | |
Command ReadAnnotationCommand TableAnnotations BigQuery # | |
Defined in Napkin.Run.BigQuery execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> ReadAnnotationCommand -> m TableAnnotations # | |
Command ReadAnnotationCommand TableAnnotations MsSql # | |
Defined in Napkin.Run.MsSql execCommand :: MonadNapkin MsSql m => BackendConn MsSql -> ReadAnnotationCommand -> m TableAnnotations # | |
Command ReadAnnotationCommand TableAnnotations Postgres # | |
Defined in Napkin.Run.Postgres execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> ReadAnnotationCommand -> m TableAnnotations # | |
Command ReadAnnotationCommand TableAnnotations Redshift # | |
Defined in Napkin.Run.Redshift execCommand :: MonadNapkin Redshift m => BackendConn Redshift -> ReadAnnotationCommand -> m TableAnnotations # | |
Command ReadAnnotationCommand TableAnnotations Sqlite # | |
Defined in Napkin.Run.Sqlite execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> ReadAnnotationCommand -> m TableAnnotations # | |
Command RenameTable () BigQuery # | BQ implements rename via copy-then-drop |
Defined in Napkin.Run.BigQuery execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> RenameTable -> m () # | |
Command RenameTable () MsSql # | |
Defined in Napkin.Run.MsSql execCommand :: MonadNapkin MsSql m => BackendConn MsSql -> RenameTable -> m () # | |
Command RenameTable () Postgres # | |
Defined in Napkin.Run.Postgres execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> RenameTable -> m () # | |
Command RenameTable () Redshift # | |
Defined in Napkin.Run.Redshift execCommand :: MonadNapkin Redshift m => BackendConn Redshift -> RenameTable -> m () # | |
Command RenameTable () Sqlite # | |
Defined in Napkin.Run.Sqlite execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> RenameTable -> m () # | |
Command Merge () BigQuery # | |
Defined in Napkin.Run.BigQuery.Merge execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> Merge -> m () # | |
Command Grant () BigQuery # | |
Defined in Napkin.Run.BigQuery execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> Grant -> m () # | |
Command Grant () MsSql # | |
Defined in Napkin.Run.MsSql execCommand :: MonadNapkin MsSql m => BackendConn MsSql -> Grant -> m () # | |
Command Grant () Postgres # | |
Defined in Napkin.Run.Postgres execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> Grant -> m () # | |
Command Grant () Redshift # | |
Defined in Napkin.Run.Redshift execCommand :: MonadNapkin Redshift m => BackendConn Redshift -> Grant -> m () # | |
Command Grant () Sqlite # | |
Defined in Napkin.Run.Sqlite execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> Grant -> m () # | |
Command UpdateQuery () BigQuery # | |
Defined in Napkin.Run.BigQuery execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> UpdateQuery -> m () # | |
Command UpdateQuery () MsSql # | |
Defined in Napkin.Run.MsSql execCommand :: MonadNapkin MsSql m => BackendConn MsSql -> UpdateQuery -> m () # | |
Command UpdateQuery () Postgres # | |
Defined in Napkin.Run.Postgres execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> UpdateQuery -> m () # | |
Command UpdateQuery () Redshift # | |
Defined in Napkin.Run.Redshift execCommand :: MonadNapkin Redshift m => BackendConn Redshift -> UpdateQuery -> m () # | |
Command UpdateQuery () Sqlite # | |
Defined in Napkin.Run.Sqlite execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> UpdateQuery -> m () # | |
Command GetRelationSchema [BackendSchemaField BigQuery] BigQuery # | |
Defined in Napkin.Run.BigQuery execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> GetRelationSchema -> m [BackendSchemaField BigQuery] # | |
Command GetRelationSchema [BackendSchemaField MsSql] MsSql # | |
Defined in Napkin.Run.MsSql execCommand :: MonadNapkin MsSql m => BackendConn MsSql -> GetRelationSchema -> m [BackendSchemaField MsSql] # | |
Command GetRelationSchema [BackendSchemaField Postgres] Postgres # | |
Defined in Napkin.Run.Postgres execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> GetRelationSchema -> m [BackendSchemaField Postgres] # | |
Command GetRelationSchema [BackendSchemaField Redshift] Redshift # | |
Defined in Napkin.Run.Redshift execCommand :: MonadNapkin Redshift m => BackendConn Redshift -> GetRelationSchema -> m [BackendSchemaField Redshift] # | |
Command GetRelationSchema [BackendSchemaField Sqlite] Sqlite # | |
Defined in Napkin.Run.Sqlite execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> GetRelationSchema -> m [BackendSchemaField Sqlite] # | |
Command ListTables (Set ListedTable) BigQuery # | |
Defined in Napkin.Run.BigQuery execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> ListTables -> m (Set ListedTable) # | |
Command ListTables (Set ListedTable) MsSql # | |
Defined in Napkin.Run.MsSql execCommand :: MonadNapkin MsSql m => BackendConn MsSql -> ListTables -> m (Set ListedTable) # | |
Command ListTables (Set ListedTable) Postgres # | |
Defined in Napkin.Run.Postgres execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> ListTables -> m (Set ListedTable) # | |
Command ListTables (Set ListedTable) Redshift # | |
Defined in Napkin.Run.Redshift execCommand :: MonadNapkin Redshift m => BackendConn Redshift -> ListTables -> m (Set ListedTable) # | |
Command ListTables (Set ListedTable) Sqlite # | |
Defined in Napkin.Run.Sqlite execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> ListTables -> m (Set ListedTable) # | |
Command NormalizeTableNames (Map (Ref Table) NormalizedTable) BigQuery # | |
Defined in Napkin.Run.BigQuery execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> NormalizeTableNames -> m (Map (Ref Table) NormalizedTable) # | |
Command NormalizeTableNames (Map (Ref Table) NormalizedTable) MsSql # | |
Defined in Napkin.Run.MsSql execCommand :: MonadNapkin MsSql m => BackendConn MsSql -> NormalizeTableNames -> m (Map (Ref Table) NormalizedTable) # | |
Command NormalizeTableNames (Map (Ref Table) NormalizedTable) Postgres # | |
Defined in Napkin.Run.Postgres execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> NormalizeTableNames -> m (Map (Ref Table) NormalizedTable) # | |
Command NormalizeTableNames (Map (Ref Table) NormalizedTable) Redshift # | |
Defined in Napkin.Run.Redshift execCommand :: MonadNapkin Redshift m => BackendConn Redshift -> NormalizeTableNames -> m (Map (Ref Table) NormalizedTable) # | |
Command NormalizeTableNames (Map (Ref Table) NormalizedTable) Sqlite # | |
Defined in Napkin.Run.Sqlite execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> NormalizeTableNames -> m (Map (Ref Table) NormalizedTable) # | |
Command (CreateMaterializedView MaterializedViewMeta) () BigQuery # | |
Defined in Napkin.Run.BigQuery execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> CreateMaterializedView MaterializedViewMeta -> m () # | |
Command (CreateMaterializedView MsSqlMaterializedViewMeta) () MsSql # | |
Defined in Napkin.Run.MsSql execCommand :: MonadNapkin MsSql m => BackendConn MsSql -> CreateMaterializedView MsSqlMaterializedViewMeta -> m () # | |
Command (CreateMaterializedView MaterializedViewMeta) () Postgres # | |
Defined in Napkin.Run.Postgres execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> CreateMaterializedView MaterializedViewMeta -> m () # | |
Command (CreateMaterializedView SqliteMaterializedViewMeta) () Sqlite # | |
Defined in Napkin.Run.Sqlite execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> CreateMaterializedView SqliteMaterializedViewMeta -> m () # | |
Command (CreateMaterializedView ()) () Redshift # | |
Defined in Napkin.Run.Redshift execCommand :: MonadNapkin Redshift m => BackendConn Redshift -> CreateMaterializedView () -> m () # | |
Command (CreateTable TableMeta) () BigQuery # | |
Defined in Napkin.Run.BigQuery execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> CreateTable TableMeta -> m () # | |
Command (CreateTable TableMeta) () MsSql # | |
Defined in Napkin.Run.MsSql execCommand :: MonadNapkin MsSql m => BackendConn MsSql -> CreateTable TableMeta -> m () # | |
Command (CreateTable TableMeta) () Postgres # | |
Defined in Napkin.Run.Postgres execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> CreateTable TableMeta -> m () # | |
Command (CreateTable TableMeta) () Redshift # | |
Defined in Napkin.Run.Redshift execCommand :: MonadNapkin Redshift m => BackendConn Redshift -> CreateTable TableMeta -> m () # | |
Command (CreateTable ()) () BigQuery # | |
Defined in Napkin.Run.BigQuery execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> CreateTable () -> m () # | |
Command (CreateTable ()) () Redshift # | |
Defined in Napkin.Run.Redshift execCommand :: MonadNapkin Redshift m => BackendConn Redshift -> CreateTable () -> m () # | |
Command (CreateTable ()) () Sqlite # | |
Defined in Napkin.Run.Sqlite execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> CreateTable () -> m () # | |
Command (CreateTableDDL TableMeta) () BigQuery # | |
Defined in Napkin.Run.BigQuery execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> CreateTableDDL TableMeta -> m () # | |
Command (CreateTableDDL TableMeta) () MsSql # | |
Defined in Napkin.Run.MsSql execCommand :: MonadNapkin MsSql m => BackendConn MsSql -> CreateTableDDL TableMeta -> m () # | |
Command (CreateTableDDL TableMeta) () Postgres # | |
Defined in Napkin.Run.Postgres execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> CreateTableDDL TableMeta -> m () # | |
Command (CreateTableDDL TableMeta) () Redshift # | |
Defined in Napkin.Run.Redshift execCommand :: MonadNapkin Redshift m => BackendConn Redshift -> CreateTableDDL TableMeta -> m () # | |
Command (CreateTableDDL ()) () Sqlite # | |
Defined in Napkin.Run.Sqlite execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> CreateTableDDL () -> m () # | |
Command (CreateView ViewMeta) () BigQuery # | |
Defined in Napkin.Run.BigQuery execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> CreateView ViewMeta -> m () # | |
Command (CreateView ()) () MsSql # | |
Defined in Napkin.Run.MsSql execCommand :: MonadNapkin MsSql m => BackendConn MsSql -> CreateView () -> m () # | |
Command (CreateView ()) () Postgres # | |
Defined in Napkin.Run.Postgres execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> CreateView () -> m () # | |
Command (CreateView ()) () Redshift # | |
Defined in Napkin.Run.Redshift execCommand :: MonadNapkin Redshift m => BackendConn Redshift -> CreateView () -> m () # | |
Command (CreateView ()) () Sqlite # | |
Defined in Napkin.Run.Sqlite execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> CreateView () -> m () # |
sqliteUriSyntax :: Text -> IO FilePath #
:: ConnectionString | |
-> (BackendConn Sqlite -> IO b) | sqlite uri |
-> IO b |
data family BackendSchemaField (bk :: k) #
Instances
Command GetRelationSchema [BackendSchemaField BigQuery] BigQuery # | |
Defined in Napkin.Run.BigQuery execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> GetRelationSchema -> m [BackendSchemaField BigQuery] # | |
Command GetRelationSchema [BackendSchemaField MsSql] MsSql # | |
Defined in Napkin.Run.MsSql execCommand :: MonadNapkin MsSql m => BackendConn MsSql -> GetRelationSchema -> m [BackendSchemaField MsSql] # | |
Command GetRelationSchema [BackendSchemaField Postgres] Postgres # | |
Defined in Napkin.Run.Postgres execCommand :: MonadNapkin Postgres m => BackendConn Postgres -> GetRelationSchema -> m [BackendSchemaField Postgres] # | |
Command GetRelationSchema [BackendSchemaField Redshift] Redshift # | |
Defined in Napkin.Run.Redshift execCommand :: MonadNapkin Redshift m => BackendConn Redshift -> GetRelationSchema -> m [BackendSchemaField Redshift] # | |
Command GetRelationSchema [BackendSchemaField Sqlite] Sqlite # | |
Defined in Napkin.Run.Sqlite execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> GetRelationSchema -> m [BackendSchemaField Sqlite] # | |
Show (BackendSchemaField BigQuery) # | |
Defined in Napkin.Run.BigQuery | |
Show (BackendSchemaField MsSql) # | |
Defined in Napkin.Run.MsSql | |
Show (BackendSchemaField Postgres) # | |
Defined in Napkin.Run.Postgres | |
Show (BackendSchemaField Redshift) # | |
Defined in Napkin.Run.Redshift | |
Show (BackendSchemaField Sqlite) # | |
Defined in Napkin.Run.Sqlite | |
Eq (BackendSchemaField BigQuery) # | |
Defined in Napkin.Run.BigQuery | |
Eq (BackendSchemaField MsSql) # | |
Defined in Napkin.Run.MsSql (==) :: BackendSchemaField MsSql -> BackendSchemaField MsSql -> Bool # (/=) :: BackendSchemaField MsSql -> BackendSchemaField MsSql -> Bool # | |
Eq (BackendSchemaField Postgres) # | |
Defined in Napkin.Run.Postgres | |
Eq (BackendSchemaField Redshift) # | |
Defined in Napkin.Run.Redshift | |
Eq (BackendSchemaField Sqlite) # | |
Defined in Napkin.Run.Sqlite (==) :: BackendSchemaField Sqlite -> BackendSchemaField Sqlite -> Bool # (/=) :: BackendSchemaField Sqlite -> BackendSchemaField Sqlite -> Bool # | |
FromRow (BackendSchemaField Sqlite) # | |
Defined in Napkin.Run.Sqlite | |
data BackendSchemaField BigQuery # | |
Defined in Napkin.Run.BigQuery | |
data BackendSchemaField MsSql # | |
Defined in Napkin.Run.MsSql | |
data BackendSchemaField Postgres # | |
Defined in Napkin.Run.Postgres | |
data BackendSchemaField Redshift # | |
Defined in Napkin.Run.Redshift | |
data BackendSchemaField Sqlite # | |
Defined in Napkin.Run.Sqlite data BackendSchemaField Sqlite = SqliteSchemaField {
|
getSchema :: MonadNapkin Sqlite m => BackendConn Sqlite -> Relation -> Ref Table -> m [BackendSchemaField Sqlite] #
data family DbBackendOptions b #
Instances
FromJSON (DbBackendOptions BigQuery) # | |||||
Defined in Napkin.Run.BigQuery.Types parseJSON :: Value -> Parser (DbBackendOptions BigQuery) # parseJSONList :: Value -> Parser [DbBackendOptions BigQuery] # | |||||
FromJSON (DbBackendOptions MsSql) # | |||||
Defined in Napkin.Run.MsSql parseJSON :: Value -> Parser (DbBackendOptions MsSql) # parseJSONList :: Value -> Parser [DbBackendOptions MsSql] # | |||||
FromJSON (DbBackendOptions Postgres) # | |||||
Defined in Napkin.Run.Postgres parseJSON :: Value -> Parser (DbBackendOptions Postgres) # parseJSONList :: Value -> Parser [DbBackendOptions Postgres] # | |||||
FromJSON (DbBackendOptions Redshift) # | |||||
Defined in Napkin.Run.Redshift parseJSON :: Value -> Parser (DbBackendOptions Redshift) # parseJSONList :: Value -> Parser [DbBackendOptions Redshift] # | |||||
FromJSON (DbBackendOptions Sqlite) # | |||||
Defined in Napkin.Run.Sqlite parseJSON :: Value -> Parser (DbBackendOptions Sqlite) # parseJSONList :: Value -> Parser [DbBackendOptions Sqlite] # | |||||
Generic (DbBackendOptions BigQuery) # | |||||
Defined in Napkin.Run.BigQuery.Types
from :: DbBackendOptions BigQuery -> Rep (DbBackendOptions BigQuery) x # to :: Rep (DbBackendOptions BigQuery) x -> DbBackendOptions BigQuery # | |||||
Generic (DbBackendOptions MsSql) # | |||||
Defined in Napkin.Run.MsSql
from :: DbBackendOptions MsSql -> Rep (DbBackendOptions MsSql) x # to :: Rep (DbBackendOptions MsSql) x -> DbBackendOptions MsSql # | |||||
Generic (DbBackendOptions Postgres) # | |||||
Defined in Napkin.Run.Postgres
from :: DbBackendOptions Postgres -> Rep (DbBackendOptions Postgres) x # to :: Rep (DbBackendOptions Postgres) x -> DbBackendOptions Postgres # | |||||
Generic (DbBackendOptions Redshift) # | |||||
Defined in Napkin.Run.Redshift
from :: DbBackendOptions Redshift -> Rep (DbBackendOptions Redshift) x # to :: Rep (DbBackendOptions Redshift) x -> DbBackendOptions Redshift # | |||||
Generic (DbBackendOptions Sqlite) # | |||||
Defined in Napkin.Run.Sqlite
from :: DbBackendOptions Sqlite -> Rep (DbBackendOptions Sqlite) x # to :: Rep (DbBackendOptions Sqlite) x -> DbBackendOptions Sqlite # | |||||
Show (DbBackendOptions BigQuery) # | |||||
Defined in Napkin.Run.BigQuery.Types | |||||
Show (DbBackendOptions MsSql) # | |||||
Defined in Napkin.Run.MsSql | |||||
Show (DbBackendOptions Postgres) # | |||||
Defined in Napkin.Run.Postgres | |||||
Show (DbBackendOptions Redshift) # | |||||
Defined in Napkin.Run.Redshift | |||||
Show (DbBackendOptions Sqlite) # | |||||
Defined in Napkin.Run.Sqlite | |||||
Default (DbBackendOptions BigQuery) # | |||||
Defined in Napkin.Run.BigQuery.Types | |||||
Default (DbBackendOptions MsSql) # | |||||
Defined in Napkin.Run.MsSql | |||||
Default (DbBackendOptions Postgres) # | |||||
Defined in Napkin.Run.Postgres | |||||
Default (DbBackendOptions Redshift) # | |||||
Defined in Napkin.Run.Redshift | |||||
Default (DbBackendOptions Sqlite) # | |||||
Defined in Napkin.Run.Sqlite | |||||
Eq (DbBackendOptions BigQuery) # | |||||
Defined in Napkin.Run.BigQuery.Types (==) :: DbBackendOptions BigQuery -> DbBackendOptions BigQuery -> Bool # (/=) :: DbBackendOptions BigQuery -> DbBackendOptions BigQuery -> Bool # | |||||
Eq (DbBackendOptions MsSql) # | |||||
Defined in Napkin.Run.MsSql (==) :: DbBackendOptions MsSql -> DbBackendOptions MsSql -> Bool # (/=) :: DbBackendOptions MsSql -> DbBackendOptions MsSql -> Bool # | |||||
Eq (DbBackendOptions Postgres) # | |||||
Defined in Napkin.Run.Postgres (==) :: DbBackendOptions Postgres -> DbBackendOptions Postgres -> Bool # (/=) :: DbBackendOptions Postgres -> DbBackendOptions Postgres -> Bool # | |||||
Eq (DbBackendOptions Redshift) # | |||||
Defined in Napkin.Run.Redshift (==) :: DbBackendOptions Redshift -> DbBackendOptions Redshift -> Bool # (/=) :: DbBackendOptions Redshift -> DbBackendOptions Redshift -> Bool # | |||||
Eq (DbBackendOptions Sqlite) # | |||||
Defined in Napkin.Run.Sqlite (==) :: DbBackendOptions Sqlite -> DbBackendOptions Sqlite -> Bool # (/=) :: DbBackendOptions Sqlite -> DbBackendOptions Sqlite -> Bool # | |||||
data DbBackendOptions BigQuery # | |||||
Defined in Napkin.Run.BigQuery.Types | |||||
newtype DbBackendOptions MsSql # | |||||
Defined in Napkin.Run.MsSql | |||||
newtype DbBackendOptions Postgres # | |||||
Defined in Napkin.Run.Postgres | |||||
newtype DbBackendOptions Redshift # | |||||
Defined in Napkin.Run.Redshift | |||||
data DbBackendOptions Sqlite # | |||||
Defined in Napkin.Run.Sqlite | |||||
type Rep (DbBackendOptions BigQuery) # | |||||
Defined in Napkin.Run.BigQuery.Types type Rep (DbBackendOptions BigQuery) = D1 ('MetaData "DbBackendOptions" "Napkin.Run.BigQuery.Types" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "BigQueryOptions" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Labels) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Seconds))))) | |||||
type Rep (DbBackendOptions MsSql) # | |||||
Defined in Napkin.Run.MsSql type Rep (DbBackendOptions MsSql) = D1 ('MetaData "DbBackendOptions" "Napkin.Run.MsSql" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'True) (C1 ('MetaCons "MsSqlOptions" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))) | |||||
type Rep (DbBackendOptions Postgres) # | |||||
Defined in Napkin.Run.Postgres type Rep (DbBackendOptions Postgres) = D1 ('MetaData "DbBackendOptions" "Napkin.Run.Postgres" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'True) (C1 ('MetaCons "PostgresOptions" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))) | |||||
type Rep (DbBackendOptions Redshift) # | |||||
Defined in Napkin.Run.Redshift type Rep (DbBackendOptions Redshift) = D1 ('MetaData "DbBackendOptions" "Napkin.Run.Redshift" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'True) (C1 ('MetaCons "RedshiftOptions" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural))) | |||||
type Rep (DbBackendOptions Sqlite) # | |||||
Orphan instances
Backend Sqlite # | |||||
backendQuery :: (MonadNapkin Sqlite m, RenderSql q Sqlite) => BackendConn Sqlite -> q -> m [Map Text Value] # backendConnectionString :: BackendConn Sqlite -> ConnectionString # | |||||
RunBackendConn Sqlite # | |||||
runBackendConn :: LogEnv -> DbBackendOptions Sqlite -> ConnectionString -> AppName -> Maybe CredentialsPath -> SpecFile -> Maybe AuthPort -> (Pipeline -> BackendConn Sqlite -> IO a) -> IO a # | |||||
FromField Value # | |||||
FromRow Text # | |||||
HasBackendSchemaField Sqlite # | |||||
fieldName :: BackendSchemaField Sqlite -> Text # fieldType :: BackendSchemaField Sqlite -> Type # | |||||
CSVImport Sqlite # | |||||
HasBackendQueryStats Sqlite # | |||||
| |||||
Command AEDA TableDiagnostics Sqlite # | |||||
execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> AEDA -> m TableDiagnostics # | |||||
Command AnnotateCommand () Sqlite # | |||||
execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> AnnotateCommand -> m () # | |||||
Command CheckTableExists Bool Sqlite # | |||||
execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> CheckTableExists -> m Bool # | |||||
Command CopyTable () Sqlite # | |||||
execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> CopyTable -> m () # | |||||
Command DeleteFrom () Sqlite # | |||||
execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> DeleteFrom -> m () # | |||||
Command DropTable () Sqlite # | |||||
execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> DropTable -> m () # | |||||
Command DropView () Sqlite # | |||||
execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> DropView -> m () # | |||||
Command GetTableKind TableKind Sqlite # | |||||
execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> GetTableKind -> m TableKind # | |||||
Command InsertIntoQuery () Sqlite # | |||||
execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> InsertIntoQuery -> m () # | |||||
Command InsertIntoTable () Sqlite # | |||||
execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> InsertIntoTable -> m () # | |||||
Command ReadAnnotationCommand TableAnnotations Sqlite # | |||||
execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> ReadAnnotationCommand -> m TableAnnotations # | |||||
Command RenameTable () Sqlite # | |||||
execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> RenameTable -> m () # | |||||
Command Grant () Sqlite # | |||||
execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> Grant -> m () # | |||||
Command UpdateQuery () Sqlite # | |||||
execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> UpdateQuery -> m () # | |||||
Command GetRelationSchema [BackendSchemaField Sqlite] Sqlite # | |||||
execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> GetRelationSchema -> m [BackendSchemaField Sqlite] # | |||||
Command ListTables (Set ListedTable) Sqlite # | |||||
execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> ListTables -> m (Set ListedTable) # | |||||
Command NormalizeTableNames (Map (Ref Table) NormalizedTable) Sqlite # | |||||
execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> NormalizeTableNames -> m (Map (Ref Table) NormalizedTable) # | |||||
FromJSON (DbBackendOptions Sqlite) # | |||||
parseJSON :: Value -> Parser (DbBackendOptions Sqlite) # parseJSONList :: Value -> Parser [DbBackendOptions Sqlite] # | |||||
Generic (DbBackendOptions Sqlite) # | |||||
from :: DbBackendOptions Sqlite -> Rep (DbBackendOptions Sqlite) x # to :: Rep (DbBackendOptions Sqlite) x -> DbBackendOptions Sqlite # | |||||
Show (DbBackendOptions Sqlite) # | |||||
Default (DbBackendOptions Sqlite) # | |||||
Eq (DbBackendOptions Sqlite) # | |||||
(==) :: DbBackendOptions Sqlite -> DbBackendOptions Sqlite -> Bool # (/=) :: DbBackendOptions Sqlite -> DbBackendOptions Sqlite -> Bool # | |||||
Command (CreateMaterializedView SqliteMaterializedViewMeta) () Sqlite # | |||||
execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> CreateMaterializedView SqliteMaterializedViewMeta -> m () # | |||||
Command (CreateTable ()) () Sqlite # | |||||
execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> CreateTable () -> m () # | |||||
Command (CreateTableDDL ()) () Sqlite # | |||||
execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> CreateTableDDL () -> m () # | |||||
Command (CreateView ()) () Sqlite # | |||||
execCommand :: MonadNapkin Sqlite m => BackendConn Sqlite -> CreateView () -> m () # | |||||
FromJSON (BackendQueryStats Sqlite) # | |||||
parseJSON :: Value -> Parser (BackendQueryStats Sqlite) # parseJSONList :: Value -> Parser [BackendQueryStats Sqlite] # | |||||
ToJSON (BackendQueryStats Sqlite) # | |||||
toJSON :: BackendQueryStats Sqlite -> Value # toEncoding :: BackendQueryStats Sqlite -> Encoding # toJSONList :: [BackendQueryStats Sqlite] -> Value # toEncodingList :: [BackendQueryStats Sqlite] -> Encoding # omitField :: BackendQueryStats Sqlite -> Bool # | |||||
Monoid (BackendQueryStats Sqlite) # | |||||
Semigroup (BackendQueryStats Sqlite) # | |||||
(<>) :: BackendQueryStats Sqlite -> BackendQueryStats Sqlite -> BackendQueryStats Sqlite # sconcat :: NonEmpty (BackendQueryStats Sqlite) -> BackendQueryStats Sqlite # stimes :: Integral b => b -> BackendQueryStats Sqlite -> BackendQueryStats Sqlite # | |||||
Generic (BackendQueryStats Sqlite) # | |||||
from :: BackendQueryStats Sqlite -> Rep (BackendQueryStats Sqlite) x # to :: Rep (BackendQueryStats Sqlite) x -> BackendQueryStats Sqlite # | |||||
Show (BackendSchemaField Sqlite) # | |||||
Show (BackendQueryStats Sqlite) # | |||||
Eq (BackendSchemaField Sqlite) # | |||||
(==) :: BackendSchemaField Sqlite -> BackendSchemaField Sqlite -> Bool # (/=) :: BackendSchemaField Sqlite -> BackendSchemaField Sqlite -> Bool # | |||||
Eq (BackendQueryStats Sqlite) # | |||||
(==) :: BackendQueryStats Sqlite -> BackendQueryStats Sqlite -> Bool # (/=) :: BackendQueryStats Sqlite -> BackendQueryStats Sqlite -> Bool # | |||||
FromRow (BackendSchemaField Sqlite) # | |||||