Dbms 12
Dbms 12
Object Databases
Experimental Systems:
Orion at MCC
IRIS at H-P labs
Open-OODB at T.I.
ODE at ATT Bell labs
Postgres - Montage - Illustra at UC/B
Encore/Observer at Brown
Operator polymorphism:
This refers to an operation’s ability to be applied to
different types of objects; in such a situation, an
operation name may refer to several distinct
implementations, depending on the type of objects
it is applied to.
This feature is also called operator overloading
Example 1
One possible relational database state
corresponding to COMPANY schema
Example 1 (contd.):
Example 1 (contd.)
Example 1(contd.)
o8 = (i8, tuple, <dname:i5, dnumber:i4, mgr:i9,
locations:i7, employees:i10, projects:i11>)
o9 = (i9, tuple, <manager:i12,
manager_start_date:i6>)
o10 = (i10, set, {i12, i13, i14})
o11 = (i11, set {i15, i16, i17})
o12 = (i12, tuple, <fname:i18, minit:i19, lname:i20,
ssn:i21, . . ., salary:i26, supervisor:i27, dept:i8>)
...
Encapsulation
One of the main characteristics of OO languages
and systems
Related to the concepts of abstract data types
and information hiding in programming
languages
Subtype:
When the designer or user must create a new type
that is similar but not identical to an already
defined type
Supertype:
It inherits all the functions of the subtype