OUTER JOINS AND FILTERS FOR INSTANTIATING OBJECTS FROM RELATIONAL DATABASES THROUGH VIEWS

被引:0
|
作者
LEE, BS [1 ]
WIEDERHOLD, G [1 ]
机构
[1] STANFORD UNIV,STANFORD,CA 94305
关键词
COMPLEX OBJECT; FILTER; OUTER JOIN; RELATION STORAGE; VIEW;
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
One of the approaches for integrating object-oriented programs with databases is to instantiate objects from relational databases by evaluating view queries. In that approach, it is often necessary to evaluate some joins of the query by left outer joins to prevent information loss caused by the tuples discarded by inner joins. It is also necessary to filter some relations with selection conditions to prevent the retrieval of unwanted nulls. The system should automatically prescribe joins as inner or left outer joins and generate the filters, rather than letting them be specified manually for every view definition. We develop such a mechanism in this paper. We first develop a rigorous system model to facilitate the mapping between an object-oriented model and the relational model. The system model provides a well-defined context for developing a simple mechanism. The mechanism requires only one piece of information from users: null options on an object attribute. The semantics of these options are mapped to non-null constraints on the query result. Then the system prescribes joins and generates filters accordingly. We also address reducing the number of left outer joins and the filters so that the query can be processed more efficiently.
引用
收藏
页码:108 / 119
页数:12
相关论文
共 2 条
  • [1] Publishing Linked Data from Relational Databases Using Traditional Views
    Chen, Lei
    Yao, Nansheng
    [J]. PROCEEDINGS OF 2010 3RD IEEE INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND INFORMATION TECHNOLOGY (ICCSIT 2010), VOL 6, 2010, : 9 - 12
  • [2] Inheriting Access Control Rules from Large Relational Databases to Materialized Views Automatically
    Cuzzocrea, Alfredo
    Hacid, Mohand-Said
    Grillo, Nicola
    [J]. KNOWLEDGE-BASED AND INTELLIGENT INFORMATION AND ENGINEERING SYSTEMS, PT III, 2010, 6278 : 426 - +