mysql-pure-1.0.2: pure haskell MySQL driver
Copyright(c) Winterland 2016
LicenseBSD
Maintainerdrkoster@qq.com
Stabilityexperimental
PortabilityPORTABLE
Safe HaskellSafe-Inferred
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
Generic FormatDescription Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

Associated Types

type Rep FormatDescription :: Type -> Type #

Show FormatDescription Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

Eq FormatDescription Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

type Rep FormatDescription Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

type Rep FormatDescription = D1 ('MetaData "FormatDescription" "Database.MySQL.BinLogProtocol.BinLogEvent" "mysql-pure-1.0.2-5QVFPs5CATbD346QjAH2CU" '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
Generic QueryEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

Associated Types

type Rep QueryEvent :: Type -> Type #

Show QueryEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

Eq QueryEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

type Rep QueryEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

type Rep QueryEvent = D1 ('MetaData "QueryEvent" "Database.MySQL.BinLogProtocol.BinLogEvent" "mysql-pure-1.0.2-5QVFPs5CATbD346QjAH2CU" '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
Generic TableMapEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

Associated Types

type Rep TableMapEvent :: Type -> Type #

Show TableMapEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

Eq TableMapEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

type Rep TableMapEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

type Rep TableMapEvent = D1 ('MetaData "TableMapEvent" "Database.MySQL.BinLogProtocol.BinLogEvent" "mysql-pure-1.0.2-5QVFPs5CATbD346QjAH2CU" '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
Generic DeleteRowsEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

Associated Types

type Rep DeleteRowsEvent :: Type -> Type #

Show DeleteRowsEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

Eq DeleteRowsEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

type Rep DeleteRowsEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

type Rep DeleteRowsEvent = D1 ('MetaData "DeleteRowsEvent" "Database.MySQL.BinLogProtocol.BinLogEvent" "mysql-pure-1.0.2-5QVFPs5CATbD346QjAH2CU" '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
Generic WriteRowsEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

Associated Types

type Rep WriteRowsEvent :: Type -> Type #

Show WriteRowsEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

Eq WriteRowsEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

type Rep WriteRowsEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

type Rep WriteRowsEvent = D1 ('MetaData "WriteRowsEvent" "Database.MySQL.BinLogProtocol.BinLogEvent" "mysql-pure-1.0.2-5QVFPs5CATbD346QjAH2CU" '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
Generic UpdateRowsEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

Associated Types

type Rep UpdateRowsEvent :: Type -> Type #

Show UpdateRowsEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

Eq UpdateRowsEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

type Rep UpdateRowsEvent Source # 
Instance details

Defined in Database.MySQL.BinLogProtocol.BinLogEvent

type Rep UpdateRowsEvent = D1 ('MetaData "UpdateRowsEvent" "Database.MySQL.BinLogProtocol.BinLogEvent" "mysql-pure-1.0.2-5QVFPs5CATbD346QjAH2CU" '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])])))))