摘要 |
An asynchronous, non-blocking method for making joins and retrieving joined data during query processing in a database. A sending object sends a join message that specifies a criteria for a join to one or more receiving objects. Receiving objects process the join message with an associated function and potentially generate a result message, then stop processing. During this process the sending object does not wait for a reply from the receiving object before continuing with subsequent processing. Join messages can be placed in a join message queue with the results from the receiving objects being placed in a results queue. The query method can be used as a basis for an ad-hoc SQL query facility that is not dependant on a flat data structure. In particular, the methods of the present invention can be used for joining both the complex structures of an object-oriented database model and the flat structures of the relational database model. |