napkin-1.0.0
Safe HaskellNone
LanguageGHC2021

Napkin.Types.BigQuery

Synopsis

Documentation

data BigQuery #

Constructors

BigQuery 

Instances

Instances details
Data BigQuery # 
Instance details

Defined in Napkin.Types.BigQuery

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BigQuery -> c BigQuery #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BigQuery #

toConstr :: BigQuery -> Constr #

dataTypeOf :: BigQuery -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BigQuery) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BigQuery) #

gmapT :: (forall b. Data b => b -> b) -> BigQuery -> BigQuery #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BigQuery -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BigQuery -> r #

gmapQ :: (forall d. Data d => d -> u) -> BigQuery -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BigQuery -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BigQuery -> m BigQuery #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BigQuery -> m BigQuery #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BigQuery -> m BigQuery #

Show BigQuery # 
Instance details

Defined in Napkin.Types.BigQuery

Eq BigQuery # 
Instance details

Defined in Napkin.Types.BigQuery

Ord BigQuery # 
Instance details

Defined in Napkin.Types.BigQuery

Backend BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

RunBackendEffect BigQuery # 
Instance details

Defined in Napkin.Run.Effects.Interpreters.Backend.BigQuery

ReifiesBackend BigQuery # 
Instance details

Defined in Napkin.Types.BigQuery

RunBackendConn BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

ToDbBackend BigQuery # 
Instance details

Defined in Napkin.Backends.Types

TardisCompat BigQuery # 
Instance details

Defined in Napkin.Experimental.Tardis

RenderSql PartitionInterval BigQuery # 
Instance details

Defined in Napkin.Render.BigQuery

RenderSql DeleteFrom BigQuery # 
Instance details

Defined in Napkin.Render.BigQuery

RenderSql InsertIntoQuery BigQuery # 
Instance details

Defined in Napkin.Render.BigQuery

RenderSql JoinOnPredicate BigQuery # 
Instance details

Defined in Napkin.Render.BigQuery.Merge

RenderSql Merge BigQuery # 
Instance details

Defined in Napkin.Render.BigQuery.Merge

Methods

renderSql :: BigQuery -> Merge -> ME Doc #

RenderSql TableAlias BigQuery # 
Instance details

Defined in Napkin.Render.BigQuery.Merge

RenderSql From BigQuery # 
Instance details

Defined in Napkin.Render.BigQuery

Methods

renderSql :: BigQuery -> From -> ME Doc #

RenderSql Name BigQuery # 
Instance details

Defined in Napkin.Render.BigQuery

Methods

renderSql :: BigQuery -> Name -> ME Doc #

RenderSql Query BigQuery # 
Instance details

Defined in Napkin.Render.BigQuery

Methods

renderSql :: BigQuery -> Query -> ME Doc #

RenderSql Relation BigQuery # 
Instance details

Defined in Napkin.Render.BigQuery

Methods

renderSql :: BigQuery -> Relation -> ME Doc #

RenderSql SExp BigQuery # 
Instance details

Defined in Napkin.Render.BigQuery

Methods

renderSql :: BigQuery -> SExp -> ME Doc #

RenderSql String BigQuery # 
Instance details

Defined in Napkin.Render.BigQuery

Methods

renderSql :: BigQuery -> String -> ME Doc #

HasBackendSchemaField BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

CSVImport BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

HasBackendQueryStats BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Associated Types

data BackendQueryStats BigQuery 
Instance details

Defined in Napkin.Run.BigQuery

SqlConcat BigQuery # 
Instance details

Defined in Napkin.Untyped.Ops.Portable.BigQuery

Methods

concat :: [SExp] -> SExp #

Command AEDA TableDiagnostics BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command AnnotateCommand () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command CheckTableExists Bool BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command CopyTable () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command DeleteFrom () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command DropTable () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command DropView () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command GetTableKind TableKind BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command InsertIntoQuery () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command InsertIntoTable () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command ReadAnnotationCommand TableAnnotations BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command RenameTable () BigQuery #

BQ implements rename via copy-then-drop

Instance details

Defined in Napkin.Run.BigQuery

Command Merge () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery.Merge

Command Grant () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command UpdateQuery () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

ToDumpItem BigQuery BigQueryExtra # 
Instance details

Defined in Napkin.Run.Effects.Interpreters.Backend.BigQuery

Methods

toDumpItem :: forall (r :: EffectRow) x. BigQueryExtra (Sem r) x -> DumpItem BigQuery #

Command GetRelationSchema [BackendSchemaField BigQuery] BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command ListTables (Set ListedTable) BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

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

Defined in Napkin.Run.BigQuery

FromJSON (YamlBackendMaterializedViewMeta BigQuery) # 
Instance details

Defined in Napkin.Spec.Yaml.Types.BackendMeta

FromJSON (YamlBackendTableMeta BigQuery) # 
Instance details

Defined in Napkin.Spec.Yaml.Types.BackendMeta

FromJSON (YamlBackendViewMeta BigQuery) # 
Instance details

Defined in Napkin.Spec.Yaml.Types.BackendMeta

FromJSON (DbBackendOptions BigQuery) # 
Instance details

Defined in Napkin.Run.BigQuery.Types

Generic (DbBackendOptions BigQuery) # 
Instance details

Defined in Napkin.Run.BigQuery.Types

Associated Types

type Rep (DbBackendOptions BigQuery) 
Instance details

Defined in Napkin.Run.BigQuery.Types

Show (DbBackendOptions BigQuery) # 
Instance details

Defined in Napkin.Run.BigQuery.Types

Default (DbBackendOptions BigQuery) # 
Instance details

Defined in Napkin.Run.BigQuery.Types

Eq (DbBackendOptions BigQuery) # 
Instance details

Defined in Napkin.Run.BigQuery.Types

MaybeDefault (YamlBackendMaterializedViewMeta BigQuery) # 
Instance details

Defined in Napkin.Spec.Yaml.Types.BackendMeta

MaybeDefault (YamlBackendTableMeta BigQuery) # 
Instance details

Defined in Napkin.Spec.Yaml.Types.BackendMeta

MaybeDefault (YamlBackendViewMeta BigQuery) # 
Instance details

Defined in Napkin.Spec.Yaml.Types.BackendMeta

RenderSql (CreateMaterializedView MaterializedViewMeta) BigQuery # 
Instance details

Defined in Napkin.Render.BigQuery

RenderSql (CreateTable TableMeta) BigQuery #

Used for dump command only; BigQuery can create stuff via SQL, but for tables we are using API now

Instance details

Defined in Napkin.Render.BigQuery

RenderSql (CreateView ViewMeta) BigQuery # 
Instance details

Defined in Napkin.Render.BigQuery

RenderSql a BigQuery => RenderSql (Alias a) BigQuery # 
Instance details

Defined in Napkin.Render.BigQuery

Methods

renderSql :: BigQuery -> Alias a -> ME Doc #

Command (CreateMaterializedView MaterializedViewMeta) () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command (CreateTable TableMeta) () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

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

Defined in Napkin.Run.BigQuery

Command (CreateTableDDL TableMeta) () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command (CreateView ViewMeta) () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

FromJSON (BackendQueryStats BigQuery) # 
Instance details

Defined in Napkin.Run.BigQuery

ToJSON (BackendQueryStats BigQuery) # 
Instance details

Defined in Napkin.Run.BigQuery

Monoid (BackendQueryStats BigQuery) # 
Instance details

Defined in Napkin.Run.BigQuery

Semigroup (BackendQueryStats BigQuery) # 
Instance details

Defined in Napkin.Run.BigQuery

Show (BackendSchemaField BigQuery) # 
Instance details

Defined in Napkin.Run.BigQuery

Show (BackendQueryStats BigQuery) # 
Instance details

Defined in Napkin.Run.BigQuery

Eq (BackendSchemaField BigQuery) # 
Instance details

Defined in Napkin.Run.BigQuery

Eq (BackendQueryStats BigQuery) # 
Instance details

Defined in Napkin.Run.BigQuery

RenderSql (Ref t) BigQuery # 
Instance details

Defined in Napkin.Render.BigQuery

Methods

renderSql :: BigQuery -> Ref t -> ME Doc #

data BackendConn BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

data BackendSpecificEffect BigQuery m a # 
Instance details

Defined in Napkin.Run.Effects.Languages.Backend.BigQuery

data DbBackendOptions BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery.Types

type BackendMaterializedViewMeta BigQuery # 
Instance details

Defined in Napkin.Types.BigQuery

type BackendTableMeta BigQuery # 
Instance details

Defined in Napkin.Types.BigQuery

type BackendViewMeta BigQuery # 
Instance details

Defined in Napkin.Types.BigQuery

data BackendSchemaField BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

data BackendQueryStats BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

type Rep (DbBackendOptions BigQuery) # 
Instance details

Defined in Napkin.Run.BigQuery.Types

data BigQueryType #

Instances

Instances details
Data BigQueryType # 
Instance details

Defined in Napkin.Types.BigQuery

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BigQueryType -> c BigQueryType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BigQueryType #

toConstr :: BigQueryType -> Constr #

dataTypeOf :: BigQueryType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BigQueryType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BigQueryType) #

gmapT :: (forall b. Data b => b -> b) -> BigQueryType -> BigQueryType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BigQueryType -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BigQueryType -> r #

gmapQ :: (forall d. Data d => d -> u) -> BigQueryType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BigQueryType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BigQueryType -> m BigQueryType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BigQueryType -> m BigQueryType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BigQueryType -> m BigQueryType #

Show BigQueryType # 
Instance details

Defined in Napkin.Types.BigQuery

Eq BigQueryType # 
Instance details

Defined in Napkin.Types.BigQuery

Ord BigQueryType # 
Instance details

Defined in Napkin.Types.BigQuery

data TableMeta #

Instances

Instances details
Data TableMeta # 
Instance details

Defined in Napkin.Types.BigQuery

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TableMeta -> c TableMeta #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TableMeta #

toConstr :: TableMeta -> Constr #

dataTypeOf :: TableMeta -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TableMeta) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TableMeta) #

gmapT :: (forall b. Data b => b -> b) -> TableMeta -> TableMeta #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TableMeta -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TableMeta -> r #

gmapQ :: (forall d. Data d => d -> u) -> TableMeta -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TableMeta -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TableMeta -> m TableMeta #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TableMeta -> m TableMeta #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TableMeta -> m TableMeta #

Generic TableMeta # 
Instance details

Defined in Napkin.Types.BigQuery

Associated Types

type Rep TableMeta 
Instance details

Defined in Napkin.Types.BigQuery

type Rep TableMeta = D1 ('MetaData "TableMeta" "Napkin.Types.BigQuery" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "TableMeta" 'PrefixI 'True) (S1 ('MetaSel ('Just "partitioning") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe TablePartitioning)) :*: (S1 ('MetaSel ('Just "clustering") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Clustering)) :*: S1 ('MetaSel ('Just "writeDisposition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe WriteDisposition)))))
Show TableMeta # 
Instance details

Defined in Napkin.Types.BigQuery

Default TableMeta # 
Instance details

Defined in Napkin.Types.BigQuery

Methods

def :: TableMeta #

Eq TableMeta # 
Instance details

Defined in Napkin.Types.BigQuery

RenderSql (CreateTable TableMeta) BigQuery #

Used for dump command only; BigQuery can create stuff via SQL, but for tables we are using API now

Instance details

Defined in Napkin.Render.BigQuery

Command (CreateTable TableMeta) () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

Command (CreateTableDDL TableMeta) () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

type Rep TableMeta # 
Instance details

Defined in Napkin.Types.BigQuery

type Rep TableMeta = D1 ('MetaData "TableMeta" "Napkin.Types.BigQuery" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "TableMeta" 'PrefixI 'True) (S1 ('MetaSel ('Just "partitioning") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe TablePartitioning)) :*: (S1 ('MetaSel ('Just "clustering") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Clustering)) :*: S1 ('MetaSel ('Just "writeDisposition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe WriteDisposition)))))

data PartitionInterval #

Instances

Instances details
FromJSON PartitionInterval # 
Instance details

Defined in Napkin.Types.BigQuery

ToJSON PartitionInterval # 
Instance details

Defined in Napkin.Types.BigQuery

Data PartitionInterval # 
Instance details

Defined in Napkin.Types.BigQuery

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PartitionInterval -> c PartitionInterval #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PartitionInterval #

toConstr :: PartitionInterval -> Constr #

dataTypeOf :: PartitionInterval -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PartitionInterval) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PartitionInterval) #

gmapT :: (forall b. Data b => b -> b) -> PartitionInterval -> PartitionInterval #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PartitionInterval -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PartitionInterval -> r #

gmapQ :: (forall d. Data d => d -> u) -> PartitionInterval -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PartitionInterval -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PartitionInterval -> m PartitionInterval #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PartitionInterval -> m PartitionInterval #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PartitionInterval -> m PartitionInterval #

Bounded PartitionInterval # 
Instance details

Defined in Napkin.Types.BigQuery

Enum PartitionInterval # 
Instance details

Defined in Napkin.Types.BigQuery

Generic PartitionInterval # 
Instance details

Defined in Napkin.Types.BigQuery

Associated Types

type Rep PartitionInterval 
Instance details

Defined in Napkin.Types.BigQuery

type Rep PartitionInterval = D1 ('MetaData "PartitionInterval" "Napkin.Types.BigQuery" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) ((C1 ('MetaCons "PartitionInterval_Day" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PartitionInterval_Hour" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "PartitionInterval_Month" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PartitionInterval_Year" 'PrefixI 'False) (U1 :: Type -> Type)))
Show PartitionInterval # 
Instance details

Defined in Napkin.Types.BigQuery

Eq PartitionInterval # 
Instance details

Defined in Napkin.Types.BigQuery

AsJSONKey PartitionInterval # 
Instance details

Defined in Napkin.Types.BigQuery

RenderSql PartitionInterval BigQuery # 
Instance details

Defined in Napkin.Render.BigQuery

type Rep PartitionInterval # 
Instance details

Defined in Napkin.Types.BigQuery

type Rep PartitionInterval = D1 ('MetaData "PartitionInterval" "Napkin.Types.BigQuery" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) ((C1 ('MetaCons "PartitionInterval_Day" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PartitionInterval_Hour" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "PartitionInterval_Month" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PartitionInterval_Year" 'PrefixI 'False) (U1 :: Type -> Type)))

data TablePartitioning #

Instances

Instances details
FromJSON TablePartitioning # 
Instance details

Defined in Napkin.Types.BigQuery

Data TablePartitioning # 
Instance details

Defined in Napkin.Types.BigQuery

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TablePartitioning -> c TablePartitioning #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TablePartitioning #

toConstr :: TablePartitioning -> Constr #

dataTypeOf :: TablePartitioning -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TablePartitioning) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TablePartitioning) #

gmapT :: (forall b. Data b => b -> b) -> TablePartitioning -> TablePartitioning #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TablePartitioning -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TablePartitioning -> r #

gmapQ :: (forall d. Data d => d -> u) -> TablePartitioning -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TablePartitioning -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TablePartitioning -> m TablePartitioning #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TablePartitioning -> m TablePartitioning #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TablePartitioning -> m TablePartitioning #

Generic TablePartitioning # 
Instance details

Defined in Napkin.Types.BigQuery

Show TablePartitioning # 
Instance details

Defined in Napkin.Types.BigQuery

Eq TablePartitioning # 
Instance details

Defined in Napkin.Types.BigQuery

type Rep TablePartitioning # 
Instance details

Defined in Napkin.Types.BigQuery

data TimePartitioning #

Instances

Instances details
Data TimePartitioning # 
Instance details

Defined in Napkin.Types.BigQuery

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TimePartitioning -> c TimePartitioning #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TimePartitioning #

toConstr :: TimePartitioning -> Constr #

dataTypeOf :: TimePartitioning -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TimePartitioning) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TimePartitioning) #

gmapT :: (forall b. Data b => b -> b) -> TimePartitioning -> TimePartitioning #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TimePartitioning -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TimePartitioning -> r #

gmapQ :: (forall d. Data d => d -> u) -> TimePartitioning -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TimePartitioning -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TimePartitioning -> m TimePartitioning #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TimePartitioning -> m TimePartitioning #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TimePartitioning -> m TimePartitioning #

Generic TimePartitioning # 
Instance details

Defined in Napkin.Types.BigQuery

Associated Types

type Rep TimePartitioning 
Instance details

Defined in Napkin.Types.BigQuery

type Rep TimePartitioning = D1 ('MetaData "TimePartitioning" "Napkin.Types.BigQuery" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "TimePartitioning" 'PrefixI 'True) (S1 ('MetaSel ('Just "timeInterval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PartitionInterval) :*: (S1 ('MetaSel ('Just "expiration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe NominalDiffTime)) :*: S1 ('MetaSel ('Just "requireFilter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))))
Show TimePartitioning # 
Instance details

Defined in Napkin.Types.BigQuery

Default TimePartitioning # 
Instance details

Defined in Napkin.Types.BigQuery

Eq TimePartitioning # 
Instance details

Defined in Napkin.Types.BigQuery

type Rep TimePartitioning # 
Instance details

Defined in Napkin.Types.BigQuery

type Rep TimePartitioning = D1 ('MetaData "TimePartitioning" "Napkin.Types.BigQuery" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "TimePartitioning" 'PrefixI 'True) (S1 ('MetaSel ('Just "timeInterval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PartitionInterval) :*: (S1 ('MetaSel ('Just "expiration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe NominalDiffTime)) :*: S1 ('MetaSel ('Just "requireFilter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))))

data WriteDisposition #

Instances

Instances details
FromJSON WriteDisposition # 
Instance details

Defined in Napkin.Spec.Yaml.Types.BackendMeta

Data WriteDisposition # 
Instance details

Defined in Napkin.Types.BigQuery

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> WriteDisposition -> c WriteDisposition #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c WriteDisposition #

toConstr :: WriteDisposition -> Constr #

dataTypeOf :: WriteDisposition -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c WriteDisposition) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c WriteDisposition) #

gmapT :: (forall b. Data b => b -> b) -> WriteDisposition -> WriteDisposition #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> WriteDisposition -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> WriteDisposition -> r #

gmapQ :: (forall d. Data d => d -> u) -> WriteDisposition -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> WriteDisposition -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> WriteDisposition -> m WriteDisposition #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> WriteDisposition -> m WriteDisposition #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> WriteDisposition -> m WriteDisposition #

Generic WriteDisposition # 
Instance details

Defined in Napkin.Types.BigQuery

Associated Types

type Rep WriteDisposition 
Instance details

Defined in Napkin.Types.BigQuery

type Rep WriteDisposition = D1 ('MetaData "WriteDisposition" "Napkin.Types.BigQuery" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "WriteEmpty" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "WriteAppend" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WriteTruncate" 'PrefixI 'False) (U1 :: Type -> Type)))
Show WriteDisposition # 
Instance details

Defined in Napkin.Types.BigQuery

Eq WriteDisposition # 
Instance details

Defined in Napkin.Types.BigQuery

Ord WriteDisposition # 
Instance details

Defined in Napkin.Types.BigQuery

type Rep WriteDisposition # 
Instance details

Defined in Napkin.Types.BigQuery

type Rep WriteDisposition = D1 ('MetaData "WriteDisposition" "Napkin.Types.BigQuery" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "WriteEmpty" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "WriteAppend" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WriteTruncate" 'PrefixI 'False) (U1 :: Type -> Type)))

newtype ViewMeta #

Constructors

ViewMeta 

Instances

Instances details
FromJSON ViewMeta # 
Instance details

Defined in Napkin.Types.BigQuery

Data ViewMeta # 
Instance details

Defined in Napkin.Types.BigQuery

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ViewMeta -> c ViewMeta #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ViewMeta #

toConstr :: ViewMeta -> Constr #

dataTypeOf :: ViewMeta -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ViewMeta) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ViewMeta) #

gmapT :: (forall b. Data b => b -> b) -> ViewMeta -> ViewMeta #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ViewMeta -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ViewMeta -> r #

gmapQ :: (forall d. Data d => d -> u) -> ViewMeta -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ViewMeta -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ViewMeta -> m ViewMeta #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ViewMeta -> m ViewMeta #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ViewMeta -> m ViewMeta #

Generic ViewMeta # 
Instance details

Defined in Napkin.Types.BigQuery

Associated Types

type Rep ViewMeta 
Instance details

Defined in Napkin.Types.BigQuery

type Rep ViewMeta = D1 ('MetaData "ViewMeta" "Napkin.Types.BigQuery" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'True) (C1 ('MetaCons "ViewMeta" 'PrefixI 'True) (S1 ('MetaSel ('Just "expirationTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe UTCTime))))

Methods

from :: ViewMeta -> Rep ViewMeta x #

to :: Rep ViewMeta x -> ViewMeta #

Show ViewMeta # 
Instance details

Defined in Napkin.Types.BigQuery

Default ViewMeta # 
Instance details

Defined in Napkin.Types.BigQuery

Methods

def :: ViewMeta #

Eq ViewMeta # 
Instance details

Defined in Napkin.Types.BigQuery

RenderSql (CreateView ViewMeta) BigQuery # 
Instance details

Defined in Napkin.Render.BigQuery

Command (CreateView ViewMeta) () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

type Rep ViewMeta # 
Instance details

Defined in Napkin.Types.BigQuery

type Rep ViewMeta = D1 ('MetaData "ViewMeta" "Napkin.Types.BigQuery" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'True) (C1 ('MetaCons "ViewMeta" 'PrefixI 'True) (S1 ('MetaSel ('Just "expirationTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe UTCTime))))

data MaterializedViewMeta #

Instances

Instances details
FromJSON MaterializedViewMeta # 
Instance details

Defined in Napkin.Types.BigQuery

Generic MaterializedViewMeta # 
Instance details

Defined in Napkin.Types.BigQuery

Associated Types

type Rep MaterializedViewMeta 
Instance details

Defined in Napkin.Types.BigQuery

type Rep MaterializedViewMeta = D1 ('MetaData "MaterializedViewMeta" "Napkin.Types.BigQuery" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "MaterializedViewMeta" 'PrefixI 'True) (S1 ('MetaSel ('Just "partitioning") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe TablePartitioning)) :*: (S1 ('MetaSel ('Just "clustering") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Clustering)) :*: S1 ('MetaSel ('Just "refresh") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe MaterializedViewRefresh)))))
Show MaterializedViewMeta # 
Instance details

Defined in Napkin.Types.BigQuery

Default MaterializedViewMeta # 
Instance details

Defined in Napkin.Types.BigQuery

Eq MaterializedViewMeta # 
Instance details

Defined in Napkin.Types.BigQuery

RenderSql (CreateMaterializedView MaterializedViewMeta) BigQuery # 
Instance details

Defined in Napkin.Render.BigQuery

Command (CreateMaterializedView MaterializedViewMeta) () BigQuery # 
Instance details

Defined in Napkin.Run.BigQuery

type Rep MaterializedViewMeta # 
Instance details

Defined in Napkin.Types.BigQuery

type Rep MaterializedViewMeta = D1 ('MetaData "MaterializedViewMeta" "Napkin.Types.BigQuery" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "MaterializedViewMeta" 'PrefixI 'True) (S1 ('MetaSel ('Just "partitioning") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe TablePartitioning)) :*: (S1 ('MetaSel ('Just "clustering") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Clustering)) :*: S1 ('MetaSel ('Just "refresh") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe MaterializedViewRefresh)))))

data RangeWithStep #

Constructors

RangeWithStep 

Fields

Instances

Instances details
FromJSON RangeWithStep # 
Instance details

Defined in Napkin.Types.BigQuery

Data RangeWithStep # 
Instance details

Defined in Napkin.Types.BigQuery

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RangeWithStep -> c RangeWithStep #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RangeWithStep #

toConstr :: RangeWithStep -> Constr #

dataTypeOf :: RangeWithStep -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RangeWithStep) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RangeWithStep) #

gmapT :: (forall b. Data b => b -> b) -> RangeWithStep -> RangeWithStep #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RangeWithStep -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RangeWithStep -> r #

gmapQ :: (forall d. Data d => d -> u) -> RangeWithStep -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RangeWithStep -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RangeWithStep -> m RangeWithStep #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RangeWithStep -> m RangeWithStep #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RangeWithStep -> m RangeWithStep #

Generic RangeWithStep # 
Instance details

Defined in Napkin.Types.BigQuery

Associated Types

type Rep RangeWithStep 
Instance details

Defined in Napkin.Types.BigQuery

type Rep RangeWithStep = D1 ('MetaData "RangeWithStep" "Napkin.Types.BigQuery" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "RangeWithStep" 'PrefixI 'True) (S1 ('MetaSel ('Just "start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int64) :*: (S1 ('MetaSel ('Just "end") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int64) :*: S1 ('MetaSel ('Just "step") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int64))))
Show RangeWithStep # 
Instance details

Defined in Napkin.Types.BigQuery

Eq RangeWithStep # 
Instance details

Defined in Napkin.Types.BigQuery

type Rep RangeWithStep # 
Instance details

Defined in Napkin.Types.BigQuery

type Rep RangeWithStep = D1 ('MetaData "RangeWithStep" "Napkin.Types.BigQuery" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "RangeWithStep" 'PrefixI 'True) (S1 ('MetaSel ('Just "start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int64) :*: (S1 ('MetaSel ('Just "end") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int64) :*: S1 ('MetaSel ('Just "step") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int64))))

data MaterializedViewRefresh #

Constructors

Automatic 

Fields

Manual 

Instances

Instances details
FromJSON MaterializedViewRefresh # 
Instance details

Defined in Napkin.Types.BigQuery

Generic MaterializedViewRefresh # 
Instance details

Defined in Napkin.Types.BigQuery

Associated Types

type Rep MaterializedViewRefresh 
Instance details

Defined in Napkin.Types.BigQuery

type Rep MaterializedViewRefresh = D1 ('MetaData "MaterializedViewRefresh" "Napkin.Types.BigQuery" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "Automatic" 'PrefixI 'True) (S1 ('MetaSel ('Just "minutes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int64)) :+: C1 ('MetaCons "Manual" 'PrefixI 'False) (U1 :: Type -> Type))
Show MaterializedViewRefresh # 
Instance details

Defined in Napkin.Types.BigQuery

Eq MaterializedViewRefresh # 
Instance details

Defined in Napkin.Types.BigQuery

type Rep MaterializedViewRefresh # 
Instance details

Defined in Napkin.Types.BigQuery

type Rep MaterializedViewRefresh = D1 ('MetaData "MaterializedViewRefresh" "Napkin.Types.BigQuery" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "Automatic" 'PrefixI 'True) (S1 ('MetaSel ('Just "minutes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int64)) :+: C1 ('MetaCons "Manual" 'PrefixI 'False) (U1 :: Type -> Type))

refComponents :: forall {k} (a :: k). Ref a -> (Name, Name, Name) #

Deconstruct a Ref into project, dataset, and table name components.

componentsRef :: forall {k} (a :: k). (Name, Name, Name) -> Ref a #