...
首页> 外文期刊>IEEE Transactions on Knowledge and Data Engineering >Outer joins and filters for instantiating objects from relational databases through views
【24h】

Outer joins and filters for instantiating objects from relational databases through views

机译:外部联接和过滤器,用于通过视图实例化关系数据库中的对象

获取原文
获取原文并翻译 | 示例
           

摘要

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.
机译:将面向对象程序与数据库集成的方法之一是通过评估视图查询从关系数据库实例化对象。在这种方法中,通常有必要通过左外部联接评估查询的某些联接,以防止由于内部联接丢弃的元组而导致信息丢失。还必须过滤与选择条件的某些关系,以防止检索不想要的空值。系统应自动将联接指定为内部联接或左外部联接,并生成过滤器,而不是让每个视图定义都手动指定它们。我们在本文中开发了这种机制。我们首先开发一个严格的系统模型,以促进面向对象模型和关系模型之间的映射。系统模型为开发简单机制提供了定义明确的上下文。该机制仅需要用户提供一条信息:对象属性上的null选项。这些选项的语义映射到查询结果上的非null约束。然后,系统规定联接并相应地生成过滤器。我们还致力于减少左外部联接和过滤器的数量,以便可以更有效地处理查询。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号