Safe Haskell | None |
---|---|
Language | GHC2024 |
Documentation
newtype TimescaleViewMeta #
Instances
newtype BoolOrOpts a #
BoolOrOpts (Maybe a) |
Instances
(Default a, FromJSON a) => FromJSON (BoolOrOpts a) # | |||||
Defined in Napkin.Types.Postgres.Timescale parseJSON :: Value -> Parser (BoolOrOpts a) # parseJSONList :: Value -> Parser [BoolOrOpts a] # omittedField :: Maybe (BoolOrOpts a) # | |||||
Default (BoolOrOpts a) # | |||||
Defined in Napkin.Types.Postgres.Timescale def :: BoolOrOpts a # | |||||
Data a => Data (BoolOrOpts a) # | |||||
Defined in Napkin.Types.Postgres.Timescale gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BoolOrOpts a -> c (BoolOrOpts a) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (BoolOrOpts a) # toConstr :: BoolOrOpts a -> Constr # dataTypeOf :: BoolOrOpts a -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (BoolOrOpts a)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (BoolOrOpts a)) # gmapT :: (forall b. Data b => b -> b) -> BoolOrOpts a -> BoolOrOpts a # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BoolOrOpts a -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BoolOrOpts a -> r # gmapQ :: (forall d. Data d => d -> u) -> BoolOrOpts a -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> BoolOrOpts a -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> BoolOrOpts a -> m (BoolOrOpts a) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BoolOrOpts a -> m (BoolOrOpts a) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BoolOrOpts a -> m (BoolOrOpts a) # | |||||
Generic (BoolOrOpts a) # | |||||
Defined in Napkin.Types.Postgres.Timescale
from :: BoolOrOpts a -> Rep (BoolOrOpts a) x # to :: Rep (BoolOrOpts a) x -> BoolOrOpts a # | |||||
Show a => Show (BoolOrOpts a) # | |||||
Defined in Napkin.Types.Postgres.Timescale showsPrec :: Int -> BoolOrOpts a -> ShowS # show :: BoolOrOpts a -> String # showList :: [BoolOrOpts a] -> ShowS # | |||||
Eq a => Eq (BoolOrOpts a) # | |||||
Defined in Napkin.Types.Postgres.Timescale (==) :: BoolOrOpts a -> BoolOrOpts a -> Bool # (/=) :: BoolOrOpts a -> BoolOrOpts a -> Bool # | |||||
Wrapped (BoolOrOpts a) # | |||||
Defined in Napkin.Types.Postgres.Timescale
_Wrapped' :: Iso' (BoolOrOpts a) (Unwrapped (BoolOrOpts a)) # | |||||
type Rep (BoolOrOpts a) # | |||||
Defined in Napkin.Types.Postgres.Timescale type Rep (BoolOrOpts a) = D1 ('MetaData "BoolOrOpts" "Napkin.Types.Postgres.Timescale" "napkin-backend-postgres-redshift-2.0.0-J3UFNsryji7KyuggPsq12S" 'True) (C1 ('MetaCons "BoolOrOpts" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe a)))) | |||||
type Unwrapped (BoolOrOpts a) # | |||||
Defined in Napkin.Types.Postgres.Timescale |
data ContinuousViewMeta #
Instances
FromJSON ContinuousViewMeta # | |||||
Defined in Napkin.Types.Postgres.Timescale | |||||
Default ContinuousViewMeta # | |||||
Defined in Napkin.Types.Postgres.Timescale | |||||
Data ContinuousViewMeta # | |||||
Defined in Napkin.Types.Postgres.Timescale gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ContinuousViewMeta -> c ContinuousViewMeta # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ContinuousViewMeta # toConstr :: ContinuousViewMeta -> Constr # dataTypeOf :: ContinuousViewMeta -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ContinuousViewMeta) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ContinuousViewMeta) # gmapT :: (forall b. Data b => b -> b) -> ContinuousViewMeta -> ContinuousViewMeta # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ContinuousViewMeta -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ContinuousViewMeta -> r # gmapQ :: (forall d. Data d => d -> u) -> ContinuousViewMeta -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> ContinuousViewMeta -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ContinuousViewMeta -> m ContinuousViewMeta # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ContinuousViewMeta -> m ContinuousViewMeta # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ContinuousViewMeta -> m ContinuousViewMeta # | |||||
Generic ContinuousViewMeta # | |||||
Defined in Napkin.Types.Postgres.Timescale
from :: ContinuousViewMeta -> Rep ContinuousViewMeta x # to :: Rep ContinuousViewMeta x -> ContinuousViewMeta # | |||||
Show ContinuousViewMeta # | |||||
Defined in Napkin.Types.Postgres.Timescale showsPrec :: Int -> ContinuousViewMeta -> ShowS # show :: ContinuousViewMeta -> String # showList :: [ContinuousViewMeta] -> ShowS # | |||||
Eq ContinuousViewMeta # | |||||
Defined in Napkin.Types.Postgres.Timescale (==) :: ContinuousViewMeta -> ContinuousViewMeta -> Bool # (/=) :: ContinuousViewMeta -> ContinuousViewMeta -> Bool # | |||||
type Rep ContinuousViewMeta # | |||||
Defined in Napkin.Types.Postgres.Timescale type Rep ContinuousViewMeta = D1 ('MetaData "ContinuousViewMeta" "Napkin.Types.Postgres.Timescale" "napkin-backend-postgres-redshift-2.0.0-J3UFNsryji7KyuggPsq12S" 'False) (C1 ('MetaCons "ContinuousViewMeta" 'PrefixI 'True) ((S1 ('MetaSel ('Just "materializedOnly") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "createGroupIndexes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "aggregatePolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ContinuousAggregatePolicy)) :*: S1 ('MetaSel ('Just "retentionPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe RetentionPolicy))))) |
pattern ContinuousView :: Maybe ContinuousAggregatePolicy -> Maybe RetentionPolicy -> TimescaleViewMeta #
data ContinuousAggregatePolicy #
IntervalContinuousAggregatePolicy' (ContinuousAggregatePolicy' Text) | |
IntegerContinuousAggregatePolicy' (ContinuousAggregatePolicy' Integer) |
Instances
FromJSON ContinuousAggregatePolicy # | |||||
Data ContinuousAggregatePolicy # | |||||
Defined in Napkin.Types.Postgres.Timescale gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ContinuousAggregatePolicy -> c ContinuousAggregatePolicy # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ContinuousAggregatePolicy # toConstr :: ContinuousAggregatePolicy -> Constr # dataTypeOf :: ContinuousAggregatePolicy -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ContinuousAggregatePolicy) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ContinuousAggregatePolicy) # gmapT :: (forall b. Data b => b -> b) -> ContinuousAggregatePolicy -> ContinuousAggregatePolicy # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ContinuousAggregatePolicy -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ContinuousAggregatePolicy -> r # gmapQ :: (forall d. Data d => d -> u) -> ContinuousAggregatePolicy -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> ContinuousAggregatePolicy -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ContinuousAggregatePolicy -> m ContinuousAggregatePolicy # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ContinuousAggregatePolicy -> m ContinuousAggregatePolicy # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ContinuousAggregatePolicy -> m ContinuousAggregatePolicy # | |||||
Generic ContinuousAggregatePolicy # | |||||
Defined in Napkin.Types.Postgres.Timescale
| |||||
Show ContinuousAggregatePolicy # | |||||
Defined in Napkin.Types.Postgres.Timescale showsPrec :: Int -> ContinuousAggregatePolicy -> ShowS # show :: ContinuousAggregatePolicy -> String # showList :: [ContinuousAggregatePolicy] -> ShowS # | |||||
Eq ContinuousAggregatePolicy # | |||||
Defined in Napkin.Types.Postgres.Timescale | |||||
type Rep ContinuousAggregatePolicy # | |||||
Defined in Napkin.Types.Postgres.Timescale type Rep ContinuousAggregatePolicy = D1 ('MetaData "ContinuousAggregatePolicy" "Napkin.Types.Postgres.Timescale" "napkin-backend-postgres-redshift-2.0.0-J3UFNsryji7KyuggPsq12S" 'False) (C1 ('MetaCons "IntervalContinuousAggregatePolicy'" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ContinuousAggregatePolicy' Text))) :+: C1 ('MetaCons "IntegerContinuousAggregatePolicy'" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ContinuousAggregatePolicy' Integer)))) |
pattern IntervalContinuousAggregatePolicy :: Maybe Text -> Maybe Text -> Text -> Maybe ContinuousAggregatePolicy #
pattern IntegerContinuousAggregatePolicy :: Maybe Integer -> Maybe Integer -> Integer -> Maybe ContinuousAggregatePolicy #
data ContinuousAggregatePolicy' a #
ContinuousAggregatePolicy | |
|
Instances
FromJSON a => FromJSON (ContinuousAggregatePolicy' a) # | |||||
Defined in Napkin.Types.Postgres.Timescale parseJSON :: Value -> Parser (ContinuousAggregatePolicy' a) # parseJSONList :: Value -> Parser [ContinuousAggregatePolicy' a] # | |||||
Default a => Default (ContinuousAggregatePolicy' a) # | |||||
Defined in Napkin.Types.Postgres.Timescale | |||||
Data a => Data (ContinuousAggregatePolicy' a) # | |||||
Defined in Napkin.Types.Postgres.Timescale gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ContinuousAggregatePolicy' a -> c (ContinuousAggregatePolicy' a) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (ContinuousAggregatePolicy' a) # toConstr :: ContinuousAggregatePolicy' a -> Constr # dataTypeOf :: ContinuousAggregatePolicy' a -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (ContinuousAggregatePolicy' a)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (ContinuousAggregatePolicy' a)) # gmapT :: (forall b. Data b => b -> b) -> ContinuousAggregatePolicy' a -> ContinuousAggregatePolicy' a # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ContinuousAggregatePolicy' a -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ContinuousAggregatePolicy' a -> r # gmapQ :: (forall d. Data d => d -> u) -> ContinuousAggregatePolicy' a -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> ContinuousAggregatePolicy' a -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ContinuousAggregatePolicy' a -> m (ContinuousAggregatePolicy' a) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ContinuousAggregatePolicy' a -> m (ContinuousAggregatePolicy' a) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ContinuousAggregatePolicy' a -> m (ContinuousAggregatePolicy' a) # | |||||
Generic (ContinuousAggregatePolicy' a) # | |||||
Defined in Napkin.Types.Postgres.Timescale
from :: ContinuousAggregatePolicy' a -> Rep (ContinuousAggregatePolicy' a) x # to :: Rep (ContinuousAggregatePolicy' a) x -> ContinuousAggregatePolicy' a # | |||||
Show a => Show (ContinuousAggregatePolicy' a) # | |||||
Defined in Napkin.Types.Postgres.Timescale showsPrec :: Int -> ContinuousAggregatePolicy' a -> ShowS # show :: ContinuousAggregatePolicy' a -> String # showList :: [ContinuousAggregatePolicy' a] -> ShowS # | |||||
Eq a => Eq (ContinuousAggregatePolicy' a) # | |||||
Defined in Napkin.Types.Postgres.Timescale (==) :: ContinuousAggregatePolicy' a -> ContinuousAggregatePolicy' a -> Bool # (/=) :: ContinuousAggregatePolicy' a -> ContinuousAggregatePolicy' a -> Bool # | |||||
type Rep (ContinuousAggregatePolicy' a) # | |||||
Defined in Napkin.Types.Postgres.Timescale type Rep (ContinuousAggregatePolicy' a) = D1 ('MetaData "ContinuousAggregatePolicy'" "Napkin.Types.Postgres.Timescale" "napkin-backend-postgres-redshift-2.0.0-J3UFNsryji7KyuggPsq12S" 'False) (C1 ('MetaCons "ContinuousAggregatePolicy" 'PrefixI 'True) (S1 ('MetaSel ('Just "startOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe a)) :*: (S1 ('MetaSel ('Just "endOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe a)) :*: S1 ('MetaSel ('Just "scheduleInterval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a)))) |
data RetentionPolicy #
Instances
FromJSON RetentionPolicy # | |||||
Defined in Napkin.Types.Postgres.Timescale parseJSON :: Value -> Parser RetentionPolicy # parseJSONList :: Value -> Parser [RetentionPolicy] # | |||||
Data RetentionPolicy # | |||||
Defined in Napkin.Types.Postgres.Timescale gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RetentionPolicy -> c RetentionPolicy # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RetentionPolicy # toConstr :: RetentionPolicy -> Constr # dataTypeOf :: RetentionPolicy -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RetentionPolicy) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RetentionPolicy) # gmapT :: (forall b. Data b => b -> b) -> RetentionPolicy -> RetentionPolicy # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RetentionPolicy -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RetentionPolicy -> r # gmapQ :: (forall d. Data d => d -> u) -> RetentionPolicy -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> RetentionPolicy -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> RetentionPolicy -> m RetentionPolicy # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RetentionPolicy -> m RetentionPolicy # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RetentionPolicy -> m RetentionPolicy # | |||||
Generic RetentionPolicy # | |||||
Defined in Napkin.Types.Postgres.Timescale
from :: RetentionPolicy -> Rep RetentionPolicy x # to :: Rep RetentionPolicy x -> RetentionPolicy # | |||||
Show RetentionPolicy # | |||||
Defined in Napkin.Types.Postgres.Timescale showsPrec :: Int -> RetentionPolicy -> ShowS # show :: RetentionPolicy -> String # showList :: [RetentionPolicy] -> ShowS # | |||||
Eq RetentionPolicy # | |||||
Defined in Napkin.Types.Postgres.Timescale (==) :: RetentionPolicy -> RetentionPolicy -> Bool # (/=) :: RetentionPolicy -> RetentionPolicy -> Bool # | |||||
type Rep RetentionPolicy # | |||||
Defined in Napkin.Types.Postgres.Timescale type Rep RetentionPolicy = D1 ('MetaData "RetentionPolicy" "Napkin.Types.Postgres.Timescale" "napkin-backend-postgres-redshift-2.0.0-J3UFNsryji7KyuggPsq12S" 'False) (C1 ('MetaCons "IntervalRetentionPolicy'" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "IntegerRetentionPolicy'" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer))) |
pattern IntervalRetentionPolicy :: Text -> Maybe RetentionPolicy #
pattern IntegerRetentionPolicy :: Integer -> Maybe RetentionPolicy #
pattern NoRetentionPolicy :: Maybe RetentionPolicy #