Safe Haskell | None |
---|---|
Language | GHC2021 |
Documentation
newtype BigQueryRunError #
Instances
Exception BigQueryRunError # | |
Defined in Napkin.Run.BigQuery.Types | |
Show BigQueryRunError # | |
Defined in Napkin.Run.BigQuery.Types showsPrec :: Int -> BigQueryRunError -> ShowS # show :: BigQueryRunError -> String # showList :: [BigQueryRunError] -> ShowS # | |
Eq BigQueryRunError # | |
Defined in Napkin.Run.BigQuery.Types (==) :: BigQueryRunError -> BigQueryRunError -> Bool # (/=) :: BigQueryRunError -> BigQueryRunError -> Bool # |
data family BackendConn b #
Instances
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 {
|
mkBigQueryEnvWithCredentials :: (MonadCatch m, Katip m) => Maybe Text -> Credentials BigQueryScopes -> DbBackendOptions BigQuery -> BQProjectId -> m (BackendConn BigQuery) #
mkBigQueryEnvWithJsonCredentials :: (MonadCatch m, Katip m) => Maybe Text -> CredentialsJson -> DbBackendOptions BigQuery -> BQProjectId -> m (BackendConn BigQuery) #
mkBigQueryEnvWithCredentialsFile :: (MonadCatch m, Katip m) => FilePath -> DbBackendOptions BigQuery -> BQProjectId -> m (BackendConn BigQuery) #
bqValidator :: (SpecDependency -> Ref Table) -> SpecsDeps -> [Text] #
parseBigQueryURI :: Text -> Maybe BigQueryURI #
data BigQueryURI #
executePoll :: Katip m => GoogleEnv -> BigQueryJobsInsert -> BQProjectId -> m Job #
Orphan instances
Backend BigQuery # | |||||
backendQuery :: (MonadNapkin BigQuery m, RenderSql q BigQuery) => BackendConn BigQuery -> q -> m [Map Text Value] # backendConnectionString :: BackendConn BigQuery -> ConnectionString # | |||||
RunBackendConn BigQuery # | |||||
runBackendConn :: LogEnv -> DbBackendOptions BigQuery -> ConnectionString -> AppName -> Maybe CredentialsPath -> SpecFile -> Maybe AuthPort -> (Pipeline -> BackendConn BigQuery -> IO a) -> IO a # | |||||
HasBackendSchemaField BigQuery # | |||||
fieldName :: BackendSchemaField BigQuery -> Text # fieldType :: BackendSchemaField BigQuery -> Type # | |||||
CSVImport BigQuery # | |||||
HasBackendQueryStats BigQuery # | |||||
| |||||
Command AEDA TableDiagnostics BigQuery # | |||||
execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> AEDA -> m TableDiagnostics # | |||||
Command AnnotateCommand () BigQuery # | |||||
execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> AnnotateCommand -> m () # | |||||
Command CheckTableExists Bool BigQuery # | |||||
execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> CheckTableExists -> m Bool # | |||||
Command CopyTable () BigQuery # | |||||
execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> CopyTable -> m () # | |||||
Command DeleteFrom () BigQuery # | |||||
execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> DeleteFrom -> m () # | |||||
Command DropTable () BigQuery # | |||||
execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> DropTable -> m () # | |||||
Command DropView () BigQuery # | |||||
execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> DropView -> m () # | |||||
Command GetTableKind TableKind BigQuery # | |||||
execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> GetTableKind -> m TableKind # | |||||
Command InsertIntoQuery () BigQuery # | |||||
execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> InsertIntoQuery -> m () # | |||||
Command InsertIntoTable () BigQuery # | |||||
execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> InsertIntoTable -> m () # | |||||
Command ReadAnnotationCommand TableAnnotations BigQuery # | |||||
execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> ReadAnnotationCommand -> m TableAnnotations # | |||||
Command RenameTable () BigQuery # | BQ implements rename via copy-then-drop | ||||
execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> RenameTable -> m () # | |||||
Command Grant () BigQuery # | |||||
execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> Grant -> m () # | |||||
Command UpdateQuery () BigQuery # | |||||
execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> UpdateQuery -> m () # | |||||
Command GetRelationSchema [BackendSchemaField BigQuery] BigQuery # | |||||
execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> GetRelationSchema -> m [BackendSchemaField BigQuery] # | |||||
Command ListTables (Set ListedTable) BigQuery # | |||||
execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> ListTables -> m (Set ListedTable) # | |||||
Command NormalizeTableNames (Map (Ref Table) NormalizedTable) BigQuery # | |||||
execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> NormalizeTableNames -> m (Map (Ref Table) NormalizedTable) # | |||||
Command (CreateMaterializedView MaterializedViewMeta) () BigQuery # | |||||
execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> CreateMaterializedView MaterializedViewMeta -> m () # | |||||
Command (CreateTable TableMeta) () BigQuery # | |||||
execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> CreateTable TableMeta -> m () # | |||||
Command (CreateTable ()) () BigQuery # | |||||
execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> CreateTable () -> m () # | |||||
Command (CreateTableDDL TableMeta) () BigQuery # | |||||
execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> CreateTableDDL TableMeta -> m () # | |||||
Command (CreateView ViewMeta) () BigQuery # | |||||
execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> CreateView ViewMeta -> m () # | |||||
FromJSON (BackendQueryStats BigQuery) # | |||||
parseJSON :: Value -> Parser (BackendQueryStats BigQuery) # parseJSONList :: Value -> Parser [BackendQueryStats BigQuery] # | |||||
ToJSON (BackendQueryStats BigQuery) # | |||||
toJSON :: BackendQueryStats BigQuery -> Value # toEncoding :: BackendQueryStats BigQuery -> Encoding # toJSONList :: [BackendQueryStats BigQuery] -> Value # toEncodingList :: [BackendQueryStats BigQuery] -> Encoding # omitField :: BackendQueryStats BigQuery -> Bool # | |||||
Monoid (BackendQueryStats BigQuery) # | |||||
Semigroup (BackendQueryStats BigQuery) # | |||||
Show (BackendSchemaField BigQuery) # | |||||
Show (BackendQueryStats BigQuery) # | |||||
Eq (BackendSchemaField BigQuery) # | |||||
Eq (BackendQueryStats BigQuery) # | |||||
(==) :: BackendQueryStats BigQuery -> BackendQueryStats BigQuery -> Bool # (/=) :: BackendQueryStats BigQuery -> BackendQueryStats BigQuery -> Bool # |