|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.db2.tools.repl.publication.Msg | +--com.ibm.db2.tools.repl.publication.DataMsg | +--com.ibm.db2.tools.repl.publication.TransactionMsg
A TransactionMsg contains one or more insert, update, or delete row operations on the source table. The TransactionMsg also contains information about the time theat the transaction was committed at the source database, and a time based log sequence number.
Field Summary | |
---|---|
protected java.lang.String |
authID
|
protected java.lang.String |
commitLSN
|
protected java.lang.String |
commitTime
|
protected java.lang.String |
correlationID
|
protected boolean |
isLast
|
protected java.lang.String |
planName
|
protected java.util.Vector |
rows
|
protected int |
segmentNumber
|
Fields inherited from class com.ibm.db2.tools.repl.publication.Msg |
---|
dbName, jmsMsg, topicHeader |
Constructor Summary | |
---|---|
TransactionMsg()
|
Method Summary | |
---|---|
java.lang.String |
getAuthID()
Get the authorization id that caused the database modification. |
java.lang.String |
getCommitLSN()
The Commit Logical Sequence Number of the transaction. |
java.lang.String |
getCommitTime()
The timestamp of the commit statement using GMT. |
java.lang.String |
getCorrelationID()
Get the correlation id that caused the database modification (DB2 z/OS only). |
java.lang.String |
getPlanName()
Get the plan name that caused the database modification (DB2 z/OS only). |
java.util.Vector |
getRows()
Get the modified rows. |
int |
getSegmentNumber()
A positive integer that indicates the message's segment number in a divided transaction message. |
boolean |
isLast()
A boolean value that indicates if this message is the last message in the transaction. |
void |
setAuthID(java.lang.String string)
This method has no effect when used by a PublicationListener. |
void |
setCommitLSN(java.lang.String string)
This method has no effect when used by a PublicationListener. |
void |
setCommitTime(java.lang.String string)
This method has no effect when used by a PublicationListener. |
void |
setCorrelationID(java.lang.String string)
This method has no effect when used by a PublicationListener. |
void |
setLast(boolean b)
This method has no effect when used by a PublicationListener. |
void |
setPlanName(java.lang.String string)
This method has no effect when used by a PublicationListener. |
void |
setRows(java.util.Vector vector)
This method has no effect when used by a PublicationListener. |
void |
setSegmentNumber(int i)
This method has no effect when used by a PublicationListener. |
Methods inherited from class com.ibm.db2.tools.repl.publication.Msg |
---|
getDbName, getJMSMessage, getObjectProperty, getPropertyNames, getTopic, setDbName, setJMSMessage, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected boolean isLast
protected int segmentNumber
protected java.lang.String commitLSN
protected java.lang.String commitTime
protected java.lang.String authID
protected java.lang.String correlationID
protected java.lang.String planName
protected java.util.Vector rows
Constructor Detail |
public TransactionMsg()
Method Detail |
public java.lang.String getCommitLSN()
public java.lang.String getCommitTime()
public java.lang.String getAuthID()
public java.lang.String getCorrelationID()
public java.lang.String getPlanName()
public boolean isLast()
public java.util.Vector getRows()
public int getSegmentNumber()
public void setCommitLSN(java.lang.String string)
string
- public void setCommitTime(java.lang.String string)
string
- public void setAuthID(java.lang.String string)
string
- public void setCorrelationID(java.lang.String string)
string
- public void setPlanName(java.lang.String string)
string
- public void setLast(boolean b)
b
- public void setRows(java.util.Vector vector)
vector
- public void setSegmentNumber(int i)
i
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |