mysql-haskell-0.8.4.3: pure haskell MySQL driver
Copyright(c) Winterland 2016
LicenseBSD
Maintainerdrkoster@qq.com
Stabilityexperimental
PortabilityPORTABLE
Safe HaskellNone
LanguageHaskell2010

Database.MySQL.BinLogProtocol.BinLogEvent

Description

Binlog event type

Synopsis

Documentation

data BinLogEventType Source #

binlog tyoe

data FormatDescription Source #

Constructors

FormatDescription 

Fields

Instances

Instances details
Eq FormatDescription Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

Show FormatDescription Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

Generic FormatDescription Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

Associated Types

type Rep FormatDescription :: Type -> Type #

type Rep FormatDescription Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

type Rep FormatDescription = D1 ('MetaData "FormatDescription" "Database.MySQL.BinLogProtocol.BinLogEvent" "mysql-haskell-0.8.4.3-6w1iCQ9pMcd7WfyjwnwzBQ" 'False) (C1 ('MetaCons "FormatDescription" 'PrefixI 'True) ((S1 ('MetaSel ('Just "fdVersion") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word16) :*: S1 ('MetaSel ('Just "fdMySQLVersion") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString)) :*: (S1 ('MetaSel ('Just "fdCreateTime") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32) :*: S1 ('MetaSel ('Just "fdEventHeaderLenVector") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString))))

data QueryEvent Source #

This's query parser for statement based binlog's query event, it's actually not used in row based binlog.

Instances

Instances details
Eq QueryEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

Show QueryEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

Generic QueryEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

Associated Types

type Rep QueryEvent :: Type -> Type #

type Rep QueryEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

type Rep QueryEvent = D1 ('MetaData "QueryEvent" "Database.MySQL.BinLogProtocol.BinLogEvent" "mysql-haskell-0.8.4.3-6w1iCQ9pMcd7WfyjwnwzBQ" 'False) (C1 ('MetaCons "QueryEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "qSlaveProxyId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32) :*: (S1 ('MetaSel ('Just "qExecTime") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word32) :*: S1 ('MetaSel ('Just "qErrCode") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word16))) :*: (S1 ('MetaSel ('Just "qStatusVars") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString) :*: (S1 ('MetaSel ('Just "qSchemaName") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString) :*: S1 ('MetaSel ('Just "qQuery") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Query)))))

data QueryEvent' Source #

This's the query event in row based binlog.

Constructors

QueryEvent' 

Fields

data TableMapEvent Source #

Instances

Instances details
Eq TableMapEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

Show TableMapEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

Generic TableMapEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

Associated Types

type Rep TableMapEvent :: Type -> Type #

type Rep TableMapEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

type Rep TableMapEvent = D1 ('MetaData "TableMapEvent" "Database.MySQL.BinLogProtocol.BinLogEvent" "mysql-haskell-0.8.4.3-6w1iCQ9pMcd7WfyjwnwzBQ" 'False) (C1 ('MetaCons "TableMapEvent" 'PrefixI 'True) (((S1 ('MetaSel ('Just "tmTableId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "tmFlags") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word16)) :*: (S1 ('MetaSel ('Just "tmSchemaName") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString) :*: S1 ('MetaSel ('Just "tmTableName") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString))) :*: ((S1 ('MetaSel ('Just "tmColumnCnt") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "tmColumnType") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [FieldType])) :*: (S1 ('MetaSel ('Just "tmColumnMeta") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [BinLogMeta]) :*: S1 ('MetaSel ('Just "tmNullMap") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ByteString)))))

data DeleteRowsEvent Source #

Instances

Instances details
Eq DeleteRowsEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

Show DeleteRowsEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

Generic DeleteRowsEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

Associated Types

type Rep DeleteRowsEvent :: Type -> Type #

type Rep DeleteRowsEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

type Rep DeleteRowsEvent = D1 ('MetaData "DeleteRowsEvent" "Database.MySQL.BinLogProtocol.BinLogEvent" "mysql-haskell-0.8.4.3-6w1iCQ9pMcd7WfyjwnwzBQ" 'False) (C1 ('MetaCons "DeleteRowsEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "deleteTableId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "deleteFlags") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word16)) :*: (S1 ('MetaSel ('Just "deleteColumnCnt") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "deletePresentMap") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BitMap) :*: S1 ('MetaSel ('Just "deleteRowData") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [[BinLogValue]])))))

data WriteRowsEvent Source #

Instances

Instances details
Eq WriteRowsEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

Show WriteRowsEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

Generic WriteRowsEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

Associated Types

type Rep WriteRowsEvent :: Type -> Type #

type Rep WriteRowsEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

type Rep WriteRowsEvent = D1 ('MetaData "WriteRowsEvent" "Database.MySQL.BinLogProtocol.BinLogEvent" "mysql-haskell-0.8.4.3-6w1iCQ9pMcd7WfyjwnwzBQ" 'False) (C1 ('MetaCons "WriteRowsEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "writeTableId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "writeFlags") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word16)) :*: (S1 ('MetaSel ('Just "writeColumnCnt") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "writePresentMap") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BitMap) :*: S1 ('MetaSel ('Just "writeRowData") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [[BinLogValue]])))))

data UpdateRowsEvent Source #

Instances

Instances details
Eq UpdateRowsEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

Show UpdateRowsEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

Generic UpdateRowsEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

Associated Types

type Rep UpdateRowsEvent :: Type -> Type #

type Rep UpdateRowsEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

type Rep UpdateRowsEvent = D1 ('MetaData "UpdateRowsEvent" "Database.MySQL.BinLogProtocol.BinLogEvent" "mysql-haskell-0.8.4.3-6w1iCQ9pMcd7WfyjwnwzBQ" 'False) (C1 ('MetaCons "UpdateRowsEvent" 'PrefixI 'True) ((S1 ('MetaSel ('Just "updateTableId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word64) :*: S1 ('MetaSel ('Just "updateFlags") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Word16)) :*: (S1 ('MetaSel ('Just "updateColumnCnt") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "updatePresentMap") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (BitMap, BitMap)) :*: S1 ('MetaSel ('Just "updateRowData") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [([BinLogValue], [BinLogValue])])))))