Safe Haskell | None |
---|---|
Language | GHC2024 |
Synopsis
- data 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
- data 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
- newtype BQProjectId = BQProjectId Text
- newtype BQDataSetId = BQDataSetId Text
- newtype BQTableId = BQTableId Text
- data BQDataSetReference = BQDataSetReference {}
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
Default TableMeta # | |||||
Defined in Napkin.Types.BigQuery | |||||
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 # | |||||
Eq TableMeta # | |||||
type Rep TableMeta # | |||||
Defined in Napkin.Types.BigQuery type Rep TableMeta = D1 ('MetaData "TableMeta" "Napkin.Types.BigQuery" "napkin-backend-bigquery-2.0.0-FxSpdT7ICDUHnvab5tDdSh" '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 # | |||||
type Rep PartitionInterval # | |||||
Defined in Napkin.Types.BigQuery type Rep PartitionInterval = D1 ('MetaData "PartitionInterval" "Napkin.Types.BigQuery" "napkin-backend-bigquery-2.0.0-FxSpdT7ICDUHnvab5tDdSh" '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-backend-bigquery-2.0.0-FxSpdT7ICDUHnvab5tDdSh" '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
Default TimePartitioning # | |||||
Defined in Napkin.Types.BigQuery def :: TimePartitioning # | |||||
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 # | |||||
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-backend-bigquery-2.0.0-FxSpdT7ICDUHnvab5tDdSh" '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.BigQuery 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-backend-bigquery-2.0.0-FxSpdT7ICDUHnvab5tDdSh" '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 | |||||
Default 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 # | |||||
Eq ViewMeta # | |||||
type Rep ViewMeta # | |||||
Defined in Napkin.Types.BigQuery type Rep ViewMeta = D1 ('MetaData "ViewMeta" "Napkin.Types.BigQuery" "napkin-backend-bigquery-2.0.0-FxSpdT7ICDUHnvab5tDdSh" 'False) (C1 ('MetaCons "ViewMeta" 'PrefixI 'True) (S1 ('MetaSel ('Just "expirationTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe UTCTime)) :*: S1 ('MetaSel ('Just "authorizedDatasets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Set BQDataSetReference))))) |
data MaterializedViewMeta #
Instances
FromJSON MaterializedViewMeta # | |||||
Defined in Napkin.Types.BigQuery | |||||
Default 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 # | |||||
Eq MaterializedViewMeta # | |||||
Defined in Napkin.Types.BigQuery (==) :: MaterializedViewMeta -> MaterializedViewMeta -> Bool # (/=) :: MaterializedViewMeta -> MaterializedViewMeta -> Bool # | |||||
type Rep MaterializedViewMeta # | |||||
Defined in Napkin.Types.BigQuery type Rep MaterializedViewMeta = D1 ('MetaData "MaterializedViewMeta" "Napkin.Types.BigQuery" "napkin-backend-bigquery-2.0.0-FxSpdT7ICDUHnvab5tDdSh" '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)) :*: S1 ('MetaSel ('Just "authorizedDatasets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Set BQDataSetReference)))))) |
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-backend-bigquery-2.0.0-FxSpdT7ICDUHnvab5tDdSh" '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-backend-bigquery-2.0.0-FxSpdT7ICDUHnvab5tDdSh" '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 #
refComponents :: forall {k} (a :: k). Ref a -> (Name, Name, Name) #
Deconstruct a Ref into project, dataset, and table name components.
newtype BQProjectId #
Instances
FromJSON BQProjectId # | |||||
Defined in Napkin.Types.BigQuery parseJSON :: Value -> Parser BQProjectId # parseJSONList :: Value -> Parser [BQProjectId] # | |||||
Buildable BQProjectId # | |||||
Defined in Napkin.Types.BigQuery build :: BQProjectId -> Builder # | |||||
Data BQProjectId # | |||||
Defined in Napkin.Types.BigQuery gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BQProjectId -> c BQProjectId # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BQProjectId # toConstr :: BQProjectId -> Constr # dataTypeOf :: BQProjectId -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BQProjectId) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BQProjectId) # gmapT :: (forall b. Data b => b -> b) -> BQProjectId -> BQProjectId # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BQProjectId -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BQProjectId -> r # gmapQ :: (forall d. Data d => d -> u) -> BQProjectId -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> BQProjectId -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> BQProjectId -> m BQProjectId # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BQProjectId -> m BQProjectId # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BQProjectId -> m BQProjectId # | |||||
Generic BQProjectId # | |||||
Defined in Napkin.Types.BigQuery
from :: BQProjectId -> Rep BQProjectId x # to :: Rep BQProjectId x -> BQProjectId # | |||||
Show BQProjectId # | |||||
Defined in Napkin.Types.BigQuery showsPrec :: Int -> BQProjectId -> ShowS # show :: BQProjectId -> String # showList :: [BQProjectId] -> ShowS # | |||||
Eq BQProjectId # | |||||
Defined in Napkin.Types.BigQuery (==) :: BQProjectId -> BQProjectId -> Bool # (/=) :: BQProjectId -> BQProjectId -> Bool # | |||||
Ord BQProjectId # | |||||
Defined in Napkin.Types.BigQuery compare :: BQProjectId -> BQProjectId -> Ordering # (<) :: BQProjectId -> BQProjectId -> Bool # (<=) :: BQProjectId -> BQProjectId -> Bool # (>) :: BQProjectId -> BQProjectId -> Bool # (>=) :: BQProjectId -> BQProjectId -> Bool # max :: BQProjectId -> BQProjectId -> BQProjectId # min :: BQProjectId -> BQProjectId -> BQProjectId # | |||||
type Rep BQProjectId # | |||||
Defined in Napkin.Types.BigQuery type Rep BQProjectId = D1 ('MetaData "BQProjectId" "Napkin.Types.BigQuery" "napkin-backend-bigquery-2.0.0-FxSpdT7ICDUHnvab5tDdSh" 'True) (C1 ('MetaCons "BQProjectId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) |
newtype BQDataSetId #
Instances
FromJSON BQDataSetId # | |||||
Defined in Napkin.Types.BigQuery parseJSON :: Value -> Parser BQDataSetId # parseJSONList :: Value -> Parser [BQDataSetId] # | |||||
Buildable BQDataSetId # | |||||
Defined in Napkin.Types.BigQuery build :: BQDataSetId -> Builder # | |||||
Data BQDataSetId # | |||||
Defined in Napkin.Types.BigQuery gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BQDataSetId -> c BQDataSetId # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BQDataSetId # toConstr :: BQDataSetId -> Constr # dataTypeOf :: BQDataSetId -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BQDataSetId) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BQDataSetId) # gmapT :: (forall b. Data b => b -> b) -> BQDataSetId -> BQDataSetId # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BQDataSetId -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BQDataSetId -> r # gmapQ :: (forall d. Data d => d -> u) -> BQDataSetId -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> BQDataSetId -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> BQDataSetId -> m BQDataSetId # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BQDataSetId -> m BQDataSetId # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BQDataSetId -> m BQDataSetId # | |||||
Generic BQDataSetId # | |||||
Defined in Napkin.Types.BigQuery
from :: BQDataSetId -> Rep BQDataSetId x # to :: Rep BQDataSetId x -> BQDataSetId # | |||||
Show BQDataSetId # | |||||
Defined in Napkin.Types.BigQuery showsPrec :: Int -> BQDataSetId -> ShowS # show :: BQDataSetId -> String # showList :: [BQDataSetId] -> ShowS # | |||||
Eq BQDataSetId # | |||||
Defined in Napkin.Types.BigQuery (==) :: BQDataSetId -> BQDataSetId -> Bool # (/=) :: BQDataSetId -> BQDataSetId -> Bool # | |||||
Ord BQDataSetId # | |||||
Defined in Napkin.Types.BigQuery compare :: BQDataSetId -> BQDataSetId -> Ordering # (<) :: BQDataSetId -> BQDataSetId -> Bool # (<=) :: BQDataSetId -> BQDataSetId -> Bool # (>) :: BQDataSetId -> BQDataSetId -> Bool # (>=) :: BQDataSetId -> BQDataSetId -> Bool # max :: BQDataSetId -> BQDataSetId -> BQDataSetId # min :: BQDataSetId -> BQDataSetId -> BQDataSetId # | |||||
type Rep BQDataSetId # | |||||
Defined in Napkin.Types.BigQuery type Rep BQDataSetId = D1 ('MetaData "BQDataSetId" "Napkin.Types.BigQuery" "napkin-backend-bigquery-2.0.0-FxSpdT7ICDUHnvab5tDdSh" 'True) (C1 ('MetaCons "BQDataSetId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) |
Instances
Buildable BQTableId # | |||||
Defined in Napkin.Types.BigQuery | |||||
Data BQTableId # | |||||
Defined in Napkin.Types.BigQuery gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BQTableId -> c BQTableId # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BQTableId # toConstr :: BQTableId -> Constr # dataTypeOf :: BQTableId -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BQTableId) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BQTableId) # gmapT :: (forall b. Data b => b -> b) -> BQTableId -> BQTableId # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BQTableId -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BQTableId -> r # gmapQ :: (forall d. Data d => d -> u) -> BQTableId -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> BQTableId -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> BQTableId -> m BQTableId # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BQTableId -> m BQTableId # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BQTableId -> m BQTableId # | |||||
Generic BQTableId # | |||||
Defined in Napkin.Types.BigQuery
| |||||
Show BQTableId # | |||||
Eq BQTableId # | |||||
Ord BQTableId # | |||||
Defined in Napkin.Types.BigQuery | |||||
type Rep BQTableId # | |||||
Defined in Napkin.Types.BigQuery |
data BQDataSetReference #
Instances
FromJSON BQDataSetReference # | |||||
Defined in Napkin.Types.BigQuery | |||||
Data BQDataSetReference # | |||||
Defined in Napkin.Types.BigQuery gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BQDataSetReference -> c BQDataSetReference # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BQDataSetReference # toConstr :: BQDataSetReference -> Constr # dataTypeOf :: BQDataSetReference -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BQDataSetReference) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BQDataSetReference) # gmapT :: (forall b. Data b => b -> b) -> BQDataSetReference -> BQDataSetReference # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BQDataSetReference -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BQDataSetReference -> r # gmapQ :: (forall d. Data d => d -> u) -> BQDataSetReference -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> BQDataSetReference -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> BQDataSetReference -> m BQDataSetReference # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BQDataSetReference -> m BQDataSetReference # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BQDataSetReference -> m BQDataSetReference # | |||||
Generic BQDataSetReference # | |||||
Defined in Napkin.Types.BigQuery
from :: BQDataSetReference -> Rep BQDataSetReference x # to :: Rep BQDataSetReference x -> BQDataSetReference # | |||||
Show BQDataSetReference # | |||||
Defined in Napkin.Types.BigQuery showsPrec :: Int -> BQDataSetReference -> ShowS # show :: BQDataSetReference -> String # showList :: [BQDataSetReference] -> ShowS # | |||||
Eq BQDataSetReference # | |||||
Defined in Napkin.Types.BigQuery (==) :: BQDataSetReference -> BQDataSetReference -> Bool # (/=) :: BQDataSetReference -> BQDataSetReference -> Bool # | |||||
Ord BQDataSetReference # | |||||
Defined in Napkin.Types.BigQuery compare :: BQDataSetReference -> BQDataSetReference -> Ordering # (<) :: BQDataSetReference -> BQDataSetReference -> Bool # (<=) :: BQDataSetReference -> BQDataSetReference -> Bool # (>) :: BQDataSetReference -> BQDataSetReference -> Bool # (>=) :: BQDataSetReference -> BQDataSetReference -> Bool # max :: BQDataSetReference -> BQDataSetReference -> BQDataSetReference # min :: BQDataSetReference -> BQDataSetReference -> BQDataSetReference # | |||||
type Rep BQDataSetReference # | |||||
Defined in Napkin.Types.BigQuery type Rep BQDataSetReference = D1 ('MetaData "BQDataSetReference" "Napkin.Types.BigQuery" "napkin-backend-bigquery-2.0.0-FxSpdT7ICDUHnvab5tDdSh" 'False) (C1 ('MetaCons "BQDataSetReference" 'PrefixI 'True) (S1 ('MetaSel ('Just "projectId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe BQProjectId)) :*: S1 ('MetaSel ('Just "datasetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BQDataSetId))) |