com.continuent.tungsten.replicator.prefetch
Class RbrTableChangeSet

java.lang.Object
  extended by com.continuent.tungsten.replicator.prefetch.RbrTableChangeSet

public class RbrTableChangeSet
extends java.lang.Object

Wrapper for a set of changes on a single table. All changes share the same table as well as change type.


Method Summary
 RbrRowChange getRowChange(int index)
          Return a single row change.
 java.util.List<RbrRowChange> getRowChanges()
          Return all row changes.
 java.lang.String getSchemaName()
          Returns the schema to which underlying table applies.
 java.lang.String getTableName()
          Returns the table to change applies.
 boolean isDelete()
          Returns true if this is a delete.
 boolean isInsert()
          Returns true if this is an insert.
 boolean isUpdate()
          Returns true if this is an update.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isInsert

public boolean isInsert()
Returns true if this is an insert.


isUpdate

public boolean isUpdate()
Returns true if this is an update.


isDelete

public boolean isDelete()
Returns true if this is a delete.


getSchemaName

public java.lang.String getSchemaName()
Returns the schema to which underlying table applies.


getTableName

public java.lang.String getTableName()
Returns the table to change applies.


getRowChanges

public java.util.List<RbrRowChange> getRowChanges()
Return all row changes.


getRowChange

public RbrRowChange getRowChange(int index)
Return a single row change.