×

Operations over nested relationships using operators

  • US 9,064,000 B1
  • Filed: 07/19/2012
  • Issued: 06/23/2015
  • Est. Priority Date: 07/19/2011
  • Status: Active Grant
First Claim
Patent Images

1. A computer program product in a non-transitory computer readable medium, the computer program product comprising machine-readable program instructions executed by a processor to perform a method of storage and retrieval with respect to a set of data stored in tables organized by table groups, wherein a table group comprises all the data from at least one row of a root table together with all related rows of data from one or more other tables related thereto such that rows from multiple distinct tables of the table group are associated as a composite entity, wherein, within the table group, there are one or more root-to-leaf paths that each include, along the root-to-leaf path, the root table, and one or more descendant tables, wherein one of the descendant tables is a leaf table, the method comprising:

  • in response to receipt of a query, constructing a plan of execution composed of one or more operators, wherein at least one of the operators identifies a table or index to be used as an input row type;

    carrying out the plan of execution by;

    for each row that matches the input row type, obtain an hkey;

    transforming the hkey into a modified hkey associated with an output row type pointing to a different table or index;

    starting with a row of interest associated with the modified hkey, probing a table group to read one or more additional rows; and

    as each of the one or more additional rows are read, writing into an output stream the one or more additional rows, the output stream being a response to the query.

View all claims
  • 6 Assignments
Timeline View
Assignment View
    ×
    ×