×

Abstract query plan

  • US 7,461,052 B2
  • Filed: 12/06/2004
  • Issued: 12/02/2008
  • Est. Priority Date: 12/06/2004
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method of processing an abstract query, comprising:

  • receiving, from a requesting entity, an abstract query composed from a plurality of logical fields, wherein each logical field specifies (i) a name used to identify the logical field, (ii) an access method that maps the logical field to a data source in a database;

    identifying (i) a set of data sources referenced by the plurality of logical fields in the abstract query and (ii) a set of relationships between the set of data sources;

    determining an acyclic graph representation of the set of data sources;

    generating an abstract query plan, wherein the abstract query plan comprises;

    (a) a plurality of table instances, wherein each table instance includes;

    (i) an indication of a data source associated with that table instance;

    (ii) each of the logical fields included in the abstract query that depend on data present in the indicated data source; and

    (iii) conditions used to limit data selected from the indicated data source; and

    (b) a set of join relationships that indicates how the plurality of table instances are related to one another;

    performing at least one optimization of the abstract query plan to generate an optimized abstract query plan; and

    traversing the optimized abstract query plan to generate a resolved query of the set of data sources.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×