Patent ID: 7657505

Claim:
A computer-implemented system that facilitates management of data store queries, through use of data shapes that include eager loading policies and filter policies that are applied to the data store queries, to provide a consistent view of a data store and to increase data retrieval efficiency, comprising: a processor; and one or more physical computer readable storage media operatively coupled to the processor, the computer readable storage media having stored thereon computer executable instructions that, when executed by the processor, implement the following components: a data shape generation component that generates at least one data shape based at least in part upon a specification, wherein the specification includes at least one eager loading policy that directs eager loading of data, and at least one filter policy that is configured to restrict queries, and wherein the data shape includes the eager loading policy and the filter policy; a data shape set component that maintains a data shape set that enables data shapes to be applied across multiple queries, wherein the data shape set is capable of maintaining a plurality of data shapes, including the data shape; a query generation component that receives the input query requesting data from the data store and, in response, obtains the data shape from the data shape set component, determines a consistent data view associated with the input query from at least the eager loading policy and the filter policy, and generates a plurality of output queries used to retrieve the data from the data store, wherein at least one output query of the plurality is generated based the eager loading policy, and wherein at least one output query of the plurality includes at least one restriction based on the filter policy; and a data retrieval component that executes the plurality of output queries to retrieve the data from the data store in accordance with the consistent data view.