com.continuent.tungsten.replicator.prefetch
Class RbrRowImage

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

public class RbrRowImage
extends java.lang.Object

Data for a single row, regardless of whether before or after the change.


Nested Class Summary
static class RbrRowImage.ImageType
          Images can be one of two types.
 
Constructor Summary
RbrRowImage(RbrRowImage.ImageType type, RbrTableChangeSet changeSet, java.util.List<OneRowChange.ColumnSpec> specs, java.util.List<OneRowChange.ColumnVal> values)
          Creates a row image with the minimum effort required.
 
Method Summary
 int getColumnIndex(java.lang.String name)
          Look up the index of a column name, returning -1 if it is not present.
 java.lang.String getSchemaName()
           
 java.lang.String getTableName()
           
 RbrRowImage.ImageType getType()
          Returns the image type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RbrRowImage

public RbrRowImage(RbrRowImage.ImageType type,
                   RbrTableChangeSet changeSet,
                   java.util.List<OneRowChange.ColumnSpec> specs,
                   java.util.List<OneRowChange.ColumnVal> values)
Creates a row image with the minimum effort required.

Method Detail

getType

public RbrRowImage.ImageType getType()
Returns the image type.


getSchemaName

public java.lang.String getSchemaName()

getTableName

public java.lang.String getTableName()

getColumnIndex

public int getColumnIndex(java.lang.String name)
Look up the index of a column name, returning -1 if it is not present. Index values start at 1 for first column.