Outer quantifiers in object-oriented queries and views of database systems
Abstract
The system, method, and program of this invention provides for a new type of quantifier that is useful for object-oriented queries that reference collections and nested collections of objects. The invention is applicable to any other type of database where the data has a hierarchical relationship, also. This new type of quantifier is called an outer quantifier. The outer quantifier appears in the language of the query (in the FROM clause) and creates a new runtime semantic. The function and semantics provided by outer quantifiers is similar to that provided partly by left outer joins in relational systems. Outer quantifiers are bound to a null instance if the collection over which they are defined is empty. Outer quantifiers are a simple way of expressing queries so that objects having empty collections of nested objects are included in the result, also.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 96.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method executed in a computer in a database management system for processing a query, said method comprising: receiving said query having a quantifier defined over an entity, said quantifier having a special designation; and processing said query by returning a result set including the entity if the entity has an empty subset, as a consequence of said special designation.
- Claim 2Depends on #1
The method of claim 1 further comprising: receiving a second query having a second quantifier, without said special designation, defined over said entity; and returning no result with respect to said entity if the entity has an empty subset.
- Claim 3Depends on #1
The method of claim 1 wherein the processing of said query is performed independently of an outer join operation.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 96 total)
References Cited — Backward Prior Art (7)
Non-Patent Literature (5)
- "A data Model and Query Language for EXODUS," Proc. ACM-SIGMOD International Conference on Management of Data, Carey, Michael; DeWitt, David; Vandenberg, Scott; Chicago, Jun. 1988.
- "A model of Queries for Object-Oriented Databases," Kim, Won. Proc. 15th International Conference on Very Large Data Basses, Amsterdam, Aug. 1989.
- "A query Language for the O2 Object-Oriented Database System," Bancilhon, Francois; Cluet S.; Delobel, C.; Proc. 2nd International Workshop on Database Programming Languages, Hull, Richard; Morrison, Ron; Stemple, David, editors; Gleneden Beach, Jun. 1989, Morgan-Kaufmann Publishers, Inc.
- "An Implementation of GEM: Supporting a Semantic Data Model on a Relational Back-End", Tsur, S.; Zaniolo, C., Proc. ACM-SIGMOD International Conference on Management of Data, Boston, Jun. 1984.
- "CQL++: A SQL for a C++ Based Object-Oriented DBMS," Dar, S.; Gehani, N.; Jagadish, H.; Proc International Conference on Extending Data Base Technology, Advances in Database Technology--EDBT '92. Lecture Notes in Computer Science, Vienna, 1992. Springer-Verlag.