com.github.shyiko.mysql.binlog.event
Class EventHeaderV4

java.lang.Object
  extended by 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
EventHeaderV4()
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EventHeaderV4

public EventHeaderV4()
Method Detail

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.