|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.continuent.tungsten.replicator.extractor.mysql.LogEvent
com.continuent.tungsten.replicator.extractor.mysql.QueryLogEvent
public class QueryLogEvent
| Field Summary | |
|---|---|
protected byte[] |
charset
|
protected boolean |
charset_inited
|
protected java.lang.String |
charsetName
|
protected int |
clientCharsetId
|
protected int |
clientCollationId
|
protected java.lang.String |
databaseName
|
protected int |
errorCode
|
protected boolean |
parseStatements
|
protected java.lang.String |
query
Fixed data part: 4 bytes. |
protected byte[] |
queryAsBytes
|
protected int |
serverCollationId
|
protected long |
threadId
|
| Fields inherited from class com.continuent.tungsten.replicator.extractor.mysql.LogEvent |
|---|
execTime, flags, logPos, serverId, startPosition, threadSpecificEvent, type, when |
| Constructor Summary | |
|---|---|
protected |
QueryLogEvent(byte[] buffer,
FormatDescriptionLogEvent descriptionEvent,
int eventType)
|
|
QueryLogEvent(byte[] buffer,
int eventLength,
FormatDescriptionLogEvent descriptionEvent,
boolean parseStatements,
boolean useBytesForString,
java.lang.String currentPosition)
|
| Method Summary | |
|---|---|
protected int |
extractStatusVariables(byte[] buffer,
int start,
int end)
|
java.lang.String |
getAutocommitFlag()
Returns the flagAutocommit value. |
int |
getAutoIncrementIncrement()
|
int |
getAutoIncrementOffset()
|
java.lang.String |
getAutoIsNullFlag()
Returns the flagAutoIsNull value. |
java.lang.String |
getCharsetName()
Return the native charset used to store query as bytes. |
int |
getClientCharsetId()
Returns the charsetID value. |
int |
getClientCollationId()
Returns the clientCollationId value. |
java.lang.String |
getDefaultDb()
|
int |
getErrorCode()
|
java.lang.String |
getForeignKeyChecksFlag()
Returns the flagForeignKeyChecks value. |
java.lang.String |
getQuery()
|
byte[] |
getQueryAsBytes()
|
int |
getServerCollationId()
Returns the serverCollationId value. |
long |
getSessionId()
|
java.lang.String |
getSqlMode()
Returns the sqlModeAsString value. |
java.lang.String |
getUniqueChecksFlag()
Returns the flagUniqueChecks value. |
| Methods inherited from class com.continuent.tungsten.replicator.extractor.mysql.LogEvent |
|---|
doChecksum, extractDecimal, getDecimalBinarySize, getExecTime, getNextEventPosition, getType, getWhen, hexdump, hexdump, hexdump, readLogEvent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String query
protected byte[] queryAsBytes
protected java.lang.String charsetName
protected java.lang.String databaseName
protected int errorCode
protected long threadId
protected boolean charset_inited
protected byte[] charset
protected int clientCharsetId
protected int clientCollationId
protected int serverCollationId
protected boolean parseStatements
| Constructor Detail |
|---|
protected QueryLogEvent(byte[] buffer,
FormatDescriptionLogEvent descriptionEvent,
int eventType)
throws ReplicatorException
ReplicatorException
public QueryLogEvent(byte[] buffer,
int eventLength,
FormatDescriptionLogEvent descriptionEvent,
boolean parseStatements,
boolean useBytesForString,
java.lang.String currentPosition)
throws ReplicatorException
ReplicatorException| Method Detail |
|---|
public java.lang.String getQuery()
public java.lang.String getDefaultDb()
public long getSessionId()
public int getErrorCode()
protected int extractStatusVariables(byte[] buffer,
int start,
int end)
throws ReplicatorException
ReplicatorExceptionpublic java.lang.String getSqlMode()
public java.lang.String getAutoIsNullFlag()
public java.lang.String getForeignKeyChecksFlag()
public java.lang.String getAutocommitFlag()
public java.lang.String getUniqueChecksFlag()
public int getClientCharsetId()
public int getClientCollationId()
public int getServerCollationId()
public int getAutoIncrementIncrement()
public int getAutoIncrementOffset()
public byte[] getQueryAsBytes()
public java.lang.String getCharsetName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||