Class GtidEventData
- java.lang.Object
-
- com.github.shyiko.mysql.binlog.event.GtidEventData
-
- All Implemented Interfaces:
EventData,Serializable
public class GtidEventData extends Object implements EventData
- Author:
- Patrick Prasse
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static byteCOMMIT_FLAG
-
Constructor Summary
Constructors Constructor Description GtidEventData()Deprecated.GtidEventData(MySqlGtid gtid, byte flags, long lastCommitted, long sequenceNumber, long immediateCommitTimestamp, long originalCommitTimestamp, long transactionLength, int immediateServerVersion, int originalServerVersion)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description bytegetFlags()StringgetGtid()Deprecated.longgetImmediateCommitTimestamp()intgetImmediateServerVersion()longgetLastCommitted()MySqlGtidgetMySqlGtid()longgetOriginalCommitTimestamp()intgetOriginalServerVersion()longgetSequenceNumber()longgetTransactionLength()voidsetFlags(byte flags)Deprecated.voidsetGtid(String gtid)Deprecated.StringtoString()
-
-
-
Field Detail
-
COMMIT_FLAG
public static final byte COMMIT_FLAG
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GtidEventData
@Deprecated public GtidEventData()
Deprecated.
-
GtidEventData
public GtidEventData(MySqlGtid gtid, byte flags, long lastCommitted, long sequenceNumber, long immediateCommitTimestamp, long originalCommitTimestamp, long transactionLength, int immediateServerVersion, int originalServerVersion)
-
-
Method Detail
-
getGtid
@Deprecated public String getGtid()
Deprecated.
-
setGtid
@Deprecated public void setGtid(String gtid)
Deprecated.
-
getMySqlGtid
public MySqlGtid getMySqlGtid()
-
getFlags
public byte getFlags()
-
getLastCommitted
public long getLastCommitted()
-
getSequenceNumber
public long getSequenceNumber()
-
getImmediateCommitTimestamp
public long getImmediateCommitTimestamp()
-
getOriginalCommitTimestamp
public long getOriginalCommitTimestamp()
-
getTransactionLength
public long getTransactionLength()
-
getImmediateServerVersion
public int getImmediateServerVersion()
-
getOriginalServerVersion
public int getOriginalServerVersion()
-
setFlags
@Deprecated public void setFlags(byte flags)
Deprecated.
-
-