org.apache.derby.impl.store.logical.operations
Class LogicalImage
java.lang.Object
org.apache.derby.impl.store.logical.operations.LogicalImage
- All Implemented Interfaces:
- LogicalImage, java.io.Serializable
- public class LogicalImage
- extends java.lang.Object
- implements LogicalImage
An implementation of a logical image. Can be either a before- or after image
- Author:
- Egil S¿rensen
- See Also:
- Serialized Form
Constructor Summary |
LogicalImage(org.apache.derby.iapi.sql.dictionary.ColumnDescriptor[] columns,
org.apache.derby.iapi.types.DataValueDescriptor[] values,
int keyColumn,
org.apache.derby.iapi.types.DataValueDescriptor key,
int type)
Constructor that creates a logicalimage from the internal types
columndescriptor and datavaluedescriptor so that they can be
serialized and sent through a outputstream |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LogicalImage
public LogicalImage(org.apache.derby.iapi.sql.dictionary.ColumnDescriptor[] columns,
org.apache.derby.iapi.types.DataValueDescriptor[] values,
int keyColumn,
org.apache.derby.iapi.types.DataValueDescriptor key,
int type)
- Constructor that creates a logicalimage from the internal types
columndescriptor and datavaluedescriptor so that they can be
serialized and sent through a outputstream
- Parameters:
columns
- The columns of the affected tablevalues
- The values of the affected rowkey
- The key of the affected tabletype
- The type of this image, can either be before- or after image- See Also:
LogicalLogger
getContents
public java.util.Hashtable getContents()
- Specified by:
getContents
in interface LogicalImage
getKey
public java.lang.String getKey()
- Specified by:
getKey
in interface LogicalImage
getType
public int getType()
- Specified by:
getType
in interface LogicalImage
size
public int size()
- Specified by:
size
in interface LogicalImage
getKeyColumnName
public java.lang.String getKeyColumnName()
- Specified by:
getKeyColumnName
in interface LogicalImage
toString
public java.lang.String toString()
- Returns a String representation of the image, used for debugging purposes