BRIEF DESCRIPTION OF THE DRAWINGS
The systems and methods for mapping architecture with incremental view maintenance in accordance with the present invention are further described with reference to the accompanying drawings in which:
FIG. 1 illustrates an architecture of an exemplary Entity Framework as contemplated herein.
FIG. 2 illustrates an exemplary relational schema.
FIG. 3 illustrates an exemplary Entity Data Model (EDM) schema.
FIG. 4 illustrates a mapping between and entity schema (left) and a database schema (right).
FIG. 5 illustrates mapping is represented in terms of queries on the entity schema and the relational schema.
FIG. 6 illustrates bidirectional views—the query and update views—generated by the mapping compiler for the mapping in FIG. 5.
FIG. 7 illustrates a process for leveraging materialized view maintenance algorithms to propagate updates through bidirectional views.
FIG. 8 illustrates a mapping designer user interface.
FIG. 9 illustrates depicts an entity schema with entity types Person and Customer whose instances are accessed via the extent Persons.
FIG. 10 illustrates query and update views generated by the mapping compiler for the mapping in FIG. 9.
FIG. 11 illustrates a merge view that combines an updated store state computed by a client and an old store state into the new store state.
FIG. 12 illustrates a mapping expressed as a composition mapping f, ◯ g−1 where the view f: C→V is given by queries QC1, . . . , QCn, the view g: S→V is given by queries QS1, . . . , QSn, and V corresponds to the view schema V1, . . . , Vn induced by these queries.
FIG. 13 illustrates a scenario in which a combination of horizontal and vertical partitioning is used to store the inheritance hierarchy shown on the left. Table HR holds portions of instances of Person and Employee, but no Customer instances. The mapping fragment for HR can be specified using OR.
FIG. 14 illustrates an exemplary partitioning of a relational table.
FIG. 15 illustrates a query g that partitions S into P ⊂ Pexp×Punexp such that pexp: S→Pexp and punexp.
FIG. 16 illustrates exemplary steps of a mapping compilation process.
FIG. 17 illustrates exemplary partitions and views for use as an example in the corresponding written specification.
FIG. 18 illustrates an exemplary embodiment including a method that combines a variety of aspects of the disclosure provided herein.