org.apache.derby.iapi.types
Interface CloneableObject

All Known Subinterfaces:
RowLocation
All Known Implementing Classes:
B2I, B2I_10_3, B2I_v10_2, BigIntegerDecimal, BinaryDecimal, BTree, CollatorSQLChar, CollatorSQLClob, CollatorSQLLongvarchar, CollatorSQLVarchar, DataType, GenericConglomerate, Heap, Heap_v10_2, HeapRowLocation, NumberDataType, SQLBinary, SQLBit, SQLBlob, SQLBoolean, SQLChar, SQLClob, SQLDate, SQLDecimal, SQLDouble, SQLInteger, SQLLongint, SQLLongVarbit, SQLLongvarchar, SQLReal, SQLRef, SQLSmallint, SQLTime, SQLTimestamp, SQLTinyint, SQLVarbit, SQLVarchar, StorableFormatId, UserType, UTF, XML

public interface CloneableObject

This is a simple interface that is used by the sorter for cloning input rows. It defines a method that can be used to clone a column.


Method Summary
 java.lang.Object cloneObject()
          Get a shallow copy of the object and return it.
 

Method Detail

cloneObject

java.lang.Object cloneObject()
Get a shallow copy of the object and return it. This is used by the sorter to clone columns. It should be cloning the column holder but not its value. The only difference between this method and getClone is this one does not objectify a stream.

Returns:
new cloned column as an object

Built on Thu 2008-08-14 18:45:39-0700, from revision 686102

Apache Derby V10.5 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.