ClickHaskell-0.0.0.1: ClickHouse driver
Safe HaskellSafe-Inferred
LanguageHaskell2010

ClickHaskell.DbTypes

Synopsis

Documentation

class IsChType chType where Source #

Minimal complete definition

Nothing

Associated Types

type ToChTypeName chType :: Symbol Source #

Shows database original type name

type ToChTypeName ChString = "String"
type ToChTypeName (Nullable ChUInt32) = "Nullable(UInt32)"

type IsWriteOptional chType :: Bool Source #

There is only one native ClickHaskell write optional type - Nullable(T)

type IsWriteOptional (Nullable someChType) = True

Instances

Instances details
IsChType ChDateTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

IsChType ChInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

IsChType ChInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

IsChType ChInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

IsChType ChInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

IsChType ChInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

IsChType ChString Source # 
Instance details

Defined in ClickHaskell.DbTypes

IsChType ChUInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

IsChType ChUInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

IsChType ChUInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

IsChType ChUInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

IsChType ChUInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

IsChType ChUUID Source # 
Instance details

Defined in ClickHaskell.DbTypes

IsChType chType => IsChType (ChArray chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName (ChArray chType) :: Symbol Source #

type IsWriteOptional (ChArray chType) :: Bool Source #

IsLowCardinalitySupported chType => IsChType (LowCardinality chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName (LowCardinality chType) :: Symbol Source #

type IsWriteOptional (LowCardinality chType) :: Bool Source #

(TypeError (('Text (ToChTypeName (Nullable (LowCardinality chType))) ':<>: 'Text " is unsupported type in ClickHouse.") ':$$: (('Text "Use " ':<>: 'Text (ToChTypeName (LowCardinality (Nullable chType)))) ':<>: 'Text " instead.")) :: Constraint, IsChType chType) => IsChType (Nullable (LowCardinality chType)) Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName (Nullable (LowCardinality chType)) :: Symbol Source #

type IsWriteOptional (Nullable (LowCardinality chType)) :: Bool Source #

IsChType chType => IsChType (Nullable chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName (Nullable chType) :: Symbol Source #

type IsWriteOptional (Nullable chType) :: Bool Source #

class IsChType chType => ToChType chType inputType where Source #

Methods

toChType :: inputType -> chType Source #

Instances

Instances details
ToChType ChDateTime ChDateTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChDateTime Word32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChDateTime UTCTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChDateTime ZonedTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChInt128 ChInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChInt128 Int128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChInt16 ChInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChInt16 Int16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChInt32 ChInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChInt32 Int32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChInt64 ChInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChInt64 Int64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChInt64 Int Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

toChType :: Int -> ChInt64 Source #

ToChType ChInt8 ChInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChInt8 Int8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

toChType :: Int8 -> ChInt8 Source #

ToChType ChString ChString Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChString StrictByteString Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChString Text Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChString String Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChString Int Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt128 ChUInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt128 Word64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt128 UUID Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt128 Word128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt16 ChUInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt16 Word16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt32 ChUInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt32 Word32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt64 ChUInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt64 Word64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt8 ChUInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt8 Word8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUUID ChUUID Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUUID Word64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUUID UUID Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

toChType :: UUID -> ChUUID Source #

(IsLowCardinalitySupported chType, IsChType chType) => ToChType chType (LowCardinality chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

toChType :: LowCardinality chType -> chType Source #

(ToChType inputType chType, IsLowCardinalitySupported inputType) => ToChType (LowCardinality inputType) chType Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

toChType :: chType -> LowCardinality inputType Source #

IsChType chType => ToChType (ChArray chType) [chType] Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

toChType :: [chType] -> ChArray chType Source #

ToChType chType inputType => ToChType (ChArray chType) [inputType] Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

toChType :: [inputType] -> ChArray chType Source #

ToChType inputType chType => ToChType (Nullable inputType) (Nullable chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

toChType :: Nullable chType -> Nullable inputType Source #

class IsChType chType => FromChType chType outputType where Source #

Methods

fromChType :: chType -> outputType Source #

Instances

Instances details
FromChType ChDateTime ChDateTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChDateTime Word32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChDateTime UTCTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChInt128 ChInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChInt128 Int128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChInt16 ChInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChInt16 Int16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChInt32 ChInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChInt32 Int32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChInt64 ChInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChInt64 Int64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChInt8 ChInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChInt8 Int8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChString ChString Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChString StrictByteString Source # 
Instance details

Defined in ClickHaskell.DbTypes

(TypeError (('Text "You are trying to convert ChString to Text using FromChType convertion mechanism" ':$$: 'Text "It could be a bad idea since Text is semantically smaller than ByteString") ':$$: 'Text "Decode ByteString manually if you are sure it's always can be decoded or replace it with ByteString") :: Constraint) => FromChType ChString Text Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUInt128 ChUInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUInt128 Word128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUInt16 ChUInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUInt16 Word16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUInt32 ChUInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUInt32 Word32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUInt64 ChUInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUInt64 Word64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUInt8 ChUInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUInt8 Word8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUUID ChUUID Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUUID UUID Source # 
Instance details

Defined in ClickHaskell.DbTypes

(IsLowCardinalitySupported chType, IsChType chType) => FromChType chType (LowCardinality chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

fromChType :: chType -> LowCardinality chType Source #

(FromChType chType outputType, IsLowCardinalitySupported chType) => FromChType (LowCardinality chType) outputType Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

fromChType :: LowCardinality chType -> outputType Source #

IsChType chType => FromChType (ChArray chType) [chType] Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

fromChType :: ChArray chType -> [chType] Source #

FromChType chType inputType => FromChType (Nullable chType) (Nullable inputType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

fromChType :: Nullable chType -> Nullable inputType Source #

class IsChType chType => ToQueryPart chType where Source #

Methods

toQueryPart :: chType -> Builder Source #

Instances

Instances details
ToQueryPart ChDateTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToQueryPart ChInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToQueryPart ChInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToQueryPart ChInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToQueryPart ChInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToQueryPart ChInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToQueryPart ChString Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToQueryPart ChUInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToQueryPart ChUInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToQueryPart ChUInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToQueryPart ChUInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToQueryPart ChUInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToQueryPart chType => ToQueryPart (ChArray chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

toQueryPart :: ChArray chType -> Builder Source #

(ToQueryPart chType, IsLowCardinalitySupported chType) => ToQueryPart (LowCardinality chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToQueryPart chType => ToQueryPart (Nullable chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

toQueryPart :: Nullable chType -> Builder Source #

data ChDateTime Source #

ClickHouse DateTime column type

Instances

Instances details
IsChType ChDateTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToQueryPart ChDateTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

Deserializable ChDateTime Source # 
Instance details

Defined in ClickHaskell.Reading

Serializable ChDateTime Source # 
Instance details

Defined in ClickHaskell.Writing

Bounded ChDateTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

Enum ChDateTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

Show ChDateTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

NFData ChDateTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

rnf :: ChDateTime -> () #

Eq ChDateTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

Prim ChDateTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChDateTime ChDateTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChDateTime Word32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChDateTime UTCTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChDateTime ChDateTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChDateTime Word32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChDateTime UTCTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChDateTime ZonedTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

type IsWriteOptional ChDateTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChDateTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChDateTime = "DateTime"

data ChInt8 Source #

ClickHouse Int8 column type

Instances

Instances details
IsChType ChInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToQueryPart ChInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Deserializable ChInt8 Source # 
Instance details

Defined in ClickHaskell.Reading

Serializable ChInt8 Source # 
Instance details

Defined in ClickHaskell.Writing

Bounded ChInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Num ChInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Show ChInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

NFData ChInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

rnf :: ChInt8 -> () #

Eq ChInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

(==) :: ChInt8 -> ChInt8 -> Bool #

(/=) :: ChInt8 -> ChInt8 -> Bool #

Prim ChInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChInt8 ChInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChInt8 Int8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChInt8 ChInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChInt8 Int8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

toChType :: Int8 -> ChInt8 Source #

type IsWriteOptional ChInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChInt8 = "Int8"

data ChInt16 Source #

ClickHouse Int16 column type

Instances

Instances details
IsChType ChInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToQueryPart ChInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Deserializable ChInt16 Source # 
Instance details

Defined in ClickHaskell.Reading

Serializable ChInt16 Source # 
Instance details

Defined in ClickHaskell.Writing

Bounded ChInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Num ChInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Show ChInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

NFData ChInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

rnf :: ChInt16 -> () #

Eq ChInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

(==) :: ChInt16 -> ChInt16 -> Bool #

(/=) :: ChInt16 -> ChInt16 -> Bool #

Prim ChInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChInt16 ChInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChInt16 Int16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChInt16 ChInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChInt16 Int16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type IsWriteOptional ChInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChInt16 = "Int16"

data ChInt32 Source #

ClickHouse Int32 column type

Instances

Instances details
IsChType ChInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToQueryPart ChInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Deserializable ChInt32 Source # 
Instance details

Defined in ClickHaskell.Reading

Serializable ChInt32 Source # 
Instance details

Defined in ClickHaskell.Writing

Bounded ChInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Enum ChInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Num ChInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Show ChInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

NFData ChInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

rnf :: ChInt32 -> () #

Eq ChInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

(==) :: ChInt32 -> ChInt32 -> Bool #

(/=) :: ChInt32 -> ChInt32 -> Bool #

Prim ChInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChInt32 ChInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChInt32 Int32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChInt32 ChInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChInt32 Int32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type IsWriteOptional ChInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChInt32 = "Int32"

data ChInt64 Source #

ClickHouse Int64 column type

Instances

Instances details
IsChType ChInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToQueryPart ChInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Deserializable ChInt64 Source # 
Instance details

Defined in ClickHaskell.Reading

Serializable ChInt64 Source # 
Instance details

Defined in ClickHaskell.Writing

Bounded ChInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Enum ChInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Num ChInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Show ChInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

NFData ChInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

rnf :: ChInt64 -> () #

Eq ChInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

(==) :: ChInt64 -> ChInt64 -> Bool #

(/=) :: ChInt64 -> ChInt64 -> Bool #

Prim ChInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChInt64 ChInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChInt64 Int64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChInt64 ChInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChInt64 Int64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChInt64 Int Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

toChType :: Int -> ChInt64 Source #

type IsWriteOptional ChInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChInt64 = "Int64"

data ChInt128 Source #

ClickHouse Int128 column type

Instances

Instances details
IsChType ChInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToQueryPart ChInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Deserializable ChInt128 Source # 
Instance details

Defined in ClickHaskell.Reading

Serializable ChInt128 Source # 
Instance details

Defined in ClickHaskell.Writing

Bounded ChInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Enum ChInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Num ChInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Integral ChInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Real ChInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Show ChInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

NFData ChInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

rnf :: ChInt128 -> () #

Eq ChInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Ord ChInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Prim ChInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChInt128 ChInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChInt128 Int128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChInt128 ChInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChInt128 Int128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type IsWriteOptional ChInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChInt128 = "Int128"

data Int128 #

Instances

Instances details
Data Int128 
Instance details

Defined in Data.WideWord.Int128

Methods

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

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

toConstr :: Int128 -> Constr #

dataTypeOf :: Int128 -> DataType #

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

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

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

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

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

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

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

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

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

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

Storable Int128 
Instance details

Defined in Data.WideWord.Int128

Bits Int128 
Instance details

Defined in Data.WideWord.Int128

FiniteBits Int128 
Instance details

Defined in Data.WideWord.Int128

Bounded Int128 
Instance details

Defined in Data.WideWord.Int128

Enum Int128 
Instance details

Defined in Data.WideWord.Int128

Generic Int128 
Instance details

Defined in Data.WideWord.Int128

Associated Types

type Rep Int128 :: Type -> Type #

Methods

from :: Int128 -> Rep Int128 x #

to :: Rep Int128 x -> Int128 #

Ix Int128 
Instance details

Defined in Data.WideWord.Int128

Num Int128 
Instance details

Defined in Data.WideWord.Int128

Read Int128 
Instance details

Defined in Data.WideWord.Int128

Integral Int128 
Instance details

Defined in Data.WideWord.Int128

Real Int128 
Instance details

Defined in Data.WideWord.Int128

Show Int128 
Instance details

Defined in Data.WideWord.Int128

Binary Int128

Since: wide-word-0.1.5.0

Instance details

Defined in Data.WideWord.Int128

Methods

put :: Int128 -> Put #

get :: Get Int128 #

putList :: [Int128] -> Put #

NFData Int128 
Instance details

Defined in Data.WideWord.Int128

Methods

rnf :: Int128 -> () #

Eq Int128 
Instance details

Defined in Data.WideWord.Int128

Methods

(==) :: Int128 -> Int128 -> Bool #

(/=) :: Int128 -> Int128 -> Bool #

Ord Int128 
Instance details

Defined in Data.WideWord.Int128

Hashable Int128 
Instance details

Defined in Data.WideWord.Int128

Methods

hashWithSalt :: Int -> Int128 -> Int #

hash :: Int128 -> Int #

Prim Int128 
Instance details

Defined in Data.WideWord.Int128

FromChType ChInt128 Int128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChInt128 Int128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type Rep Int128 
Instance details

Defined in Data.WideWord.Int128

type Rep Int128 = D1 ('MetaData "Int128" "Data.WideWord.Int128" "wide-word-0.1.6.0-BevslBgrMKIG9IoMWLFvS" 'False) (C1 ('MetaCons "Int128" 'PrefixI 'True) (S1 ('MetaSel ('Just "int128Hi64") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word64) :*: S1 ('MetaSel ('Just "int128Lo64") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word64)))

data ChUInt8 Source #

ClickHouse UInt8 column type

Instances

Instances details
IsChType ChUInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToQueryPart ChUInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Deserializable ChUInt8 Source # 
Instance details

Defined in ClickHaskell.Reading

Serializable ChUInt8 Source # 
Instance details

Defined in ClickHaskell.Writing

Bounded ChUInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Num ChUInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Show ChUInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

NFData ChUInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

rnf :: ChUInt8 -> () #

Eq ChUInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

(==) :: ChUInt8 -> ChUInt8 -> Bool #

(/=) :: ChUInt8 -> ChUInt8 -> Bool #

Prim ChUInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUInt8 ChUInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUInt8 Word8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt8 ChUInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt8 Word8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type IsWriteOptional ChUInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChUInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChUInt8 = "UInt8"

data ChUInt16 Source #

ClickHouse UInt16 column type

Instances

Instances details
IsChType ChUInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToQueryPart ChUInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Deserializable ChUInt16 Source # 
Instance details

Defined in ClickHaskell.Reading

Serializable ChUInt16 Source # 
Instance details

Defined in ClickHaskell.Writing

Bounded ChUInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Num ChUInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Show ChUInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

NFData ChUInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

rnf :: ChUInt16 -> () #

Eq ChUInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Prim ChUInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUInt16 ChUInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUInt16 Word16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt16 ChUInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt16 Word16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type IsWriteOptional ChUInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChUInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChUInt16 = "UInt16"

data ChUInt32 Source #

ClickHouse UInt32 column type

Instances

Instances details
IsChType ChUInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToQueryPart ChUInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Deserializable ChUInt32 Source # 
Instance details

Defined in ClickHaskell.Reading

Serializable ChUInt32 Source # 
Instance details

Defined in ClickHaskell.Writing

Bounded ChUInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Enum ChUInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Num ChUInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Show ChUInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

NFData ChUInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

rnf :: ChUInt32 -> () #

Eq ChUInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Prim ChUInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUInt32 ChUInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUInt32 Word32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt32 ChUInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt32 Word32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type IsWriteOptional ChUInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChUInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChUInt32 = "UInt32"

data ChUInt64 Source #

ClickHouse UInt64 column type

Instances

Instances details
IsChType ChUInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToQueryPart ChUInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Deserializable ChUInt64 Source # 
Instance details

Defined in ClickHaskell.Reading

Serializable ChUInt64 Source # 
Instance details

Defined in ClickHaskell.Writing

Bounded ChUInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Enum ChUInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Num ChUInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Show ChUInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

NFData ChUInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

rnf :: ChUInt64 -> () #

Eq ChUInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Prim ChUInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUInt64 ChUInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUInt64 Word64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt64 ChUInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt64 Word64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type IsWriteOptional ChUInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChUInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChUInt64 = "UInt64"

data ChUInt128 Source #

ClickHouse UInt128 column type

Instances

Instances details
IsChType ChUInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToQueryPart ChUInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Deserializable ChUInt128 Source # 
Instance details

Defined in ClickHaskell.Reading

Serializable ChUInt128 Source # 
Instance details

Defined in ClickHaskell.Writing

Bounded ChUInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Enum ChUInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Num ChUInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Integral ChUInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Real ChUInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Show ChUInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

NFData ChUInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

rnf :: ChUInt128 -> () #

Eq ChUInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Ord ChUInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Prim ChUInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUInt128 ChUInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUInt128 Word128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt128 ChUInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt128 Word64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt128 UUID Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt128 Word128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type IsWriteOptional ChUInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChUInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChUInt128 = "UInt128"

data Word128 #

Instances

Instances details
Data Word128 
Instance details

Defined in Data.WideWord.Word128

Methods

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

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

toConstr :: Word128 -> Constr #

dataTypeOf :: Word128 -> DataType #

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

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

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

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

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

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

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

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

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

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

Storable Word128 
Instance details

Defined in Data.WideWord.Word128

Bits Word128 
Instance details

Defined in Data.WideWord.Word128

FiniteBits Word128 
Instance details

Defined in Data.WideWord.Word128

Bounded Word128 
Instance details

Defined in Data.WideWord.Word128

Enum Word128 
Instance details

Defined in Data.WideWord.Word128

Generic Word128 
Instance details

Defined in Data.WideWord.Word128

Associated Types

type Rep Word128 :: Type -> Type #

Methods

from :: Word128 -> Rep Word128 x #

to :: Rep Word128 x -> Word128 #

Ix Word128 
Instance details

Defined in Data.WideWord.Word128

Num Word128 
Instance details

Defined in Data.WideWord.Word128

Read Word128 
Instance details

Defined in Data.WideWord.Word128

Integral Word128 
Instance details

Defined in Data.WideWord.Word128

Real Word128 
Instance details

Defined in Data.WideWord.Word128

Show Word128 
Instance details

Defined in Data.WideWord.Word128

Binary Word128

Since: wide-word-0.1.5.0

Instance details

Defined in Data.WideWord.Word128

Methods

put :: Word128 -> Put #

get :: Get Word128 #

putList :: [Word128] -> Put #

NFData Word128 
Instance details

Defined in Data.WideWord.Word128

Methods

rnf :: Word128 -> () #

Eq Word128 
Instance details

Defined in Data.WideWord.Word128

Methods

(==) :: Word128 -> Word128 -> Bool #

(/=) :: Word128 -> Word128 -> Bool #

Ord Word128 
Instance details

Defined in Data.WideWord.Word128

Hashable Word128 
Instance details

Defined in Data.WideWord.Word128

Methods

hashWithSalt :: Int -> Word128 -> Int #

hash :: Word128 -> Int #

Prim Word128 
Instance details

Defined in Data.WideWord.Word128

FromChType ChUInt128 Word128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt128 Word128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type Rep Word128 
Instance details

Defined in Data.WideWord.Word128

type Rep Word128 = D1 ('MetaData "Word128" "Data.WideWord.Word128" "wide-word-0.1.6.0-BevslBgrMKIG9IoMWLFvS" 'False) (C1 ('MetaCons "Word128" 'PrefixI 'True) (S1 ('MetaSel ('Just "word128Hi64") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word64) :*: S1 ('MetaSel ('Just "word128Lo64") 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word64)))

data ChString Source #

ClickHouse String column type

Instances

Instances details
IsChType ChString Source # 
Instance details

Defined in ClickHaskell.DbTypes

IsLowCardinalitySupported ChString Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToQueryPart ChString Source # 
Instance details

Defined in ClickHaskell.DbTypes

Deserializable ChString Source # 
Instance details

Defined in ClickHaskell.Reading

Serializable ChString Source # 
Instance details

Defined in ClickHaskell.Writing

IsString ChString Source # 
Instance details

Defined in ClickHaskell.DbTypes

Show ChString Source # 
Instance details

Defined in ClickHaskell.DbTypes

NFData ChString Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

rnf :: ChString -> () #

Eq ChString Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChString ChString Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChString StrictByteString Source # 
Instance details

Defined in ClickHaskell.DbTypes

(TypeError (('Text "You are trying to convert ChString to Text using FromChType convertion mechanism" ':$$: 'Text "It could be a bad idea since Text is semantically smaller than ByteString") ':$$: 'Text "Decode ByteString manually if you are sure it's always can be decoded or replace it with ByteString") :: Constraint) => FromChType ChString Text Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChString ChString Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChString StrictByteString Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChString Text Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChString String Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChString Int Source # 
Instance details

Defined in ClickHaskell.DbTypes

IsString (LowCardinality ChString) Source # 
Instance details

Defined in ClickHaskell.DbTypes

type IsWriteOptional ChString Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChString Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChString = "String"

data ChUUID Source #

ClickHouse UUID column type

Instances

Instances details
IsChType ChUUID Source # 
Instance details

Defined in ClickHaskell.DbTypes

Deserializable ChUUID Source # 
Instance details

Defined in ClickHaskell.Reading

Serializable ChUUID Source # 
Instance details

Defined in ClickHaskell.Writing

Show ChUUID Source # 
Instance details

Defined in ClickHaskell.DbTypes

NFData ChUUID Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

rnf :: ChUUID -> () #

Eq ChUUID Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

(==) :: ChUUID -> ChUUID -> Bool #

(/=) :: ChUUID -> ChUUID -> Bool #

FromChType ChUUID ChUUID Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUUID UUID Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUUID ChUUID Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUUID Word64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUUID UUID Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

toChType :: UUID -> ChUUID Source #

type IsWriteOptional ChUUID Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChUUID Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChUUID = "UUID"

data ChArray a Source #

Instances

Instances details
IsChType chType => IsChType (ChArray chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName (ChArray chType) :: Symbol Source #

type IsWriteOptional (ChArray chType) :: Bool Source #

ToQueryPart chType => ToQueryPart (ChArray chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

toQueryPart :: ChArray chType -> Builder Source #

Show a => Show (ChArray a) Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

showsPrec :: Int -> ChArray a -> ShowS #

show :: ChArray a -> String #

showList :: [ChArray a] -> ShowS #

NFData a => NFData (ChArray a) Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

rnf :: ChArray a -> () #

Eq a => Eq (ChArray a) Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

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

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

IsChType chType => FromChType (ChArray chType) [chType] Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

fromChType :: ChArray chType -> [chType] Source #

IsChType chType => ToChType (ChArray chType) [chType] Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

toChType :: [chType] -> ChArray chType Source #

ToChType chType inputType => ToChType (ChArray chType) [inputType] Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

toChType :: [inputType] -> ChArray chType Source #

type IsWriteOptional (ChArray chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

type IsWriteOptional (ChArray chType) = 'False
type ToChTypeName (ChArray chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName (ChArray chType) = AppendSymbol (AppendSymbol "Array(" (ToChTypeName chType)) ")"

type Nullable = Maybe Source #

ClickHouse Nullable(T) column type (type synonym for Maybe)

data LowCardinality chType Source #

ClickHouse LowCardinality(T) column type

Instances

Instances details
(IsLowCardinalitySupported chType, IsChType chType) => FromChType chType (LowCardinality chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

fromChType :: chType -> LowCardinality chType Source #

(IsLowCardinalitySupported chType, IsChType chType) => ToChType chType (LowCardinality chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

toChType :: LowCardinality chType -> chType Source #

IsLowCardinalitySupported chType => IsChType (LowCardinality chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName (LowCardinality chType) :: Symbol Source #

type IsWriteOptional (LowCardinality chType) :: Bool Source #

(TypeError (('Text (ToChTypeName (Nullable (LowCardinality chType))) ':<>: 'Text " is unsupported type in ClickHouse.") ':$$: (('Text "Use " ':<>: 'Text (ToChTypeName (LowCardinality (Nullable chType)))) ':<>: 'Text " instead.")) :: Constraint, IsChType chType) => IsChType (Nullable (LowCardinality chType)) Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName (Nullable (LowCardinality chType)) :: Symbol Source #

type IsWriteOptional (Nullable (LowCardinality chType)) :: Bool Source #

(ToQueryPart chType, IsLowCardinalitySupported chType) => ToQueryPart (LowCardinality chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

(Deserializable chType, ToChType chType chType, IsLowCardinalitySupported chType) => Deserializable (LowCardinality chType) Source # 
Instance details

Defined in ClickHaskell.Reading

(Serializable chType, FromChType chType chType, IsLowCardinalitySupported chType) => Serializable (LowCardinality chType) Source # 
Instance details

Defined in ClickHaskell.Writing

IsString (LowCardinality ChString) Source # 
Instance details

Defined in ClickHaskell.DbTypes

(Show chType, IsLowCardinalitySupported chType) => Show (LowCardinality chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

showsPrec :: Int -> LowCardinality chType -> ShowS #

show :: LowCardinality chType -> String #

showList :: [LowCardinality chType] -> ShowS #

(NFData chType, IsLowCardinalitySupported chType) => NFData (LowCardinality chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

rnf :: LowCardinality chType -> () #

(Eq chType, IsLowCardinalitySupported chType) => Eq (LowCardinality chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

(==) :: LowCardinality chType -> LowCardinality chType -> Bool #

(/=) :: LowCardinality chType -> LowCardinality chType -> Bool #

(FromChType chType outputType, IsLowCardinalitySupported chType) => FromChType (LowCardinality chType) outputType Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

fromChType :: LowCardinality chType -> outputType Source #

(ToChType inputType chType, IsLowCardinalitySupported inputType) => ToChType (LowCardinality inputType) chType Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

toChType :: chType -> LowCardinality inputType Source #

type IsWriteOptional (LowCardinality chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName (LowCardinality chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName (LowCardinality chType) = AppendSymbol (AppendSymbol "LowCardinality(" (ToChTypeName chType)) ")"

class IsChType chType => IsLowCardinalitySupported chType Source #

Instances

Instances details
IsLowCardinalitySupported ChString Source # 
Instance details

Defined in ClickHaskell.DbTypes

(IsChType chType, TypeError (((((('Text "LowCardinality(" ':<>: 'ShowType chType) ':<>: 'Text ") is unsupported") ':$$: 'Text "Use one of these types:") ':$$: 'Text " ChString") ':$$: 'Text " ChDateTime") ':$$: 'Text " Nullable(T)") :: Constraint) => IsLowCardinalitySupported chType Source # 
Instance details

Defined in ClickHaskell.DbTypes

IsLowCardinalitySupported chType => IsLowCardinalitySupported (Nullable chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes