napkin-backend-postgres-redshift-2.0.0
Safe HaskellNone
LanguageGHC2024

Napkin.Run.Redshift

Synopsis

Redshift Re-exports

data family BackendSchemaField (bk :: k) #

Instances

Instances details
Show (BackendSchemaField Postgres) # 
Instance details

Defined in Napkin.Run.Postgres

Show (BackendSchemaField Redshift) # 
Instance details

Defined in Napkin.Run.Redshift

Eq (BackendSchemaField Postgres) # 
Instance details

Defined in Napkin.Run.Postgres

Eq (BackendSchemaField Redshift) # 
Instance details

Defined in Napkin.Run.Redshift

FromRow (BackendSchemaField Postgres) # 
Instance details

Defined in Napkin.Run.Postgres

FromRow (BackendSchemaField Redshift) # 
Instance details

Defined in Napkin.Run.Redshift

data BackendSchemaField Postgres # 
Instance details

Defined in Napkin.Run.Postgres

data BackendSchemaField Redshift # 
Instance details

Defined in Napkin.Run.Redshift

Orphan instances

HasPostgresConn Redshift # 
Instance details

Backend Redshift # 
Instance details

Associated Types

data BackendConn Redshift 
Instance details

Defined in Napkin.Run.Redshift

Methods

backendConnectionString :: BackendConn Redshift -> ConnectionString #

backendExecute :: (MonadNapkin Redshift m, RenderSql command Redshift) => BackendConn Redshift -> command -> m () #

backendQuery :: (MonadNapkin Redshift m, RenderSql q Redshift) => BackendConn Redshift -> q -> m [Map Text Value] #

backendCheckTableExists :: MonadNapkin Redshift m => BackendConn Redshift -> Ref Table -> m Bool #

backendGetTableKind :: MonadNapkin Redshift m => BackendConn Redshift -> Ref Table -> m TableKind #

backendGetRelationSchema :: MonadNapkin Redshift m => BackendConn Redshift -> Ref Table -> Relation -> m [BackendSchemaField Redshift] #

backendGetAnnotations :: MonadNapkin Redshift m => BackendConn Redshift -> Ref Table -> m TableAnnotations #

backendAnnotate :: MonadNapkin Redshift m => BackendConn Redshift -> Ref Table -> Annotation -> m () #

backendCreateAs :: (command ~ CreateRelation Redshift, RenderSql command Redshift, MonadNapkin Redshift m) => BackendConn Redshift -> command -> m () #

backendCreate :: (command ~ CreateTableSchema Redshift, RenderSql command Redshift, MonadNapkin Redshift m) => BackendConn Redshift -> command -> m () #

backendCopyTable :: (MonadNapkin Redshift m, RenderSql DeleteRows Redshift, RenderSql InsertInto Redshift, RenderSql (CreateRelation Redshift) Redshift, Default (BackendMeta 'KindTable Redshift)) => BackendConn Redshift -> Ref Table -> Ref Table -> TableWriteStrategy -> m () #

backendDrop :: MonadNapkin Redshift m => BackendConn Redshift -> DropRelation -> m () #

backendInsertInto :: (command ~ InsertInto, RenderSql command Redshift, MonadNapkin Redshift m) => BackendConn Redshift -> command -> m () #

backendRename :: MonadNapkin Redshift m => BackendConn Redshift -> RenameRelation -> m () #

backendListTables :: MonadNapkin Redshift m => BackendConn Redshift -> ListTables -> m (Set ListedTable) #

backendNormalize :: MonadNapkin Redshift m => BackendConn Redshift -> NormalizeTableNames -> m (Map (Ref Table) NormalizedTable) #

RunBackendConn Redshift # 
Instance details

CSVImport Redshift # 
Instance details

HasBackendSchemaField Redshift # 
Instance details

HasBackendQueryStats Redshift # 
Instance details

Associated Types

data BackendQueryStats Redshift 
Instance details

Defined in Napkin.Run.Redshift

FromJSON (DbBackendOptions Redshift) # 
Instance details

Default (DbBackendOptions Redshift) # 
Instance details

Generic (DbBackendOptions Redshift) # 
Instance details

Associated Types

type Rep (DbBackendOptions Redshift) 
Instance details

Defined in Napkin.Run.Redshift

type Rep (DbBackendOptions Redshift) = D1 ('MetaData "DbBackendOptions" "Napkin.Run.Redshift" "napkin-backend-postgres-redshift-2.0.0-J3UFNsryji7KyuggPsq12S" 'True) (C1 ('MetaCons "RedshiftOptions" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Natural)))
Show (DbBackendOptions Redshift) # 
Instance details

Eq (DbBackendOptions Redshift) # 
Instance details

FromJSON (BackendQueryStats Redshift) # 
Instance details

ToJSON (BackendQueryStats Redshift) # 
Instance details

Monoid (BackendQueryStats Redshift) # 
Instance details

Semigroup (BackendQueryStats Redshift) # 
Instance details

Generic (BackendQueryStats Redshift) # 
Instance details

Associated Types

type Rep (BackendQueryStats Redshift) 
Instance details

Defined in Napkin.Run.Redshift

type Rep (BackendQueryStats Redshift) = D1 ('MetaData "BackendQueryStats" "Napkin.Run.Redshift" "napkin-backend-postgres-redshift-2.0.0-J3UFNsryji7KyuggPsq12S" 'False) (C1 ('MetaCons "BackendQueryStats" 'PrefixI 'False) (U1 :: Type -> Type))
Show (BackendSchemaField Redshift) # 
Instance details

Show (BackendQueryStats Redshift) # 
Instance details

Eq (BackendSchemaField Redshift) # 
Instance details

Eq (BackendQueryStats Redshift) # 
Instance details

FromRow (BackendSchemaField Redshift) # 
Instance details