Copyright | (c) Soostone Inc 2020 |
---|---|
License | AllRightsReserved |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | GHC2021 |
Synopsis
- type SpecBackend bk = (Command (CreateView (BackendViewMeta bk)) () bk, Command (CreateMaterializedView (BackendMaterializedViewMeta bk)) () bk, Command CheckTableExists Bool bk, Command Grant () bk, Command (CreateTable (BackendTableMeta bk)) () bk, Command (CreateTableDDL (BackendTableMeta bk)) () bk, Command InsertIntoQuery () bk, Command DropView () bk, Command DropTable () bk, Command CopyTable () bk, Command DeleteFrom () bk, Command RenameTable () bk, Command UpdateQuery () bk, Command AnnotateCommand () bk, Command InsertIntoTable () bk, Command ReadAnnotationCommand TableAnnotations bk, Command GetTableKind TableKind bk, Command GetRelationSchema [BackendSchemaField bk] bk, Command ListTables (Set ListedTable) bk, Command NormalizeTableNames (Map (Ref Table) NormalizedTable) bk, Command AEDA TableDiagnostics bk, HasBackendSchemaField bk, RenderSql Query bk, RenderSql SExp bk, Backend bk, MustacheBackend bk, Typeable bk, RunBackendEffect bk, DumpBackendRequirements bk, HasBackendQueryStats bk, CSVImport bk)
- executeDAGSpec :: forall bk m. (MonadFix m, MonadMask m, Katip m, SpecBackend bk, HasBackendQueryStats bk, MonadReader (ComboEnv bk) m) => CondensedLogging -> DevSlow -> RuntimeEnv -> MetadataBeamConnection -> SpecRuntime bk -> RawInterpretedSpec bk -> TasksDAG Full bk -> (DAGRunState bk -> Task (Executable bk) -> TaskState bk -> IO ()) -> m (Success, DAGRunState bk)
Documentation
type SpecBackend bk = (Command (CreateView (BackendViewMeta bk)) () bk, Command (CreateMaterializedView (BackendMaterializedViewMeta bk)) () bk, Command CheckTableExists Bool bk, Command Grant () bk, Command (CreateTable (BackendTableMeta bk)) () bk, Command (CreateTableDDL (BackendTableMeta bk)) () bk, Command InsertIntoQuery () bk, Command DropView () bk, Command DropTable () bk, Command CopyTable () bk, Command DeleteFrom () bk, Command RenameTable () bk, Command UpdateQuery () bk, Command AnnotateCommand () bk, Command InsertIntoTable () bk, Command ReadAnnotationCommand TableAnnotations bk, Command GetTableKind TableKind bk, Command GetRelationSchema [BackendSchemaField bk] bk, Command ListTables (Set ListedTable) bk, Command NormalizeTableNames (Map (Ref Table) NormalizedTable) bk, Command AEDA TableDiagnostics bk, HasBackendSchemaField bk, RenderSql Query bk, RenderSql SExp bk, Backend bk, MustacheBackend bk, Typeable bk, RunBackendEffect bk, DumpBackendRequirements bk, HasBackendQueryStats bk, CSVImport bk) #
What we seem to need to be able to call executeSpec
; it's
basically all about choosing a backend that satisfies the
needed operations.
| What we seem to need to be able to call executeSpec
; it's
basically all about choosing a backend that satisfies the
needed operations.
executeDAGSpec :: forall bk m. (MonadFix m, MonadMask m, Katip m, SpecBackend bk, HasBackendQueryStats bk, MonadReader (ComboEnv bk) m) => CondensedLogging -> DevSlow -> RuntimeEnv -> MetadataBeamConnection -> SpecRuntime bk -> RawInterpretedSpec bk -> TasksDAG Full bk -> (DAGRunState bk -> Task (Executable bk) -> TaskState bk -> IO ()) -> m (Success, DAGRunState bk) #