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

java.lang.Object
  extended by com.github.shyiko.mysql.binlog.event.QueryEventData
All Implemented Interfaces:
EventData, Serializable

public class QueryEventData
extends Object
implements EventData

Author:
Stanley Shyiko
See Also:
Serialized Form

Constructor Summary
QueryEventData()
           
 
Method Summary
 String getDatabase()
           
 int getErrorCode()
           
 long getExecutionTime()
           
 String getSql()
           
 long getThreadId()
           
 void setDatabase(String database)
           
 void setErrorCode(int errorCode)
           
 void setExecutionTime(long executionTime)
           
 void setSql(String sql)
           
 void setThreadId(long threadId)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueryEventData

public QueryEventData()
Method Detail

getThreadId

public long getThreadId()

setThreadId

public void setThreadId(long threadId)

getExecutionTime

public long getExecutionTime()

setExecutionTime

public void setExecutionTime(long executionTime)

getErrorCode

public int getErrorCode()

setErrorCode

public void setErrorCode(int errorCode)

getDatabase

public String getDatabase()

setDatabase

public void setDatabase(String database)

getSql

public String getSql()

setSql

public void setSql(String sql)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015. All Rights Reserved.