ClickHaskell-0.1.0: ClickHouse driver
Safe HaskellNone
LanguageHaskell2010

ClickHaskell.DbTypes

Synopsis

Documentation

class KnownSymbol (ToChTypeName chType) => IsChType chType where Source #

Minimal complete definition

defaultValueOfTypeName

Associated Types

type ToChTypeName chType :: Symbol Source #

Shows database original type name

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

Instances

Instances details
IsChType ChDate Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName ChDate :: Symbol Source #

IsChType ChDateTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName ChDateTime :: Symbol Source #

IsChType ChInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName ChInt128 :: Symbol Source #

IsChType ChInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName ChInt16 :: Symbol Source #

IsChType ChInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName ChInt32 :: Symbol Source #

IsChType ChInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName ChInt64 :: Symbol Source #

IsChType ChInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName ChInt8 :: Symbol Source #

IsChType ChString Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName ChString :: Symbol Source #

IsChType ChUInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName ChUInt128 :: Symbol Source #

IsChType ChUInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName ChUInt16 :: Symbol Source #

IsChType ChUInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName ChUInt32 :: Symbol Source #

IsChType ChUInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName ChUInt64 :: Symbol Source #

IsChType ChUInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName ChUInt8 :: Symbol Source #

IsChType ChUUID Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName ChUUID :: Symbol Source #

(IsChType chType, KnownSymbol (AppendSymbol (AppendSymbol "Array(" (ToChTypeName chType)) ")")) => IsChType (ChArray chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName (ChArray chType) :: Symbol Source #

(IsLowCardinalitySupported chType, KnownSymbol (AppendSymbol (AppendSymbol "LowCardinality(" (ToChTypeName chType)) ")")) => IsChType (LowCardinality chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName (LowCardinality chType) :: Symbol Source #

(IsChType chType, KnownSymbol (AppendSymbol (AppendSymbol "Nullable(" (ToChTypeName chType)) ")")) => IsChType (Nullable chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName (Nullable chType) :: Symbol Source #

class IsChType chType => ToChType chType inputType where Source #

Methods

toChType :: inputType -> chType Source #

Instances

Instances details
ToChType ChDate Word16 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 Int128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChInt16 Int16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChInt32 Int32 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 Int8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

toChType :: Int8 -> ChInt8 Source #

ToChType ChString Builder 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 Word64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt128 Word128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt16 Word16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt32 Word32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt64 Word64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt8 Word8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUUID Word64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

(IsChType chType, chType ~ inputType) => ToChType chType inputType Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

toChType :: inputType -> chType Source #

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

Defined in ClickHaskell.DbTypes

Methods

toChType :: LowCardinality chType -> chType Source #

ToChType ChUUID (Word64, Word64) Source # 
Instance details

Defined in ClickHaskell.DbTypes

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

Defined in ClickHaskell.DbTypes

Methods

toChType :: chType -> LowCardinality chType Source #

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

Defined in ClickHaskell.DbTypes

Methods

toChType :: chType -> LowCardinality inputType Source #

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

Defined in ClickHaskell.DbTypes

Methods

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

(ToChType inputType chType, IsChType (Nullable inputType)) => 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 ChDate Word16 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 Int128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChInt16 Int16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChInt32 Int32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChInt64 Int64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChInt8 Int8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChString StrictByteString Source # 
Instance details

Defined in ClickHaskell.DbTypes

(TypeError ('Text "ChString to Text using FromChType convertion could cause exception" ':$$: '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 Word128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUInt16 Word16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUInt32 Word32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUInt64 Word64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUInt8 Word8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

(IsChType chType, chType ~ inputType) => FromChType chType inputType Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

fromChType :: chType -> inputType Source #

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

Defined in ClickHaskell.DbTypes

Methods

fromChType :: chType -> LowCardinality chType Source #

FromChType ChUUID (Word64, Word64) Source # 
Instance details

Defined in ClickHaskell.DbTypes

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

Defined in ClickHaskell.DbTypes

Methods

fromChType :: LowCardinality chType -> chType Source #

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

Defined in ClickHaskell.DbTypes

Methods

fromChType :: LowCardinality chType -> outputType Source #

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

Defined in ClickHaskell.DbTypes

Methods

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

(FromChType chType inputType, IsChType (Nullable chType)) => 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, IsChType (ChArray chType)) => ToQueryPart (ChArray chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

toQueryPart :: ChArray chType -> Builder Source #

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

Defined in ClickHaskell.DbTypes

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

Defined in ClickHaskell.DbTypes

Methods

toQueryPart :: Nullable chType -> Builder Source #

newtype ChDateTime Source #

ClickHouse DateTime column type

Constructors

MkChDateTime Word32 

Instances

Instances details
IsChType ChDateTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName ChDateTime :: Symbol Source #

ToQueryPart ChDateTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

Deserializable ChDateTime Source # 
Instance details

Defined in ClickHaskell.DeSerialization

Serializable ChDateTime Source # 
Instance details

Defined in ClickHaskell.DeSerialization

Bits ChDateTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

Bounded ChDateTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

Enum ChDateTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

Num ChDateTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

Integral ChDateTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

Real 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

Ord ChDateTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

Prim 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 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

KnownSymbol name => KnownColumn (Column name ChDateTime) Source # 
Instance details

Defined in ClickHaskell.Columns

Methods

renderColumnName :: Builder Source #

renderColumnType :: Builder Source #

mkColumn :: UVarInt -> [GetColumnType (Column name ChDateTime)] -> Column (GetColumnName (Column name ChDateTime)) (GetColumnType (Column name ChDateTime)) Source #

type ToChTypeName ChDateTime Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChDateTime = "DateTime"

newtype ChDate Source #

Constructors

MkChDate Word16 

Instances

Instances details
IsChType ChDate Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName ChDate :: Symbol Source #

Deserializable ChDate Source # 
Instance details

Defined in ClickHaskell.DeSerialization

Serializable ChDate Source # 
Instance details

Defined in ClickHaskell.DeSerialization

Bits ChDate Source # 
Instance details

Defined in ClickHaskell.DbTypes

Bounded ChDate Source # 
Instance details

Defined in ClickHaskell.DbTypes

Enum ChDate Source # 
Instance details

Defined in ClickHaskell.DbTypes

Show ChDate Source # 
Instance details

Defined in ClickHaskell.DbTypes

NFData ChDate Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

rnf :: ChDate -> () #

Eq ChDate Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

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

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

Prim ChDate Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChDate Word16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChDate Word16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

KnownSymbol name => KnownColumn (Column name ChDate) Source # 
Instance details

Defined in ClickHaskell.Columns

Methods

renderColumnName :: Builder Source #

renderColumnType :: Builder Source #

mkColumn :: UVarInt -> [GetColumnType (Column name ChDate)] -> Column (GetColumnName (Column name ChDate)) (GetColumnType (Column name ChDate)) Source #

type ToChTypeName ChDate Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChDate = "Date"

newtype ChInt8 Source #

ClickHouse Int8 column type

Constructors

MkChInt8 Int8 

Instances

Instances details
IsChType ChInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName ChInt8 :: Symbol Source #

ToQueryPart ChInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Deserializable ChInt8 Source # 
Instance details

Defined in ClickHaskell.DeSerialization

Serializable ChInt8 Source # 
Instance details

Defined in ClickHaskell.DeSerialization

Bits ChInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Bounded ChInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Enum ChInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Num ChInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Integral ChInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

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

Ord ChInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Prim ChInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChInt8 Int8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChInt8 Int8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

toChType :: Int8 -> ChInt8 Source #

KnownSymbol name => KnownColumn (Column name ChInt8) Source # 
Instance details

Defined in ClickHaskell.Columns

Methods

renderColumnName :: Builder Source #

renderColumnType :: Builder Source #

mkColumn :: UVarInt -> [GetColumnType (Column name ChInt8)] -> Column (GetColumnName (Column name ChInt8)) (GetColumnType (Column name ChInt8)) Source #

type ToChTypeName ChInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChInt8 = "Int8"

newtype ChInt16 Source #

ClickHouse Int16 column type

Constructors

MkChInt16 Int16 

Instances

Instances details
IsChType ChInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName ChInt16 :: Symbol Source #

ToQueryPart ChInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Deserializable ChInt16 Source # 
Instance details

Defined in ClickHaskell.DeSerialization

Serializable ChInt16 Source # 
Instance details

Defined in ClickHaskell.DeSerialization

Bits ChInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Bounded ChInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Enum ChInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Num ChInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Integral ChInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

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

Ord ChInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Prim ChInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChInt16 Int16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChInt16 Int16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

KnownSymbol name => KnownColumn (Column name ChInt16) Source # 
Instance details

Defined in ClickHaskell.Columns

Methods

renderColumnName :: Builder Source #

renderColumnType :: Builder Source #

mkColumn :: UVarInt -> [GetColumnType (Column name ChInt16)] -> Column (GetColumnName (Column name ChInt16)) (GetColumnType (Column name ChInt16)) Source #

type ToChTypeName ChInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChInt16 = "Int16"

newtype ChInt32 Source #

ClickHouse Int32 column type

Constructors

MkChInt32 Int32 

Instances

Instances details
IsChType ChInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName ChInt32 :: Symbol Source #

ToQueryPart ChInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Deserializable ChInt32 Source # 
Instance details

Defined in ClickHaskell.DeSerialization

Serializable ChInt32 Source # 
Instance details

Defined in ClickHaskell.DeSerialization

Bits ChInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

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

Integral ChInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

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

Ord ChInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Prim ChInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChInt32 Int32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChInt32 Int32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

KnownSymbol name => KnownColumn (Column name ChInt32) Source # 
Instance details

Defined in ClickHaskell.Columns

Methods

renderColumnName :: Builder Source #

renderColumnType :: Builder Source #

mkColumn :: UVarInt -> [GetColumnType (Column name ChInt32)] -> Column (GetColumnName (Column name ChInt32)) (GetColumnType (Column name ChInt32)) Source #

type ToChTypeName ChInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChInt32 = "Int32"

newtype ChInt64 Source #

ClickHouse Int64 column type

Constructors

MkChInt64 Int64 

Instances

Instances details
IsChType ChInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName ChInt64 :: Symbol Source #

ToQueryPart ChInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Deserializable ChInt64 Source # 
Instance details

Defined in ClickHaskell.DeSerialization

Serializable ChInt64 Source # 
Instance details

Defined in ClickHaskell.DeSerialization

Bits ChInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

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

Integral ChInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

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

Ord ChInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Prim ChInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChInt64 Int64 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 #

KnownSymbol name => KnownColumn (Column name ChInt64) Source # 
Instance details

Defined in ClickHaskell.Columns

Methods

renderColumnName :: Builder Source #

renderColumnType :: Builder Source #

mkColumn :: UVarInt -> [GetColumnType (Column name ChInt64)] -> Column (GetColumnName (Column name ChInt64)) (GetColumnType (Column name ChInt64)) Source #

type ToChTypeName ChInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChInt64 = "Int64"

newtype ChInt128 Source #

ClickHouse Int128 column type

Constructors

MkChInt128 Int128 

Instances

Instances details
IsChType ChInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName ChInt128 :: Symbol Source #

ToQueryPart ChInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Deserializable ChInt128 Source # 
Instance details

Defined in ClickHaskell.DeSerialization

Serializable ChInt128 Source # 
Instance details

Defined in ClickHaskell.DeSerialization

Bits ChInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

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 Int128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChInt128 Int128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

KnownSymbol name => KnownColumn (Column name ChInt128) Source # 
Instance details

Defined in ClickHaskell.Columns

Methods

renderColumnName :: Builder Source #

renderColumnType :: Builder Source #

mkColumn :: UVarInt -> [GetColumnType (Column name ChInt128)] -> Column (GetColumnName (Column name ChInt128)) (GetColumnType (Column name ChInt128)) Source #

type ToChTypeName ChInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChInt128 = "Int128"

newtype ChUInt8 Source #

ClickHouse UInt8 column type

Constructors

MkChUInt8 Word8 

Instances

Instances details
IsChType ChUInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName ChUInt8 :: Symbol Source #

ToQueryPart ChUInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Deserializable ChUInt8 Source # 
Instance details

Defined in ClickHaskell.DeSerialization

Serializable ChUInt8 Source # 
Instance details

Defined in ClickHaskell.DeSerialization

Bits ChUInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Bounded ChUInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Enum ChUInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Num ChUInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Integral ChUInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

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

Ord ChUInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Prim ChUInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUInt8 Word8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt8 Word8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

KnownSymbol name => KnownColumn (Column name ChUInt8) Source # 
Instance details

Defined in ClickHaskell.Columns

Methods

renderColumnName :: Builder Source #

renderColumnType :: Builder Source #

mkColumn :: UVarInt -> [GetColumnType (Column name ChUInt8)] -> Column (GetColumnName (Column name ChUInt8)) (GetColumnType (Column name ChUInt8)) Source #

type ToChTypeName ChUInt8 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChUInt8 = "UInt8"

newtype ChUInt16 Source #

ClickHouse UInt16 column type

Constructors

MkChUInt16 Word16 

Instances

Instances details
IsChType ChUInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName ChUInt16 :: Symbol Source #

ToQueryPart ChUInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Deserializable ChUInt16 Source # 
Instance details

Defined in ClickHaskell.DeSerialization

Serializable ChUInt16 Source # 
Instance details

Defined in ClickHaskell.DeSerialization

Bits ChUInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Bounded ChUInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Enum ChUInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Num ChUInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Integral ChUInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Real 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

Ord ChUInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Prim ChUInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUInt16 Word16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt16 Word16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

KnownSymbol name => KnownColumn (Column name ChUInt16) Source # 
Instance details

Defined in ClickHaskell.Columns

Methods

renderColumnName :: Builder Source #

renderColumnType :: Builder Source #

mkColumn :: UVarInt -> [GetColumnType (Column name ChUInt16)] -> Column (GetColumnName (Column name ChUInt16)) (GetColumnType (Column name ChUInt16)) Source #

type ToChTypeName ChUInt16 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChUInt16 = "UInt16"

newtype ChUInt32 Source #

ClickHouse UInt32 column type

Constructors

MkChUInt32 Word32 

Instances

Instances details
IsChType ChUInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName ChUInt32 :: Symbol Source #

ToQueryPart ChUInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Deserializable ChUInt32 Source # 
Instance details

Defined in ClickHaskell.DeSerialization

Serializable ChUInt32 Source # 
Instance details

Defined in ClickHaskell.DeSerialization

Bits ChUInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

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

Integral ChUInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Real 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

Ord ChUInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Prim ChUInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUInt32 Word32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt32 Word32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

KnownSymbol name => KnownColumn (Column name ChUInt32) Source # 
Instance details

Defined in ClickHaskell.Columns

Methods

renderColumnName :: Builder Source #

renderColumnType :: Builder Source #

mkColumn :: UVarInt -> [GetColumnType (Column name ChUInt32)] -> Column (GetColumnName (Column name ChUInt32)) (GetColumnType (Column name ChUInt32)) Source #

type ToChTypeName ChUInt32 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChUInt32 = "UInt32"

newtype ChUInt64 Source #

ClickHouse UInt64 column type

Constructors

MkChUInt64 Word64 

Instances

Instances details
IsChType ChUInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName ChUInt64 :: Symbol Source #

ToQueryPart ChUInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Deserializable ChUInt64 Source # 
Instance details

Defined in ClickHaskell.DeSerialization

Serializable ChUInt64 Source # 
Instance details

Defined in ClickHaskell.DeSerialization

Bits ChUInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

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

Integral ChUInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Real 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

Ord ChUInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Prim ChUInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUInt64 Word64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt64 Word64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

KnownSymbol name => KnownColumn (Column name ChUInt64) Source # 
Instance details

Defined in ClickHaskell.Columns

Methods

renderColumnName :: Builder Source #

renderColumnType :: Builder Source #

mkColumn :: UVarInt -> [GetColumnType (Column name ChUInt64)] -> Column (GetColumnName (Column name ChUInt64)) (GetColumnType (Column name ChUInt64)) Source #

type ToChTypeName ChUInt64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChUInt64 = "UInt64"

newtype ChUInt128 Source #

ClickHouse UInt128 column type

Constructors

MkChUInt128 Word128 

Instances

Instances details
IsChType ChUInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName ChUInt128 :: Symbol Source #

ToQueryPart ChUInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

Deserializable ChUInt128 Source # 
Instance details

Defined in ClickHaskell.DeSerialization

Serializable ChUInt128 Source # 
Instance details

Defined in ClickHaskell.DeSerialization

Bits ChUInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

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 Word128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt128 Word64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUInt128 Word128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

KnownSymbol name => KnownColumn (Column name ChUInt128) Source # 
Instance details

Defined in ClickHaskell.Columns

Methods

renderColumnName :: Builder Source #

renderColumnType :: Builder Source #

mkColumn :: UVarInt -> [GetColumnType (Column name ChUInt128)] -> Column (GetColumnName (Column name ChUInt128)) (GetColumnType (Column name ChUInt128)) Source #

type ToChTypeName ChUInt128 Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChUInt128 = "UInt128"

newtype ChString Source #

ClickHouse String column type

Instances

Instances details
IsChType ChString Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName ChString :: Symbol Source #

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.DeSerialization

Serializable ChString Source # 
Instance details

Defined in ClickHaskell.DeSerialization

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 StrictByteString Source # 
Instance details

Defined in ClickHaskell.DbTypes

(TypeError ('Text "ChString to Text using FromChType convertion could cause exception" ':$$: '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 Builder 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

KnownSymbol name => KnownColumn (Column name (ChArray ChString)) Source # 
Instance details

Defined in ClickHaskell.Columns

Methods

renderColumnName :: Builder Source #

renderColumnType :: Builder Source #

mkColumn :: UVarInt -> [GetColumnType (Column name (ChArray ChString))] -> Column (GetColumnName (Column name (ChArray ChString))) (GetColumnType (Column name (ChArray ChString))) Source #

KnownSymbol name => KnownColumn (Column name ChString) Source # 
Instance details

Defined in ClickHaskell.Columns

Methods

renderColumnName :: Builder Source #

renderColumnType :: Builder Source #

mkColumn :: UVarInt -> [GetColumnType (Column name ChString)] -> Column (GetColumnName (Column name ChString)) (GetColumnType (Column name ChString)) Source #

type ToChTypeName ChString Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChString = "String"

newtype ChUUID Source #

ClickHouse UUID column type

Constructors

MkChUUID Word128 

Instances

Instances details
IsChType ChUUID Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName ChUUID :: Symbol Source #

Deserializable ChUUID Source # 
Instance details

Defined in ClickHaskell.DeSerialization

Serializable ChUUID Source # 
Instance details

Defined in ClickHaskell.DeSerialization

Bounded ChUUID Source # 
Instance details

Defined in ClickHaskell.DbTypes

Enum ChUUID Source # 
Instance details

Defined in ClickHaskell.DbTypes

Generic ChUUID Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type Rep ChUUID :: Type -> Type #

Methods

from :: ChUUID -> Rep ChUUID x #

to :: Rep ChUUID x -> ChUUID #

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 #

Prim ChUUID Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUUID Word64 Source # 
Instance details

Defined in ClickHaskell.DbTypes

FromChType ChUUID (Word64, Word64) Source # 
Instance details

Defined in ClickHaskell.DbTypes

ToChType ChUUID (Word64, Word64) Source # 
Instance details

Defined in ClickHaskell.DbTypes

KnownSymbol name => KnownColumn (Column name ChUUID) Source # 
Instance details

Defined in ClickHaskell.Columns

Methods

renderColumnName :: Builder Source #

renderColumnType :: Builder Source #

mkColumn :: UVarInt -> [GetColumnType (Column name ChUUID)] -> Column (GetColumnName (Column name ChUUID)) (GetColumnType (Column name ChUUID)) Source #

type ToChTypeName ChUUID Source # 
Instance details

Defined in ClickHaskell.DbTypes

type ToChTypeName ChUUID = "UUID"
type Rep ChUUID Source # 
Instance details

Defined in ClickHaskell.DbTypes

newtype ChArray a Source #

Constructors

MkChArray [a] 

Instances

Instances details
(IsChType chType, KnownSymbol (AppendSymbol (AppendSymbol "Array(" (ToChTypeName chType)) ")")) => IsChType (ChArray chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName (ChArray chType) :: Symbol Source #

(ToQueryPart chType, IsChType (ChArray 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, IsChType (ChArray chType)) => FromChType (ChArray chType) [chType] Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

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

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

Defined in ClickHaskell.DbTypes

Methods

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

(KnownColumn (Column name (ChArray chType)), Deserializable chType, TypeError ('Text "Arrays deserialization still unsupported") :: Constraint) => DeserializableColumn (Column name (ChArray chType)) Source # 
Instance details

Defined in ClickHaskell.Columns

KnownSymbol name => KnownColumn (Column name (ChArray ChString)) Source # 
Instance details

Defined in ClickHaskell.Columns

Methods

renderColumnName :: Builder Source #

renderColumnType :: Builder Source #

mkColumn :: UVarInt -> [GetColumnType (Column name (ChArray ChString))] -> Column (GetColumnName (Column name (ChArray ChString))) (GetColumnType (Column name (ChArray ChString))) Source #

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 => FromChType chType (LowCardinality chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

fromChType :: chType -> LowCardinality chType Source #

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

Defined in ClickHaskell.DbTypes

Methods

toChType :: LowCardinality chType -> chType Source #

(IsLowCardinalitySupported chType, KnownSymbol (AppendSymbol (AppendSymbol "LowCardinality(" (ToChTypeName chType)) ")")) => IsChType (LowCardinality chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

Associated Types

type ToChTypeName (LowCardinality chType) :: Symbol Source #

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

Defined in ClickHaskell.DbTypes

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 #

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

Defined in ClickHaskell.DbTypes

Methods

fromChType :: LowCardinality chType -> chType Source #

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

Defined in ClickHaskell.DbTypes

Methods

fromChType :: LowCardinality chType -> outputType Source #

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

Defined in ClickHaskell.DbTypes

Methods

toChType :: chType -> LowCardinality chType Source #

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

Defined in ClickHaskell.DbTypes

Methods

toChType :: chType -> LowCardinality inputType Source #

(KnownColumn (Column name (LowCardinality chType)), Deserializable chType, ToChType (LowCardinality chType) chType, IsLowCardinalitySupported chType, TypeError ('Text "LowCardinality deserialization still unsupported") :: Constraint) => DeserializableColumn (Column name (LowCardinality chType)) Source # 
Instance details

Defined in ClickHaskell.Columns

(KnownSymbol name, IsChType (LowCardinality chType), IsLowCardinalitySupported chType) => KnownColumn (Column name (LowCardinality chType)) Source # 
Instance details

Defined in ClickHaskell.Columns

Methods

renderColumnName :: Builder Source #

renderColumnType :: Builder Source #

mkColumn :: UVarInt -> [GetColumnType (Column name (LowCardinality chType))] -> Column (GetColumnName (Column name (LowCardinality chType))) (GetColumnType (Column name (LowCardinality chType))) Source #

(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.Columns

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, IsChType (Nullable chType)) => IsLowCardinalitySupported (Nullable chType) Source # 
Instance details

Defined in ClickHaskell.DbTypes

newtype UVarInt Source #

Unsigned variable-length quantity encoding

Part of protocol implementation

Constructors

MkUVarInt Word64 

Instances

Instances details
Deserializable UVarInt Source # 
Instance details

Defined in ClickHaskell.DeSerialization

Serializable UVarInt Source # 
Instance details

Defined in ClickHaskell.DeSerialization

Bits UVarInt Source # 
Instance details

Defined in ClickHaskell.DbTypes

Bounded UVarInt Source # 
Instance details

Defined in ClickHaskell.DbTypes

Enum UVarInt Source # 
Instance details

Defined in ClickHaskell.DbTypes

Num UVarInt Source # 
Instance details

Defined in ClickHaskell.DbTypes

Integral UVarInt Source # 
Instance details

Defined in ClickHaskell.DbTypes

Real UVarInt Source # 
Instance details

Defined in ClickHaskell.DbTypes

Show UVarInt Source # 
Instance details

Defined in ClickHaskell.DbTypes

NFData UVarInt Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

rnf :: UVarInt -> () #

Eq UVarInt Source # 
Instance details

Defined in ClickHaskell.DbTypes

Methods

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

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

Ord UVarInt Source # 
Instance details

Defined in ClickHaskell.DbTypes

Prim UVarInt Source # 
Instance details

Defined in ClickHaskell.DbTypes

data Word128 #

Constructors

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-9fMurwgXWFWLH0d9Cl0dCB" 'False) (C1 ('MetaCons "Word128" 'PrefixI 'True) (S1 ('MetaSel ('Just "word128Hi64") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "word128Lo64") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64)))

data Int128 #

Constructors

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-9fMurwgXWFWLH0d9Cl0dCB" 'False) (C1 ('MetaCons "Int128" 'PrefixI 'True) (S1 ('MetaSel ('Just "int128Hi64") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "int128Lo64") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64)))