| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Napkin.Types.BigQuery
Synopsis
- data BigQuery
- data BigQueryType
- = BQString
- | BQBytes
- | BQDate
- | BQDateTime
- | BQTime
- | BQInt64
- | BQFloat64
- | BQBool
- | BQTimestamp
- | BQDecimal
- 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
- 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
Constructors
| BQString | |
| BQBytes | |
| BQDate | |
| BQDateTime | |
| BQTime | |
| BQInt64 | |
| BQFloat64 | |
| BQBool | |
| BQTimestamp | |
| BQDecimal |
Instances
| Data BigQueryType # | |
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 # | |
Defined in Napkin.Types.BigQuery Methods showsPrec :: Int -> BigQueryType -> ShowS # show :: BigQueryType -> String # showList :: [BigQueryType] -> ShowS # | |
| Eq BigQueryType # | |
Defined in Napkin.Types.BigQuery | |
| Ord BigQueryType # | |
Defined in Napkin.Types.BigQuery Methods compare :: BigQueryType -> BigQueryType -> Ordering # (<) :: BigQueryType -> BigQueryType -> Bool # (<=) :: BigQueryType -> BigQueryType -> Bool # (>) :: BigQueryType -> BigQueryType -> Bool # (>=) :: BigQueryType -> BigQueryType -> Bool # max :: BigQueryType -> BigQueryType -> BigQueryType # min :: BigQueryType -> BigQueryType -> BigQueryType # | |
Constructors
| TableMeta | |
Instances
| Default TableMeta # | |||||
Defined in Napkin.Types.BigQuery | |||||
| Data TableMeta # | |||||
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 # | |||||
Defined in Napkin.Types.BigQuery Associated Types
| |||||
| Show TableMeta # | |||||
| Eq TableMeta # | |||||
| ToHashComponent BigQuery TableMeta # | |||||
Defined in Napkin.Hash.BigQuery Methods | |||||
| type Rep TableMeta # | |||||
Defined in Napkin.Types.BigQuery type Rep TableMeta = D1 ('MetaData "TableMeta" "Napkin.Types.BigQuery" "napkin-backend-bigquery-2.0.0-ImbvftYkxiHLT3qYl7zZv" '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 #
Constructors
| PartitionInterval_Day | |
| PartitionInterval_Hour | |
| PartitionInterval_Month | |
| PartitionInterval_Year |
Instances
| FromJSON PartitionInterval # | |||||
Defined in Napkin.Types.BigQuery Methods parseJSON :: Value -> Parser PartitionInterval # parseJSONList :: Value -> Parser [PartitionInterval] # | |||||
| ToJSON PartitionInterval # | |||||
Defined in Napkin.Types.BigQuery Methods toJSON :: PartitionInterval -> Value # toEncoding :: PartitionInterval -> Encoding # toJSONList :: [PartitionInterval] -> Value # toEncodingList :: [PartitionInterval] -> Encoding # omitField :: PartitionInterval -> Bool # | |||||
| Data PartitionInterval # | |||||
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 # | |||||
Defined in Napkin.Types.BigQuery | |||||
| Enum PartitionInterval # | |||||
Defined in Napkin.Types.BigQuery Methods 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 Associated Types
Methods from :: PartitionInterval -> Rep PartitionInterval x # to :: Rep PartitionInterval x -> PartitionInterval # | |||||
| Show PartitionInterval # | |||||
Defined in Napkin.Types.BigQuery Methods showsPrec :: Int -> PartitionInterval -> ShowS # show :: PartitionInterval -> String # showList :: [PartitionInterval] -> ShowS # | |||||
| Eq PartitionInterval # | |||||
Defined in Napkin.Types.BigQuery Methods (==) :: PartitionInterval -> PartitionInterval -> Bool # (/=) :: PartitionInterval -> PartitionInterval -> Bool # | |||||
| AsJSONKey PartitionInterval # | |||||
Defined in Napkin.Types.BigQuery Methods asJSONKey :: PartitionInterval -> Text # | |||||
| ToHashComponent BigQuery PartitionInterval # | |||||
Defined in Napkin.Hash.BigQuery Methods | |||||
| type Rep PartitionInterval # | |||||
Defined in Napkin.Types.BigQuery type Rep PartitionInterval = D1 ('MetaData "PartitionInterval" "Napkin.Types.BigQuery" "napkin-backend-bigquery-2.0.0-ImbvftYkxiHLT3qYl7zZv" '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 #
Constructors
| IntRange ColumnName RangeWithStep | |
| TimeColumn ColumnName TimePartitioning |
Instances
| FromJSON TablePartitioning # | |||||
Defined in Napkin.Types.BigQuery Methods parseJSON :: Value -> Parser TablePartitioning # parseJSONList :: Value -> Parser [TablePartitioning] # | |||||
| Data TablePartitioning # | |||||
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 # | |||||
Defined in Napkin.Types.BigQuery Associated Types
Methods from :: TablePartitioning -> Rep TablePartitioning x # to :: Rep TablePartitioning x -> TablePartitioning # | |||||
| Show TablePartitioning # | |||||
Defined in Napkin.Types.BigQuery Methods showsPrec :: Int -> TablePartitioning -> ShowS # show :: TablePartitioning -> String # showList :: [TablePartitioning] -> ShowS # | |||||
| Eq TablePartitioning # | |||||
Defined in Napkin.Types.BigQuery Methods (==) :: TablePartitioning -> TablePartitioning -> Bool # (/=) :: TablePartitioning -> TablePartitioning -> Bool # | |||||
| ToHashComponent BigQuery TablePartitioning # | |||||
Defined in Napkin.Hash.BigQuery Methods | |||||
| type Rep TablePartitioning # | |||||
Defined in Napkin.Types.BigQuery type Rep TablePartitioning = D1 ('MetaData "TablePartitioning" "Napkin.Types.BigQuery" "napkin-backend-bigquery-2.0.0-ImbvftYkxiHLT3qYl7zZv" '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 #
Constructors
| TimePartitioning | |
Fields | |
Instances
| Default TimePartitioning # | |||||
Defined in Napkin.Types.BigQuery Methods def :: TimePartitioning # | |||||
| Data TimePartitioning # | |||||
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 # | |||||
Defined in Napkin.Types.BigQuery Associated Types
Methods from :: TimePartitioning -> Rep TimePartitioning x # to :: Rep TimePartitioning x -> TimePartitioning # | |||||
| Show TimePartitioning # | |||||
Defined in Napkin.Types.BigQuery Methods showsPrec :: Int -> TimePartitioning -> ShowS # show :: TimePartitioning -> String # showList :: [TimePartitioning] -> ShowS # | |||||
| Eq TimePartitioning # | |||||
Defined in Napkin.Types.BigQuery Methods (==) :: TimePartitioning -> TimePartitioning -> Bool # (/=) :: TimePartitioning -> TimePartitioning -> Bool # | |||||
| ToHashComponent BigQuery TimePartitioning # | |||||
Defined in Napkin.Hash.BigQuery Methods | |||||
| type Rep TimePartitioning # | |||||
Defined in Napkin.Types.BigQuery type Rep TimePartitioning = D1 ('MetaData "TimePartitioning" "Napkin.Types.BigQuery" "napkin-backend-bigquery-2.0.0-ImbvftYkxiHLT3qYl7zZv" '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 #
Constructors
| WriteEmpty | |
| WriteAppend | |
| WriteTruncate |
Instances
| FromJSON WriteDisposition # | |||||
Defined in Napkin.Spec.Yaml.Types.BackendMeta.BigQuery Methods parseJSON :: Value -> Parser WriteDisposition # parseJSONList :: Value -> Parser [WriteDisposition] # | |||||
| Data WriteDisposition # | |||||
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 # | |||||
Defined in Napkin.Types.BigQuery Associated Types
Methods from :: WriteDisposition -> Rep WriteDisposition x # to :: Rep WriteDisposition x -> WriteDisposition # | |||||
| Show WriteDisposition # | |||||
Defined in Napkin.Types.BigQuery Methods showsPrec :: Int -> WriteDisposition -> ShowS # show :: WriteDisposition -> String # showList :: [WriteDisposition] -> ShowS # | |||||
| Eq WriteDisposition # | |||||
Defined in Napkin.Types.BigQuery Methods (==) :: WriteDisposition -> WriteDisposition -> Bool # (/=) :: WriteDisposition -> WriteDisposition -> Bool # | |||||
| Ord WriteDisposition # | |||||
Defined in Napkin.Types.BigQuery Methods compare :: WriteDisposition -> WriteDisposition -> Ordering # (<) :: WriteDisposition -> WriteDisposition -> Bool # (<=) :: WriteDisposition -> WriteDisposition -> Bool # (>) :: WriteDisposition -> WriteDisposition -> Bool # (>=) :: WriteDisposition -> WriteDisposition -> Bool # max :: WriteDisposition -> WriteDisposition -> WriteDisposition # min :: WriteDisposition -> WriteDisposition -> WriteDisposition # | |||||
| ToHashComponent BigQuery WriteDisposition # | |||||
Defined in Napkin.Hash.BigQuery Methods | |||||
| type Rep WriteDisposition # | |||||
Defined in Napkin.Types.BigQuery type Rep WriteDisposition = D1 ('MetaData "WriteDisposition" "Napkin.Types.BigQuery" "napkin-backend-bigquery-2.0.0-ImbvftYkxiHLT3qYl7zZv" '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))) | |||||
Constructors
| ViewMeta | |
Fields | |
Instances
| FromJSON ViewMeta # | |||||
Defined in Napkin.Types.BigQuery | |||||
| Default ViewMeta # | |||||
Defined in Napkin.Types.BigQuery | |||||
| Data ViewMeta # | |||||
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 # | |||||
Defined in Napkin.Types.BigQuery Associated Types
| |||||
| Show ViewMeta # | |||||
| Eq ViewMeta # | |||||
| ToHashComponent BigQuery ViewMeta # | |||||
Defined in Napkin.Hash.BigQuery Methods | |||||
| type Rep ViewMeta # | |||||
Defined in Napkin.Types.BigQuery type Rep ViewMeta = D1 ('MetaData "ViewMeta" "Napkin.Types.BigQuery" "napkin-backend-bigquery-2.0.0-ImbvftYkxiHLT3qYl7zZv" '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 #
Constructors
| MaterializedViewMeta | |
Instances
| FromJSON MaterializedViewMeta # | |||||
Defined in Napkin.Types.BigQuery Methods parseJSON :: Value -> Parser MaterializedViewMeta # parseJSONList :: Value -> Parser [MaterializedViewMeta] # | |||||
| Default MaterializedViewMeta # | |||||
Defined in Napkin.Types.BigQuery Methods | |||||
| Generic MaterializedViewMeta # | |||||
Defined in Napkin.Types.BigQuery Associated Types
Methods from :: MaterializedViewMeta -> Rep MaterializedViewMeta x # to :: Rep MaterializedViewMeta x -> MaterializedViewMeta # | |||||
| Show MaterializedViewMeta # | |||||
Defined in Napkin.Types.BigQuery Methods showsPrec :: Int -> MaterializedViewMeta -> ShowS # show :: MaterializedViewMeta -> String # showList :: [MaterializedViewMeta] -> ShowS # | |||||
| Eq MaterializedViewMeta # | |||||
Defined in Napkin.Types.BigQuery Methods (==) :: MaterializedViewMeta -> MaterializedViewMeta -> Bool # (/=) :: MaterializedViewMeta -> MaterializedViewMeta -> Bool # | |||||
| ToHashComponent BigQuery MaterializedViewMeta # | |||||
Defined in Napkin.Hash.BigQuery Methods | |||||
| type Rep MaterializedViewMeta # | |||||
Defined in Napkin.Types.BigQuery type Rep MaterializedViewMeta = D1 ('MetaData "MaterializedViewMeta" "Napkin.Types.BigQuery" "napkin-backend-bigquery-2.0.0-ImbvftYkxiHLT3qYl7zZv" '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 Methods parseJSON :: Value -> Parser RangeWithStep # parseJSONList :: Value -> Parser [RangeWithStep] # | |||||
| Data RangeWithStep # | |||||
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 # | |||||
Defined in Napkin.Types.BigQuery Associated Types
| |||||
| Show RangeWithStep # | |||||
Defined in Napkin.Types.BigQuery Methods showsPrec :: Int -> RangeWithStep -> ShowS # show :: RangeWithStep -> String # showList :: [RangeWithStep] -> ShowS # | |||||
| Eq RangeWithStep # | |||||
Defined in Napkin.Types.BigQuery Methods (==) :: RangeWithStep -> RangeWithStep -> Bool # (/=) :: RangeWithStep -> RangeWithStep -> Bool # | |||||
| ToHashComponent BigQuery RangeWithStep # | |||||
Defined in Napkin.Hash.BigQuery Methods | |||||
| type Rep RangeWithStep # | |||||
Defined in Napkin.Types.BigQuery type Rep RangeWithStep = D1 ('MetaData "RangeWithStep" "Napkin.Types.BigQuery" "napkin-backend-bigquery-2.0.0-ImbvftYkxiHLT3qYl7zZv" '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 Methods parseJSON :: Value -> Parser MaterializedViewRefresh # parseJSONList :: Value -> Parser [MaterializedViewRefresh] # | |||||
| Generic MaterializedViewRefresh # | |||||
Defined in Napkin.Types.BigQuery Associated Types
Methods from :: MaterializedViewRefresh -> Rep MaterializedViewRefresh x # to :: Rep MaterializedViewRefresh x -> MaterializedViewRefresh # | |||||
| Show MaterializedViewRefresh # | |||||
Defined in Napkin.Types.BigQuery Methods showsPrec :: Int -> MaterializedViewRefresh -> ShowS # show :: MaterializedViewRefresh -> String # showList :: [MaterializedViewRefresh] -> ShowS # | |||||
| Eq MaterializedViewRefresh # | |||||
Defined in Napkin.Types.BigQuery Methods (==) :: MaterializedViewRefresh -> MaterializedViewRefresh -> Bool # (/=) :: MaterializedViewRefresh -> MaterializedViewRefresh -> Bool # | |||||
| ToHashComponent BigQuery MaterializedViewRefresh # | |||||
Defined in Napkin.Hash.BigQuery Methods toHashComponent :: MaterializedViewRefresh -> HashComponent # | |||||
| type Rep MaterializedViewRefresh # | |||||
Defined in Napkin.Types.BigQuery type Rep MaterializedViewRefresh = D1 ('MetaData "MaterializedViewRefresh" "Napkin.Types.BigQuery" "napkin-backend-bigquery-2.0.0-ImbvftYkxiHLT3qYl7zZv" '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 #
Constructors
| ProvidedExplicitly | |
| ImplicitInSQL |
Instances
| Eq JobInsertTableName # | |
Defined in Napkin.Types.BigQuery Methods (==) :: JobInsertTableName -> JobInsertTableName -> Bool # (/=) :: JobInsertTableName -> JobInsertTableName -> Bool # | |
tableMeta :: ColumnName -> Clustering -> TableMeta #
newtype BQProjectId #
Constructors
| BQProjectId Text |
Instances
| FromJSON BQProjectId # | |||||
Defined in Napkin.Types.BigQuery | |||||
| Buildable BQProjectId # | |||||
Defined in Napkin.Types.BigQuery Methods build :: BQProjectId -> Builder # | |||||
| Data BQProjectId # | |||||
Defined in Napkin.Types.BigQuery Methods 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 Associated Types
| |||||
| Show BQProjectId # | |||||
Defined in Napkin.Types.BigQuery Methods showsPrec :: Int -> BQProjectId -> ShowS # show :: BQProjectId -> String # showList :: [BQProjectId] -> ShowS # | |||||
| Eq BQProjectId # | |||||
Defined in Napkin.Types.BigQuery | |||||
| Ord BQProjectId # | |||||
Defined in Napkin.Types.BigQuery Methods compare :: BQProjectId -> BQProjectId -> Ordering # (<) :: BQProjectId -> BQProjectId -> Bool # (<=) :: BQProjectId -> BQProjectId -> Bool # (>) :: BQProjectId -> BQProjectId -> Bool # (>=) :: BQProjectId -> BQProjectId -> Bool # max :: BQProjectId -> BQProjectId -> BQProjectId # min :: BQProjectId -> BQProjectId -> BQProjectId # | |||||
| ToHashComponent BigQuery BQProjectId # | |||||
Defined in Napkin.Hash.BigQuery Methods | |||||
| type Rep BQProjectId # | |||||
Defined in Napkin.Types.BigQuery type Rep BQProjectId = D1 ('MetaData "BQProjectId" "Napkin.Types.BigQuery" "napkin-backend-bigquery-2.0.0-ImbvftYkxiHLT3qYl7zZv" 'True) (C1 ('MetaCons "BQProjectId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) | |||||
newtype BQDataSetId #
Constructors
| BQDataSetId Text |
Instances
| FromJSON BQDataSetId # | |||||
Defined in Napkin.Types.BigQuery | |||||
| Buildable BQDataSetId # | |||||
Defined in Napkin.Types.BigQuery Methods build :: BQDataSetId -> Builder # | |||||
| Data BQDataSetId # | |||||
Defined in Napkin.Types.BigQuery Methods 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 Associated Types
| |||||
| Show BQDataSetId # | |||||
Defined in Napkin.Types.BigQuery Methods showsPrec :: Int -> BQDataSetId -> ShowS # show :: BQDataSetId -> String # showList :: [BQDataSetId] -> ShowS # | |||||
| Eq BQDataSetId # | |||||
Defined in Napkin.Types.BigQuery | |||||
| Ord BQDataSetId # | |||||
Defined in Napkin.Types.BigQuery Methods compare :: BQDataSetId -> BQDataSetId -> Ordering # (<) :: BQDataSetId -> BQDataSetId -> Bool # (<=) :: BQDataSetId -> BQDataSetId -> Bool # (>) :: BQDataSetId -> BQDataSetId -> Bool # (>=) :: BQDataSetId -> BQDataSetId -> Bool # max :: BQDataSetId -> BQDataSetId -> BQDataSetId # min :: BQDataSetId -> BQDataSetId -> BQDataSetId # | |||||
| ToHashComponent BigQuery BQDataSetId # | |||||
Defined in Napkin.Hash.BigQuery Methods | |||||
| type Rep BQDataSetId # | |||||
Defined in Napkin.Types.BigQuery type Rep BQDataSetId = D1 ('MetaData "BQDataSetId" "Napkin.Types.BigQuery" "napkin-backend-bigquery-2.0.0-ImbvftYkxiHLT3qYl7zZv" '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 Methods 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 Associated Types
| |||||
| Show BQTableId # | |||||
| Eq BQTableId # | |||||
| Ord BQTableId # | |||||
| type Rep BQTableId # | |||||
Defined in Napkin.Types.BigQuery | |||||
data BQDataSetReference #
Constructors
| BQDataSetReference | |
Fields | |
Instances
| FromJSON BQDataSetReference # | |||||
Defined in Napkin.Types.BigQuery Methods parseJSON :: Value -> Parser BQDataSetReference # parseJSONList :: Value -> Parser [BQDataSetReference] # | |||||
| Data BQDataSetReference # | |||||
Defined in Napkin.Types.BigQuery Methods 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 Associated Types
Methods from :: BQDataSetReference -> Rep BQDataSetReference x # to :: Rep BQDataSetReference x -> BQDataSetReference # | |||||
| Show BQDataSetReference # | |||||
Defined in Napkin.Types.BigQuery Methods showsPrec :: Int -> BQDataSetReference -> ShowS # show :: BQDataSetReference -> String # showList :: [BQDataSetReference] -> ShowS # | |||||
| Eq BQDataSetReference # | |||||
Defined in Napkin.Types.BigQuery Methods (==) :: BQDataSetReference -> BQDataSetReference -> Bool # (/=) :: BQDataSetReference -> BQDataSetReference -> Bool # | |||||
| Ord BQDataSetReference # | |||||
Defined in Napkin.Types.BigQuery Methods compare :: BQDataSetReference -> BQDataSetReference -> Ordering # (<) :: BQDataSetReference -> BQDataSetReference -> Bool # (<=) :: BQDataSetReference -> BQDataSetReference -> Bool # (>) :: BQDataSetReference -> BQDataSetReference -> Bool # (>=) :: BQDataSetReference -> BQDataSetReference -> Bool # max :: BQDataSetReference -> BQDataSetReference -> BQDataSetReference # min :: BQDataSetReference -> BQDataSetReference -> BQDataSetReference # | |||||
| ToHashComponent BigQuery BQDataSetReference # | |||||
Defined in Napkin.Hash.BigQuery Methods | |||||
| type Rep BQDataSetReference # | |||||
Defined in Napkin.Types.BigQuery type Rep BQDataSetReference = D1 ('MetaData "BQDataSetReference" "Napkin.Types.BigQuery" "napkin-backend-bigquery-2.0.0-ImbvftYkxiHLT3qYl7zZv" '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))) | |||||