com.continuent.tungsten.replicator.extractor.mysql
Class FormatDescriptionLogEvent

java.lang.Object
  extended by com.continuent.tungsten.replicator.extractor.mysql.LogEvent
      extended by com.continuent.tungsten.replicator.extractor.mysql.StartLogEvent
          extended by com.continuent.tungsten.replicator.extractor.mysql.FormatDescriptionLogEvent

public class FormatDescriptionLogEvent
extends StartLogEvent

Version:
1.0
Author:
Seppo Jaakola, Stephane Giron

Field Summary
protected  int binlogVersion
           
 short commonHeaderLength
           
 short[] postHeaderLength
           
 
Fields inherited from class com.continuent.tungsten.replicator.extractor.mysql.LogEvent
execTime, flags, logger, logPos, serverId, startPosition, threadSpecificEvent, type, when
 
Constructor Summary
FormatDescriptionLogEvent(byte[] buffer, int eventLength, FormatDescriptionLogEvent descriptionEvent, java.lang.String currentPosition)
           
FormatDescriptionLogEvent(int binlogVersion, int checksumAlgo)
           
 
Method Summary
 int getChecksumAlgo()
           
 boolean useChecksum()
           
 
Methods inherited from class com.continuent.tungsten.replicator.extractor.mysql.LogEvent
doChecksum, extractDecimal, getDecimalBinarySize, getExecTime, getNextEventPosition, getType, getWhen, hexdump, hexdump, hexdump, readLogEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

binlogVersion

protected int binlogVersion

commonHeaderLength

public short commonHeaderLength

postHeaderLength

public short[] postHeaderLength
Constructor Detail

FormatDescriptionLogEvent

public FormatDescriptionLogEvent(byte[] buffer,
                                 int eventLength,
                                 FormatDescriptionLogEvent descriptionEvent,
                                 java.lang.String currentPosition)
                          throws ReplicatorException
Throws:
ReplicatorException

FormatDescriptionLogEvent

public FormatDescriptionLogEvent(int binlogVersion,
                                 int checksumAlgo)
Method Detail

getChecksumAlgo

public int getChecksumAlgo()

useChecksum

public boolean useChecksum()