Package org.apache.derby.catalog.types
Class OldRoutineType
java.lang.Object
org.apache.derby.catalog.types.OldRoutineType
- All Implemented Interfaces:
Externalizable
,Serializable
,Formatable
,TypedFormat
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) TypeDescriptor
int
Get a universally unique identifier for the type of this object.void
void
-
Field Details
-
catalogType
-
-
Constructor Details
-
OldRoutineType
OldRoutineType()
-
-
Method Details
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
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 interfaceTypedFormat
- Returns:
- The identifier. (A UUID stuffed in an array of 16 bytes).
-
getCatalogType
TypeDescriptor getCatalogType()
-