|
||||||||||
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.Row
The Row class reprenents one row that was published. The getOperation() method on the row allows the caller to find out what happened to the row (Insert, Update, or Delete). The all the actual data values are stored in the columns, which are retrieved via the "getColumns()" method.
Field Summary | |
---|---|
protected java.util.Vector |
columns
|
static int |
DeleteOperation
|
protected boolean |
hasLOBColumns
|
static int |
InsertOperation
|
protected int |
rowNumber
|
protected int |
rowOperation
|
protected java.lang.String |
srcName
|
protected java.lang.String |
srcOwner
|
protected java.lang.String |
subscriptionName
|
static int |
UpdateOperation
|
Constructor Summary | |
---|---|
Row()
|
Method Summary | |
---|---|
java.util.Vector |
getColumns()
Fetch all the columns that are a part of this row. |
int |
getRowNumber()
Return the row number. |
int |
getRowOperation()
This is how the row was used in the transaction. |
java.lang.String |
getSrcName()
The name of the source table. |
java.lang.String |
getSrcOwner()
The owner name of the source table. |
java.lang.String |
getSubscriptionName()
The subscription name. |
boolean |
hasLOBColumns()
Does this row have any LOB columns? |
void |
setColumns(java.util.Vector vector)
This method has no effect when used by a PublicationListener. |
void |
setHasLOBColumns(boolean b)
This method has no effect when used by a PublicationListener. |
void |
setRowNumber(int i)
This method has no effect when used by a PublicationListener. |
void |
setRowOperation(int i)
This method has no effect when used by a PublicationListener. |
void |
setSrcName(java.lang.String string)
This method has no effect when used by a PublicationListener. |
void |
setSrcOwner(java.lang.String string)
This method has no effect when used by a PublicationListener. |
void |
setSubscriptionName(java.lang.String string)
This method has no effect when used by a PublicationListener. |
java.lang.String |
toString()
Override so we can print the values in a nice textual format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int InsertOperation
public static final int DeleteOperation
public static final int UpdateOperation
protected java.lang.String srcOwner
protected java.lang.String srcName
protected java.lang.String subscriptionName
protected int rowNumber
protected boolean hasLOBColumns
protected java.util.Vector columns
protected int rowOperation
Constructor Detail |
public Row()
Method Detail |
public java.util.Vector getColumns()
public boolean hasLOBColumns()
public int getRowNumber()
public int getRowOperation()
public java.lang.String getSrcName()
public java.lang.String getSrcOwner()
public java.lang.String getSubscriptionName()
public void setColumns(java.util.Vector vector)
vector
- public void setHasLOBColumns(boolean b)
b
- public void setRowNumber(int i)
i
- public void setRowOperation(int i)
i
- public void setSrcName(java.lang.String string)
string
- public void setSrcOwner(java.lang.String string)
string
- public void setSubscriptionName(java.lang.String string)
string
- public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |