org.apache.derby.catalog.types
Class OldRoutineType

java.lang.Object
  extended by org.apache.derby.catalog.types.OldRoutineType
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, Formatable, TypedFormat

final class OldRoutineType
extends java.lang.Object
implements Formatable

Class to simply read the old format written by DataTypeDescriptor prior to DERBY-2775 being addressed. The format was incorrect used in system catalogs for routine parameter and return types. The format contained repeated information. DERBY-2775 changed the code so that these catalog types were written as TypeDescriptor (which is what always had occurred for the types in SYSCOLUMNS).


Field Summary
private  TypeDescriptor catalogType
           
 
Constructor Summary
OldRoutineType()
           
 
Method Summary
(package private)  TypeDescriptor getCatalogType()
           
 int getTypeFormatId()
          Get a universally unique identifier for the type of this object.
 void readExternal(java.io.ObjectInput in)
           
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

catalogType

private TypeDescriptor catalogType
Constructor Detail

OldRoutineType

OldRoutineType()
Method Detail

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

getTypeFormatId

public int getTypeFormatId()
Description copied from interface: TypedFormat
Get a universally unique identifier for the type of this object.

Specified by:
getTypeFormatId in interface TypedFormat
Returns:
The identifier. (A UUID stuffed in an array of 16 bytes).

getCatalogType

TypeDescriptor getCatalogType()

Built on Thu 2011-03-10 11:54:14+0000, from revision ???

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