graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellNone
LanguageHaskell2010

Hasura.Backends.DataConnector.IR.Aggregate

Documentation

data Aggregate Source #

Instances

Instances details
Eq Aggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Data Aggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Methods

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

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

toConstr :: Aggregate -> Constr #

dataTypeOf :: Aggregate -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Aggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Show Aggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Generic Aggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Associated Types

type Rep Aggregate :: Type -> Type #

NFData Aggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Methods

rnf :: Aggregate -> () #

Hashable Aggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

FromJSON Aggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Methods

parseJSON :: Value -> Parser Aggregate

parseJSONList :: Value -> Parser [Aggregate]

ToJSON Aggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Methods

toJSON :: Aggregate -> Value

toEncoding :: Aggregate -> Encoding

toJSONList :: [Aggregate] -> Value

toEncodingList :: [Aggregate] -> Encoding

Cacheable Aggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

From Aggregate Aggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

type Rep Aggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

type Rep Aggregate = D1 ('MetaData "Aggregate" "Hasura.Backends.DataConnector.IR.Aggregate" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "SingleColumn" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SingleColumnAggregate)) :+: C1 ('MetaCons "Count" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CountAggregate)))

data SingleColumnAggregate Source #

Instances

Instances details
Eq SingleColumnAggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Data SingleColumnAggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Methods

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

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

toConstr :: SingleColumnAggregate -> Constr #

dataTypeOf :: SingleColumnAggregate -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord SingleColumnAggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Show SingleColumnAggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Generic SingleColumnAggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Associated Types

type Rep SingleColumnAggregate :: Type -> Type #

NFData SingleColumnAggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Methods

rnf :: SingleColumnAggregate -> () #

Hashable SingleColumnAggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

FromJSON SingleColumnAggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Methods

parseJSON :: Value -> Parser SingleColumnAggregate

parseJSONList :: Value -> Parser [SingleColumnAggregate]

ToJSON SingleColumnAggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Cacheable SingleColumnAggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

From SingleColumnAggregate SingleColumnAggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

type Rep SingleColumnAggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

type Rep SingleColumnAggregate = D1 ('MetaData "SingleColumnAggregate" "Hasura.Backends.DataConnector.IR.Aggregate" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "SingleColumnAggregate" 'PrefixI 'True) (S1 ('MetaSel ('Just "_scaFunction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SingleColumnAggregateFunction) :*: S1 ('MetaSel ('Just "_scaColumn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Name)))

data SingleColumnAggregateFunction Source #

Instances

Instances details
Eq SingleColumnAggregateFunction Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Data SingleColumnAggregateFunction Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Methods

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

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

toConstr :: SingleColumnAggregateFunction -> Constr #

dataTypeOf :: SingleColumnAggregateFunction -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord SingleColumnAggregateFunction Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Show SingleColumnAggregateFunction Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Generic SingleColumnAggregateFunction Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Associated Types

type Rep SingleColumnAggregateFunction :: Type -> Type #

NFData SingleColumnAggregateFunction Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Hashable SingleColumnAggregateFunction Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

FromJSON SingleColumnAggregateFunction Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

ToJSON SingleColumnAggregateFunction Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Cacheable SingleColumnAggregateFunction Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

From SingleColumnAggregateFunction SingleColumnAggregateFunction Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

From SingleColumnAggregateFunction SingleColumnAggregateFunction Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

type Rep SingleColumnAggregateFunction Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

type Rep SingleColumnAggregateFunction = D1 ('MetaData "SingleColumnAggregateFunction" "Hasura.Backends.DataConnector.IR.Aggregate" "graphql-engine-1.0.0-inplace" 'False) (((C1 ('MetaCons "Average" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Max" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Min" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "StandardDeviationPopulation" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "StandardDeviationSample" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Sum" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "VariancePopulation" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "VarianceSample" 'PrefixI 'False) (U1 :: Type -> Type))))

data CountAggregate Source #

Instances

Instances details
Eq CountAggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Data CountAggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Methods

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

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

toConstr :: CountAggregate -> Constr #

dataTypeOf :: CountAggregate -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord CountAggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Show CountAggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Generic CountAggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Associated Types

type Rep CountAggregate :: Type -> Type #

NFData CountAggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Methods

rnf :: CountAggregate -> () #

Hashable CountAggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

FromJSON CountAggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Methods

parseJSON :: Value -> Parser CountAggregate

parseJSONList :: Value -> Parser [CountAggregate]

ToJSON CountAggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

Methods

toJSON :: CountAggregate -> Value

toEncoding :: CountAggregate -> Encoding

toJSONList :: [CountAggregate] -> Value

toEncodingList :: [CountAggregate] -> Encoding

Cacheable CountAggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

type Rep CountAggregate Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Aggregate

type Rep CountAggregate = D1 ('MetaData "CountAggregate" "Hasura.Backends.DataConnector.IR.Aggregate" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "StarCount" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ColumnCount" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Name)) :+: C1 ('MetaCons "ColumnDistinctCount" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Name))))