Safe Haskell | None |
---|---|
Language | GHC2021 |
Synopsis
- data BigQuery = BigQuery
- data BigQueryType
- = BQString
- | BQBytes
- | BQDate
- | BQDateTime
- | BQTime
- | BQInt64
- | BQFloat64
- | BQBool
- | BQTimestamp
- bqTypeString :: Prism' Text BigQueryType
- data TableMeta = TableMeta {}
- data PartitionInterval
- data TablePartitioning
- data TimePartitioning = TimePartitioning {}
- type Clustering = [ColumnName]
- type ColumnName = Text
- data WriteDisposition
- newtype ViewMeta = ViewMeta {}
- data MaterializedViewMeta = MaterializedViewMeta {}
- data RangeWithStep = RangeWithStep {}
- data MaterializedViewRefresh
- data JobInsertTableName
- emptyTableMeta :: TableMeta
- tableMeta :: ColumnName -> Clustering -> TableMeta
- refComponents :: forall {k} (a :: k). Ref a -> (Name, Name, Name)
- componentsRef :: forall {k} (a :: k). (Name, Name, Name) -> Ref a
Documentation
Instances
data BigQueryType #
Represents the non-recursive bigquery types https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types
Instances
Data BigQueryType # | |
Defined in Napkin.Types.BigQuery 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 # | |
Defined in Napkin.Types.BigQuery showsPrec :: Int -> BigQueryType -> ShowS # show :: BigQueryType -> String # showList :: [BigQueryType] -> ShowS # | |
Eq BigQueryType # | |
Defined in Napkin.Types.BigQuery (==) :: BigQueryType -> BigQueryType -> Bool # (/=) :: BigQueryType -> BigQueryType -> Bool # | |
Ord BigQueryType # | |
Defined in Napkin.Types.BigQuery compare :: BigQueryType -> BigQueryType -> Ordering # (<) :: BigQueryType -> BigQueryType -> Bool # (<=) :: BigQueryType -> BigQueryType -> Bool # (>) :: BigQueryType -> BigQueryType -> Bool # (>=) :: BigQueryType -> BigQueryType -> Bool # max :: BigQueryType -> BigQueryType -> BigQueryType # min :: BigQueryType -> BigQueryType -> BigQueryType # |
Instances
Data TableMeta # | |||||
Defined in Napkin.Types.BigQuery 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 # | |||||
Defined in Napkin.Types.BigQuery
| |||||
Show TableMeta # | |||||
Default TableMeta # | |||||
Defined in Napkin.Types.BigQuery | |||||
Eq TableMeta # | |||||
RenderSql (CreateTable TableMeta) BigQuery # | Used for dump command only; BigQuery can create stuff via SQL, but for tables we are using API now | ||||
Defined in Napkin.Render.BigQuery | |||||
Command (CreateTable TableMeta) () BigQuery # | |||||
Defined in Napkin.Run.BigQuery execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> CreateTable TableMeta -> m () # | |||||
Command (CreateTableDDL TableMeta) () BigQuery # | |||||
Defined in Napkin.Run.BigQuery execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> CreateTableDDL TableMeta -> m () # | |||||
type Rep TableMeta # | |||||
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
FromJSON PartitionInterval # | |||||
Defined in Napkin.Types.BigQuery | |||||
ToJSON PartitionInterval # | |||||
Defined in Napkin.Types.BigQuery toJSON :: PartitionInterval -> Value # toEncoding :: PartitionInterval -> Encoding # toJSONList :: [PartitionInterval] -> Value # toEncodingList :: [PartitionInterval] -> Encoding # omitField :: PartitionInterval -> Bool # | |||||
Data PartitionInterval # | |||||
Defined in Napkin.Types.BigQuery 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 # | |||||
Defined in Napkin.Types.BigQuery | |||||
Enum PartitionInterval # | |||||
Defined in Napkin.Types.BigQuery succ :: PartitionInterval -> PartitionInterval # pred :: PartitionInterval -> PartitionInterval # toEnum :: Int -> PartitionInterval # fromEnum :: PartitionInterval -> Int # enumFrom :: PartitionInterval -> [PartitionInterval] # enumFromThen :: PartitionInterval -> PartitionInterval -> [PartitionInterval] # enumFromTo :: PartitionInterval -> PartitionInterval -> [PartitionInterval] # enumFromThenTo :: PartitionInterval -> PartitionInterval -> PartitionInterval -> [PartitionInterval] # | |||||
Generic PartitionInterval # | |||||
Defined in Napkin.Types.BigQuery
from :: PartitionInterval -> Rep PartitionInterval x # to :: Rep PartitionInterval x -> PartitionInterval # | |||||
Show PartitionInterval # | |||||
Defined in Napkin.Types.BigQuery showsPrec :: Int -> PartitionInterval -> ShowS # show :: PartitionInterval -> String # showList :: [PartitionInterval] -> ShowS # | |||||
Eq PartitionInterval # | |||||
Defined in Napkin.Types.BigQuery (==) :: PartitionInterval -> PartitionInterval -> Bool # (/=) :: PartitionInterval -> PartitionInterval -> Bool # | |||||
AsJSONKey PartitionInterval # | |||||
Defined in Napkin.Types.BigQuery asJSONKey :: PartitionInterval -> Text # | |||||
RenderSql PartitionInterval BigQuery # | |||||
Defined in Napkin.Render.BigQuery | |||||
type Rep PartitionInterval # | |||||
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
FromJSON TablePartitioning # | |||||
Defined in Napkin.Types.BigQuery | |||||
Data TablePartitioning # | |||||
Defined in Napkin.Types.BigQuery 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 # | |||||
Defined in Napkin.Types.BigQuery
from :: TablePartitioning -> Rep TablePartitioning x # to :: Rep TablePartitioning x -> TablePartitioning # | |||||
Show TablePartitioning # | |||||
Defined in Napkin.Types.BigQuery showsPrec :: Int -> TablePartitioning -> ShowS # show :: TablePartitioning -> String # showList :: [TablePartitioning] -> ShowS # | |||||
Eq TablePartitioning # | |||||
Defined in Napkin.Types.BigQuery (==) :: TablePartitioning -> TablePartitioning -> Bool # (/=) :: TablePartitioning -> TablePartitioning -> Bool # | |||||
type Rep TablePartitioning # | |||||
Defined in Napkin.Types.BigQuery type Rep TablePartitioning = D1 ('MetaData "TablePartitioning" "Napkin.Types.BigQuery" "napkin-1.0.0-5YkWAC9Wc776PT0LDghaFb" 'False) (C1 ('MetaCons "IntRange" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ColumnName) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RangeWithStep)) :+: C1 ('MetaCons "TimeColumn" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ColumnName) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TimePartitioning))) |
data TimePartitioning #
Instances
Data TimePartitioning # | |||||
Defined in Napkin.Types.BigQuery 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 # | |||||
Defined in Napkin.Types.BigQuery
from :: TimePartitioning -> Rep TimePartitioning x # to :: Rep TimePartitioning x -> TimePartitioning # | |||||
Show TimePartitioning # | |||||
Defined in Napkin.Types.BigQuery showsPrec :: Int -> TimePartitioning -> ShowS # show :: TimePartitioning -> String # showList :: [TimePartitioning] -> ShowS # | |||||
Default TimePartitioning # | |||||
Defined in Napkin.Types.BigQuery def :: TimePartitioning # | |||||
Eq TimePartitioning # | |||||
Defined in Napkin.Types.BigQuery (==) :: TimePartitioning -> TimePartitioning -> Bool # (/=) :: TimePartitioning -> TimePartitioning -> Bool # | |||||
type Rep TimePartitioning # | |||||
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)))) |
type Clustering = [ColumnName] #
type ColumnName = Text #
data WriteDisposition #
Instances
FromJSON WriteDisposition # | |||||
Defined in Napkin.Spec.Yaml.Types.BackendMeta parseJSON :: Value -> Parser WriteDisposition # parseJSONList :: Value -> Parser [WriteDisposition] # | |||||
Data WriteDisposition # | |||||
Defined in Napkin.Types.BigQuery 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 # | |||||
Defined in Napkin.Types.BigQuery
from :: WriteDisposition -> Rep WriteDisposition x # to :: Rep WriteDisposition x -> WriteDisposition # | |||||
Show WriteDisposition # | |||||
Defined in Napkin.Types.BigQuery showsPrec :: Int -> WriteDisposition -> ShowS # show :: WriteDisposition -> String # showList :: [WriteDisposition] -> ShowS # | |||||
Eq WriteDisposition # | |||||
Defined in Napkin.Types.BigQuery (==) :: WriteDisposition -> WriteDisposition -> Bool # (/=) :: WriteDisposition -> WriteDisposition -> Bool # | |||||
Ord WriteDisposition # | |||||
Defined in Napkin.Types.BigQuery compare :: WriteDisposition -> WriteDisposition -> Ordering # (<) :: WriteDisposition -> WriteDisposition -> Bool # (<=) :: WriteDisposition -> WriteDisposition -> Bool # (>) :: WriteDisposition -> WriteDisposition -> Bool # (>=) :: WriteDisposition -> WriteDisposition -> Bool # max :: WriteDisposition -> WriteDisposition -> WriteDisposition # min :: WriteDisposition -> WriteDisposition -> WriteDisposition # | |||||
type Rep WriteDisposition # | |||||
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))) |
Instances
FromJSON ViewMeta # | |||||
Defined in Napkin.Types.BigQuery | |||||
Data ViewMeta # | |||||
Defined in Napkin.Types.BigQuery 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 # | |||||
Defined in Napkin.Types.BigQuery
| |||||
Show ViewMeta # | |||||
Default ViewMeta # | |||||
Defined in Napkin.Types.BigQuery | |||||
Eq ViewMeta # | |||||
RenderSql (CreateView ViewMeta) BigQuery # | |||||
Defined in Napkin.Render.BigQuery | |||||
Command (CreateView ViewMeta) () BigQuery # | |||||
Defined in Napkin.Run.BigQuery execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> CreateView ViewMeta -> m () # | |||||
type Rep ViewMeta # | |||||
Defined in Napkin.Types.BigQuery |
data MaterializedViewMeta #
Instances
FromJSON MaterializedViewMeta # | |||||
Defined in Napkin.Types.BigQuery | |||||
Generic MaterializedViewMeta # | |||||
Defined in Napkin.Types.BigQuery
from :: MaterializedViewMeta -> Rep MaterializedViewMeta x # to :: Rep MaterializedViewMeta x -> MaterializedViewMeta # | |||||
Show MaterializedViewMeta # | |||||
Defined in Napkin.Types.BigQuery showsPrec :: Int -> MaterializedViewMeta -> ShowS # show :: MaterializedViewMeta -> String # showList :: [MaterializedViewMeta] -> ShowS # | |||||
Default MaterializedViewMeta # | |||||
Defined in Napkin.Types.BigQuery | |||||
Eq MaterializedViewMeta # | |||||
Defined in Napkin.Types.BigQuery (==) :: MaterializedViewMeta -> MaterializedViewMeta -> Bool # (/=) :: MaterializedViewMeta -> MaterializedViewMeta -> Bool # | |||||
RenderSql (CreateMaterializedView MaterializedViewMeta) BigQuery # | |||||
Defined in Napkin.Render.BigQuery | |||||
Command (CreateMaterializedView MaterializedViewMeta) () BigQuery # | |||||
Defined in Napkin.Run.BigQuery execCommand :: MonadNapkin BigQuery m => BackendConn BigQuery -> CreateMaterializedView MaterializedViewMeta -> m () # | |||||
type Rep MaterializedViewMeta # | |||||
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 #
Instances
FromJSON RangeWithStep # | |||||
Defined in Napkin.Types.BigQuery parseJSON :: Value -> Parser RangeWithStep # parseJSONList :: Value -> Parser [RangeWithStep] # | |||||
Data RangeWithStep # | |||||
Defined in Napkin.Types.BigQuery 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 # | |||||
Defined in Napkin.Types.BigQuery
from :: RangeWithStep -> Rep RangeWithStep x # to :: Rep RangeWithStep x -> RangeWithStep # | |||||
Show RangeWithStep # | |||||
Defined in Napkin.Types.BigQuery showsPrec :: Int -> RangeWithStep -> ShowS # show :: RangeWithStep -> String # showList :: [RangeWithStep] -> ShowS # | |||||
Eq RangeWithStep # | |||||
Defined in Napkin.Types.BigQuery (==) :: RangeWithStep -> RangeWithStep -> Bool # (/=) :: RangeWithStep -> RangeWithStep -> Bool # | |||||
type Rep RangeWithStep # | |||||
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 #
Instances
FromJSON MaterializedViewRefresh # | |||||
Defined in Napkin.Types.BigQuery | |||||
Generic MaterializedViewRefresh # | |||||
Defined in Napkin.Types.BigQuery
| |||||
Show MaterializedViewRefresh # | |||||
Defined in Napkin.Types.BigQuery showsPrec :: Int -> MaterializedViewRefresh -> ShowS # show :: MaterializedViewRefresh -> String # showList :: [MaterializedViewRefresh] -> ShowS # | |||||
Eq MaterializedViewRefresh # | |||||
Defined in Napkin.Types.BigQuery | |||||
type Rep MaterializedViewRefresh # | |||||
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)) |
data JobInsertTableName #
Instances
Eq JobInsertTableName # | |
Defined in Napkin.Types.BigQuery (==) :: JobInsertTableName -> JobInsertTableName -> Bool # (/=) :: JobInsertTableName -> JobInsertTableName -> Bool # |
tableMeta :: ColumnName -> Clustering -> TableMeta #