...
首页> 外文期刊>The VLDB journal >Views as first-class citizens in object-oriented databases
【24h】

Views as first-class citizens in object-oriented databases

机译:在面向对象的数据库中被视为一等公民

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

摘要

Extensibility and dynamic schema evolution are among the attractive features that lead to the wide acceptance of the object-oriented paradigm. Not knowing all class hierarchy details should not prevent a user from introducing new classes when necessary. Naive or professional users may define new classes either by using class definition constructs or as views. However, improper placement of such classes leads to a flat hierarchy with many things duplicated. To overcome this problem, we automated the process in order to help the user find the most appropriate position with respect to her class in the hierarchy regardless of her knowledge of the hierarchy. The system must be responsible for the proper placement of new classes because only the system has complete knowledge of the details of the class hierarchy, especially in a dynamic environment where changes are very frequent. In other published work, we proved that to define a view it is enough to have the set of objects that qualify to be in a view in addition to having message expressions (possible paths) that lead to desired values within those objects. Here, we go further to map a view that is intended to be persistent into a class. Then we investigate the proper position of that class in the hierarchy. To achieve this, we consider current characteristics of a new class in order to derive its relationship with other existing classes in the hierarchy. Another advantage of the presented model is that views that generate new objects are still updatable simply because we based the creation of new objects on existing identities. In other words, an object participates inside view objects by its identity regardless of which particular values from that object are of interest to the view. Values are reachable via message expressions, not violating encapsulation. This way, actual values are present in only one place and can be updated.
机译:可扩展性和动态模式演化是吸引人的特性,这些特性导致了面向对象范例的广泛接受。不知道所有类层次结构的详细信息不应不会阻止用户在必要时引入新的类。天真的或专业的用户可以通过使用类定义构造或作为视图来定义新类。但是,此类的不正确放置会导致层次结构扁平化,并重复许多内容。为了克服此问题,我们使该过程自动化,以帮助用户相对于其类在层次结构中找到最合适的位置,而不论其对层次结构的了解如何。该系统必须负责正确放置新类,因为只有系统才能完全了解类层次结构的详细信息,特别是在动态环境中,更改非常频繁。在其他已发表的工作中,我们证明了定义一个视图,除了具有导致这些对象中所需值的消息表达式(可能的路径)之外,具有足以包含在该视图中的对象集就足够了。在这里,我们进一步将意图持久化的视图映射到类中。然后,我们调查该类在层次结构中的适当位置。为了实现这一点,我们考虑新类的当前特性,以便推导其与层次结构中其他现有类的关系。提出的模型的另一个优点是,生成新对象的视图仍然可以更新,这仅仅是因为我们基于现有身份创建新对象。换句话说,一个对象通过其身份参与视图对象内部,而不管该视图感兴趣的对象是哪个特定值。可以通过消息表达式达到值,而不违反封装。这样,实际值仅存在于一个位置,并且可以更新。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号