Skip to product information
1 of 1

O'Reilly Media

Type Inheritance and Relational Theory: Subtypes, Supertypes, and Substitutability

Type Inheritance and Relational Theory: Subtypes, Supertypes, and Substitutability

Regular price $72.15 USD
Regular price Sale price $72.15 USD
Sale Sold out
Shipping calculated at checkout.
Format
Quantity

Type inheritance is that phenomenon according to which we can say, for example, that every square is also a rectangle, and so properties that apply to rectangles in general apply to squares in particular. In other words, squares are a subtype of rectangles, and rectangles are a supertype of squares. Recognizing and acting upon such subtype / supertype relationships provides numerous benefits: Certainly it can help in data modeling, and it can also provide for code reuse in applications. For these reasons, many languages, including the standard database language SQL, have long supported such relationships. However, there doesn't seem to be any consensus in the community at large on a formal, rigorous, and abstract model of inheritance. This book proposes such a model, one that enjoys several advantages over other approaches, not the least of which it is that it's fully compatible with the well known relational model of data.

Topics the model covers include:

  • Both single and multiple inheritance
  • Scalar, tuple, and relation inheritance
  • Type lattices and union and intersection types
  • Polymorphism and substitutability
  • Compile time and run time binding

All of these topics are described in detail in the book, with numerous illustrative examples, exercises, and answers. The book also discusses several alternative approaches. In particular, it includes a detailed discussion and analysis of inheritance as supported in the SQL standard.

Author: Chris J. Date
Publisher: O'Reilly Media
Published: 10/18/2016
Pages: 569
Binding Type: Paperback
Weight: 1.98lbs
Size: 9.19h x 7.00w x 1.16d
ISBN: 9781491959992

About the Author

C.J. Date has a stature that is unique within the database industry. C.J. is a prolific writer, and is well-known for his best-selling textbook: An Introduction to Database Systems (Addison Wesley). C.J. is an exceptionally clear-thinking writer who can lay out principles and theory in a way easily understood by his audience.


View full details