Package org.apache.derby.catalog.types
Class OldRoutineType
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description private TypeDescriptorcatalogType
-
Constructor Summary
Constructors Constructor Description OldRoutineType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) TypeDescriptorgetCatalogType()intgetTypeFormatId()Get a universally unique identifier for the type of this object.voidreadExternal(java.io.ObjectInput in)voidwriteExternal(java.io.ObjectOutput out)
-
-
-
Field Detail
-
catalogType
private TypeDescriptor catalogType
-
-
Method Detail
-
readExternal
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException- Specified by:
readExternalin interfacejava.io.Externalizable- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
writeExternal
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException- Specified by:
writeExternalin interfacejava.io.Externalizable- Throws:
java.io.IOException
-
getTypeFormatId
public int getTypeFormatId()
Description copied from interface:TypedFormatGet a universally unique identifier for the type of this object.- Specified by:
getTypeFormatIdin interfaceTypedFormat- Returns:
- The identifier. (A UUID stuffed in an array of 16 bytes).
-
getCatalogType
TypeDescriptor getCatalogType()
-
-