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

Hasura.Backends.Postgres.Types.CitusExtraTableMetadata

Description

Postgres Types CitusExtraTableMetadata

Additional metadata information for Citus tables.

See https://www.citusdata.com/blog/2017/07/27/database-table-types-with-citus-and-postgres/ for more details on the Citus table types.

Documentation

data ExtraTableMetadata Source #

Constructors

Local 
Reference 
Distributed 

Fields

Instances

Instances details
Eq ExtraTableMetadata Source # 
Instance details

Defined in Hasura.Backends.Postgres.Types.CitusExtraTableMetadata

Show ExtraTableMetadata Source # 
Instance details

Defined in Hasura.Backends.Postgres.Types.CitusExtraTableMetadata

Generic ExtraTableMetadata Source # 
Instance details

Defined in Hasura.Backends.Postgres.Types.CitusExtraTableMetadata

Associated Types

type Rep ExtraTableMetadata :: Type -> Type #

NFData ExtraTableMetadata Source # 
Instance details

Defined in Hasura.Backends.Postgres.Types.CitusExtraTableMetadata

Methods

rnf :: ExtraTableMetadata -> () #

Hashable ExtraTableMetadata Source # 
Instance details

Defined in Hasura.Backends.Postgres.Types.CitusExtraTableMetadata

FromJSON ExtraTableMetadata Source # 
Instance details

Defined in Hasura.Backends.Postgres.Types.CitusExtraTableMetadata

Methods

parseJSON :: Value -> Parser ExtraTableMetadata

parseJSONList :: Value -> Parser [ExtraTableMetadata]

ToJSON ExtraTableMetadata Source # 
Instance details

Defined in Hasura.Backends.Postgres.Types.CitusExtraTableMetadata

Cacheable ExtraTableMetadata Source # 
Instance details

Defined in Hasura.Backends.Postgres.Types.CitusExtraTableMetadata

type Rep ExtraTableMetadata Source # 
Instance details

Defined in Hasura.Backends.Postgres.Types.CitusExtraTableMetadata

type Rep ExtraTableMetadata = D1 ('MetaData "ExtraTableMetadata" "Hasura.Backends.Postgres.Types.CitusExtraTableMetadata" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "Local" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Reference" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Distributed" 'PrefixI 'True) (S1 ('MetaSel ('Just "distributionColumn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))