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
-
-
Constructor Summary
Constructors Constructor Description EventHeaderV4()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getDataLength()
long
getEventLength()
EventType
getEventType()
int
getFlags()
long
getHeaderLength()
long
getNextPosition()
long
getPosition()
long
getServerId()
long
getTimestamp()
void
setEventLength(long eventLength)
void
setEventType(EventType eventType)
void
setFlags(int flags)
void
setNextPosition(long nextPosition)
void
setServerId(long serverId)
void
setTimestamp(long timestamp)
String
toString()
-
-
-
Method Detail
-
getTimestamp
public long getTimestamp()
- Specified by:
getTimestamp
in interfaceEventHeader
-
setTimestamp
public void setTimestamp(long timestamp)
-
getEventType
public EventType getEventType()
- Specified by:
getEventType
in interfaceEventHeader
-
setEventType
public void setEventType(EventType eventType)
-
getServerId
public long getServerId()
- Specified by:
getServerId
in 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:
getHeaderLength
in interfaceEventHeader
-
getDataLength
public long getDataLength()
- Specified by:
getDataLength
in interfaceEventHeader
-
-