You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by Apache Wiki <wi...@apache.org> on 2007/04/19 17:21:14 UTC

[Db-derby Wiki] Update of "TypeCompiler" by BryanPendleton

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification.

The following page has been changed by BryanPendleton:
http://wiki.apache.org/db-derby/TypeCompiler

The comment on the change is:
capture some notes from Dan

New page:
Some functionality is applicable to a type regardless of a specific DataTypeDescriptor's attributes, thus methods for that functionality can be declared on TypeId instead of DataTypeDescriptor.

Some functionality on the other hand needs the attribute information as well, say the display length of a type is a function of its length/precision&scale and its underlying SQL type.

The TypeCompiler/TypeId split was due to an early plan to have a execute-only version of the technology, this never happened as there was no demand for it. One of the benefits of a SQL engine is the ability to execute arbitrary queries, which would not be available in an execute only version. Code cleanup could be done here which probably would decrease the footrprint of derby.