Type Inheritance and Relational Theory

Subtypes, Supertypes, and Substitutability

Nonfiction, Computers, Advanced Computing, Computer Science, Database Management
Cover of the book Type Inheritance and Relational Theory by C.J. Date, O'Reilly Media
View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart
Author: C.J. Date ISBN: 9781491959947
Publisher: O'Reilly Media Publication: September 8, 2016
Imprint: O'Reilly Media Language: English
Author: C.J. Date
ISBN: 9781491959947
Publisher: O'Reilly Media
Publication: September 8, 2016
Imprint: O'Reilly Media
Language: English

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.

View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart

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:

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.

More books from O'Reilly Media

Cover of the book Designing and Programming CICS Applications by C.J. Date
Cover of the book C# Language Pocket Reference by C.J. Date
Cover of the book Jenkins: The Definitive Guide by C.J. Date
Cover of the book Mastering Collaboration by C.J. Date
Cover of the book Git kurz & gut by C.J. Date
Cover of the book Protecting Your Mobile App IP: The Mini Missing Manual by C.J. Date
Cover of the book DocBook 5: The Definitive Guide by C.J. Date
Cover of the book Mastering Algorithms with C by C.J. Date
Cover of the book 20 Recipes for Programming PhoneGap by C.J. Date
Cover of the book Data Science for Business by C.J. Date
Cover of the book Mono: A Developer's Notebook by C.J. Date
Cover of the book The Ruby Programming Language by C.J. Date
Cover of the book Eclipse IDE Pocket Guide by C.J. Date
Cover of the book Oracle Utilities Pocket Reference by C.J. Date
Cover of the book Objective-C Pocket Reference by C.J. Date
We use our own "cookies" and third party cookies to improve services and to see statistical information. By using this website, you agree to our Privacy Policy