com.github.shyiko.mysql.binlog.event
Class EventHeaderV4
java.lang.Object
com.github.shyiko.mysql.binlog.event.EventHeaderV4
- All Implemented Interfaces:
- EventHeader, Serializable
public class EventHeaderV4
- extends Object
- implements EventHeader
Used in MySQL 5.0+.
- Author:
- Stanley Shyiko
- See Also:
- Serialized Form
EventHeaderV4
public EventHeaderV4()
getTimestamp
public long getTimestamp()
- Specified by:
getTimestamp in interface EventHeader
setTimestamp
public void setTimestamp(long timestamp)
getEventType
public EventType getEventType()
- Specified by:
getEventType in interface EventHeader
setEventType
public void setEventType(EventType eventType)
getServerId
public long getServerId()
- Specified by:
getServerId in interface EventHeader
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:
getHeaderLength in interface EventHeader
getDataLength
public long getDataLength()
- Specified by:
getDataLength in interface EventHeader
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2016. All Rights Reserved.