Class EventHeaderV4
java.lang.Object
com.github.shyiko.mysql.binlog.event.EventHeaderV4
- All Implemented Interfaces:
EventHeader,Serializable
Used in MySQL 5.0+.
- Author:
- Stanley Shyiko
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonglongintgetFlags()longlonglonglonglongvoidsetEventLength(long eventLength) voidsetEventType(EventType eventType) voidsetFlags(int flags) voidsetNextPosition(long nextPosition) voidsetServerId(long serverId) voidsetTimestamp(long timestamp) toString()
-
Constructor Details
-
EventHeaderV4
public EventHeaderV4()
-
-
Method Details
-
getTimestamp
public long getTimestamp()- Specified by:
getTimestampin interfaceEventHeader
-
setTimestamp
public void setTimestamp(long timestamp) -
getEventType
- Specified by:
getEventTypein interfaceEventHeader
-
setEventType
-
getServerId
public long getServerId()- Specified by:
getServerIdin interfaceEventHeader
-
setServerId
public void setServerId(long serverId) -
getEventLength
public long getEventLength() -
setEventLength
public void setEventLength(long eventLength) -
getPosition
public long getPosition() -
getNextPosition
public long getNextPosition() -
setNextPosition
public void setNextPosition(long nextPosition) -
getFlags
public int getFlags() -
setFlags
public void setFlags(int flags) -
getHeaderLength
public long getHeaderLength()- Specified by:
getHeaderLengthin interfaceEventHeader
-
getDataLength
public long getDataLength()- Specified by:
getDataLengthin interfaceEventHeader
-
toString
-