napkin-0.5.12
Copyright(c) Soostone Inc 2020
LicenseAllRightsReserved
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Napkin.Types.Postgres.Timescale

Description

 

Documentation

newtype TimescaleViewMeta #

Instances

Instances details
Eq TimescaleViewMeta # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

Data TimescaleViewMeta # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

Methods

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

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

toConstr :: TimescaleViewMeta -> Constr #

dataTypeOf :: TimescaleViewMeta -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TimescaleViewMeta # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

Generic TimescaleViewMeta # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

Associated Types

type Rep TimescaleViewMeta :: Type -> Type #

FromJSON TimescaleViewMeta # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

Default TimescaleViewMeta # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

type Rep TimescaleViewMeta # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

type Rep TimescaleViewMeta = D1 ('MetaData "TimescaleViewMeta" "Napkin.Types.Postgres.Timescale" "napkin-0.5.12-IOJ7B058YIK5gpjD82pDT5" 'True) (C1 ('MetaCons "TimescaleViewMeta" 'PrefixI 'True) (S1 ('MetaSel ('Just "_continuous") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (BoolOrOpts ContinuousViewMeta))))

newtype BoolOrOpts a #

Constructors

BoolOrOpts (Maybe a) 

Instances

Instances details
Eq a => Eq (BoolOrOpts a) # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

Methods

(==) :: BoolOrOpts a -> BoolOrOpts a -> Bool #

(/=) :: BoolOrOpts a -> BoolOrOpts a -> Bool #

Data a => Data (BoolOrOpts a) # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

Methods

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) #

Show a => Show (BoolOrOpts a) # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

Generic (BoolOrOpts a) # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

Associated Types

type Rep (BoolOrOpts a) :: Type -> Type #

Methods

from :: BoolOrOpts a -> Rep (BoolOrOpts a) x #

to :: Rep (BoolOrOpts a) x -> BoolOrOpts a #

(Default a, FromJSON a) => FromJSON (BoolOrOpts a) # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

Default (BoolOrOpts a) # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

Methods

def :: BoolOrOpts a #

Wrapped (BoolOrOpts a) # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

Associated Types

type Unwrapped (BoolOrOpts a) #

type Rep (BoolOrOpts a) # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

type Rep (BoolOrOpts a) = D1 ('MetaData "BoolOrOpts" "Napkin.Types.Postgres.Timescale" "napkin-0.5.12-IOJ7B058YIK5gpjD82pDT5" 'True) (C1 ('MetaCons "BoolOrOpts" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe a))))
type Unwrapped (BoolOrOpts a) # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

type Unwrapped (BoolOrOpts a) = GUnwrapped (Rep (BoolOrOpts a))

data ContinuousViewMeta #

Instances

Instances details
Eq ContinuousViewMeta # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

Data ContinuousViewMeta # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

Methods

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 #

Show ContinuousViewMeta # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

Generic ContinuousViewMeta # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

Associated Types

type Rep ContinuousViewMeta :: Type -> Type #

FromJSON ContinuousViewMeta # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

Default ContinuousViewMeta # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

type Rep ContinuousViewMeta # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

type Rep ContinuousViewMeta = D1 ('MetaData "ContinuousViewMeta" "Napkin.Types.Postgres.Timescale" "napkin-0.5.12-IOJ7B058YIK5gpjD82pDT5" '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)))))

data ContinuousAggregatePolicy #

Instances

Instances details
Eq ContinuousAggregatePolicy # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

Data ContinuousAggregatePolicy # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

Methods

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 #

Show ContinuousAggregatePolicy # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

Generic ContinuousAggregatePolicy # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

Associated Types

type Rep ContinuousAggregatePolicy :: Type -> Type #

FromJSON ContinuousAggregatePolicy # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

type Rep ContinuousAggregatePolicy # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

type Rep ContinuousAggregatePolicy = D1 ('MetaData "ContinuousAggregatePolicy" "Napkin.Types.Postgres.Timescale" "napkin-0.5.12-IOJ7B058YIK5gpjD82pDT5" '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))))

data ContinuousAggregatePolicy' a #

Instances

Instances details
Eq a => Eq (ContinuousAggregatePolicy' a) # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

Data a => Data (ContinuousAggregatePolicy' a) # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

Methods

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) #

Show a => Show (ContinuousAggregatePolicy' a) # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

Generic (ContinuousAggregatePolicy' a) # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

Associated Types

type Rep (ContinuousAggregatePolicy' a) :: Type -> Type #

FromJSON a => FromJSON (ContinuousAggregatePolicy' a) # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

Default a => Default (ContinuousAggregatePolicy' a) # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

type Rep (ContinuousAggregatePolicy' a) # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

type Rep (ContinuousAggregatePolicy' a) = D1 ('MetaData "ContinuousAggregatePolicy'" "Napkin.Types.Postgres.Timescale" "napkin-0.5.12-IOJ7B058YIK5gpjD82pDT5" 'False) (C1 ('MetaCons "ContinuousAggregatePolicy" 'PrefixI 'True) (S1 ('MetaSel ('Just "_startOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: (S1 ('MetaSel ('Just "_endOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: S1 ('MetaSel ('Just "_scheduleInterval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a))))

data RetentionPolicy #

Instances

Instances details
Eq RetentionPolicy # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

Data RetentionPolicy # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

Methods

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 #

Show RetentionPolicy # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

Generic RetentionPolicy # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

Associated Types

type Rep RetentionPolicy :: Type -> Type #

FromJSON RetentionPolicy # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

type Rep RetentionPolicy # 
Instance details

Defined in Napkin.Types.Postgres.Timescale

type Rep RetentionPolicy = D1 ('MetaData "RetentionPolicy" "Napkin.Types.Postgres.Timescale" "napkin-0.5.12-IOJ7B058YIK5gpjD82pDT5" '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)))