ClickHaskell-0.2.0: ClickHouse driver
Safe HaskellSafe-Inferred
LanguageHaskell2010

ClickHaskell.DeSerialization

Description

Deprecated: This module would be deleted in next minor releasePlease move its imports to ClickHaskell module

Documentation

class Deserializable chType where Source #

Minimal complete definition

Nothing

Methods

deserialize :: ProtocolRevision -> Get chType Source #

default deserialize :: (Generic chType, GDeserializable (Rep chType)) => ProtocolRevision -> Get chType Source #

Instances

Instances details
Deserializable ChDate Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Deserializable ChDateTime Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Deserializable ChInt128 Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Deserializable ChInt16 Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Deserializable ChInt32 Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Deserializable ChInt64 Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Deserializable ChInt8 Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Deserializable ChString Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Deserializable ChUInt128 Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Deserializable ChUInt16 Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Deserializable ChUInt32 Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Deserializable ChUInt64 Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Deserializable ChUInt8 Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Deserializable ChUUID Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Deserializable ProtocolRevision Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Deserializable UVarInt Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

(KnownNat revision, Deserializable chType) => Deserializable (SinceRevision chType revision) Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Methods

deserialize :: ProtocolRevision -> Get (SinceRevision chType revision) Source #

class GDeserializable f where Source #

Instances

Instances details
GDeserializable (left :*: (right1 :*: right2)) => GDeserializable ((left :*: right1) :*: right2) Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Methods

gDeserialize :: ProtocolRevision -> Get (((left :*: right1) :*: right2) p) Source #

(GDeserializable (S1 metaSel field), GDeserializable right) => GDeserializable (S1 metaSel field :*: right) Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Methods

gDeserialize :: ProtocolRevision -> Get ((S1 metaSel field :*: right) p) Source #

GDeserializable f => GDeserializable (D1 c (C1 c2 f)) Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Methods

gDeserialize :: ProtocolRevision -> Get (D1 c (C1 c2 f) p) Source #

Deserializable chType => GDeserializable (S1 ('MetaSel ('Just typeName) a b f) (Rec0 chType)) Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Methods

gDeserialize :: ProtocolRevision -> Get (S1 ('MetaSel ('Just typeName) a b f) (Rec0 chType) p) Source #

class Serializable chType where Source #

Minimal complete definition

Nothing

Methods

serialize :: ProtocolRevision -> chType -> Builder Source #

default serialize :: (Generic chType, GSerializable (Rep chType)) => ProtocolRevision -> chType -> Builder Source #

Instances

Instances details
Serializable ChDate Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Serializable ChDateTime Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Serializable ChInt128 Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Serializable ChInt16 Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Serializable ChInt32 Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Serializable ChInt64 Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Serializable ChInt8 Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Serializable ChString Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Serializable ChUInt128 Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Serializable ChUInt16 Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Serializable ChUInt32 Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Serializable ChUInt64 Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Serializable ChUInt8 Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Serializable ChUUID Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Serializable ProtocolRevision Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Serializable UVarInt Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

(Serializable (Columns columns), Serializable col) => Serializable (Columns (col ': columns)) Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Methods

serialize :: ProtocolRevision -> Columns (col ': columns) -> Builder Source #

Serializable (Columns ('[] :: [Type])) Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

(KnownColumn (Column name (Nullable chType)), IsChType chType, Serializable chType, TypeError ('Text "LowCardinality serialization still unsupported") :: Constraint) => Serializable (Column name (LowCardinality chType)) Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

(KnownColumn (Column name (Nullable chType)), IsChType chType, Serializable chType) => Serializable (Column name (Nullable chType)) Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Methods

serialize :: ProtocolRevision -> Column name (Nullable chType) -> Builder Source #

(KnownColumn (Column name chType), IsChType chType, Serializable chType) => Serializable (Column name chType) Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Methods

serialize :: ProtocolRevision -> Column name chType -> Builder Source #

(KnownNat revision, Serializable chType) => Serializable (SinceRevision chType revision) Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Methods

serialize :: ProtocolRevision -> SinceRevision chType revision -> Builder Source #

class GSerializable f where Source #

Instances

Instances details
GSerializable (left1 :*: (left2 :*: right)) => GSerializable ((left1 :*: left2) :*: right) Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Methods

gSerialize :: ProtocolRevision -> ((left1 :*: left2) :*: right) p -> Builder Source #

(Serializable chType, GSerializable right) => GSerializable (S1 ('MetaSel ('Just typeName) a b f) (Rec0 chType) :*: right) Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Methods

gSerialize :: ProtocolRevision -> (S1 ('MetaSel ('Just typeName) a b f) (Rec0 chType) :*: right) p -> Builder Source #

GSerializable f => GSerializable (D1 c (C1 c2 f)) Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Methods

gSerialize :: ProtocolRevision -> D1 c (C1 c2 f) p -> Builder Source #

Serializable chType => GSerializable (S1 ('MetaSel ('Just typeName) a b f) (Rec0 chType)) Source # 
Instance details

Defined in ClickHaskell.NativeProtocol

Methods

gSerialize :: ProtocolRevision -> S1 ('MetaSel ('Just typeName) a b f) (Rec0 chType) p -> Builder Source #