
PDF · English
Type Inheritance and Relational Theory
Subtypes, Supertypes, and Substitutability
Price and availability
$37.99
Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa
Stores: US, UK, Canada, EU, Australia.
Sign in to buyThe price is re-checked by the server before payment.
For personal use under the eBook licence.
- Format
- DRM
- Not stated by the publisher
- Language
- English
- Publisher
- O'Reilly Media
- Published
- 8 September 2016
- ISBN
- 9781491959961
- Subjects
- Information theory, Computer programming / software development, Programming & scripting languages: general, Databases, Data warehousing, Information retrieval, Computer science, Information theory, Computer programming / software engineering, Programming and scripting languages: general, Databases / Data management, Data warehousing, Information retrieval, Computer science
About this book
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 doesnt 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 its fully compatible with the well known relational model of data.Topics the model covers include:Both single and multiple inheritanceScalar, tuple, and relation inheritanceType lattices and union and intersection typesPolymorphism and substitutabilityCompile time and run time bindingAll 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.
Bibliographic data © Gardners Books Ltd.