The Object-Relation-Kin Model
Toward Relational Analysis and Design in General Object Oriented
Languages
Abstract:
The relational model is in use by many database systems. Object oriented technology is also widely used in database
application development. But “object-relational impedance mismatch” was found between the two approaches.
However, in the study behind this paper, the REAL mismatch is revaluated, and the Object-Relational Mapping
approach is found being actually mapping between the Network Model and the SQL interface.
A new data model - the Object-Relation-Kin model is then derived from the relational model and the entityrelationship
model, to better consolidate object technology and the relational model without defective mappings.
Ableverse™ TheObjectBase as the DBMS and WebOfWeb as the blueprint project are showing a feasible solution in
the Java™ programming language as realworld practices, on the basis of this new data model.
全文见:
http://www.ableverse.org/articles/orkm.pdf
或
http://www.ableverse.org/articles/orkm.html
Table of Contents:
1 . Introduction
1 .1. Backgrounds
1 .1.1. The Relational Model and the Entity-Relationship Model
1 .1.2. Conventional Relational Databases and SQL
1 .2. New Situations
1 .2.1. Impedance Mismatch Problems and SQL's Limitations
1 .2.2. Physical RAM Capacity Increased to Hold Mass Data
1 .2.3. Developed Garbage Collection Technologies
1 .2.4. More CPUs, More Cores, Sharing a Same Memory Space
1 .3. New Ideas
1 .3.1. Adding Persistence Ability to Application Object Model
1 .3.2. Unique Object Graph
1 .3.3. Relational Data Traverse for Embedded DB Access
1 .3.4. Hosting Based Interfacing for Distributed DB Access
2 . Premised Object Orientation
2 .1. Object Oriented Analysis and Design
2 .2. The Java Programming Language
3 . The Object-Relation-Kin Model
3 .1. Data in Object Models: Exposed Properties and Encapsulated Fields
3 .2. Multilevel Views of Data
3 .3. Information Concerning Entities and Relationships (Level 1)
3 .3.1. Entity and Relation Objects
3 .3.1.1. Entity Object Inheritance
3 .3.1.2. Relation Object Inheritance
3 .3.2. Role in Relationship
3 .3.3. Properties, Value and Type
3 .3.4. Conceptual Information Structure
3 .4. Information Structure (Level 2)
3 .4.1. Object Identifiers
3 .4.2. Data Fields Encapsulated by Objects
3 .4.3. Entity and Relation Classes
3 .5. Object Graph in Operational Memory (Level 4)
3 .5.1. Relation Object Ties Other Objects with Tie Fields
3 .5.1.1. Tie Field Name reflects Role
3 .5.1.2. Behaviors of Tie Reference Object
3 .5.2. Related Objects Reach Each Others through Kin Fields
3 .5.2.1. Kin Field and Kin Set Field
3 .5.2.2. Source Relation, Self Roles and Target Roles
3 .5.2.3. Kin Reference
3 .5.3. Derive 3NF Schema from E-R Schema, Direct Kin
3 .6. Tabular Object States in Permanent Storage (Level 3)
3 .7. Object Swapping and Swap Engine
3 .7.1. Update Tables On Transaction Commit
3 .7.2. Inflate Objects On Initial Access
4 . Persistence System Design with ORK Model
4 .1. Database Management System for ORK Model
4 .2. Create Domain Model with Persistent Objects
4 .2.1. Design Domain Object Topography
4 .2.2. Design Object Behaviors (Domain Logics)
4 .2.2.1. Concern Persistence Behaviors
4 .3. Provide Access to the System
4 .3.1. Define and Implement Service Interfaces
4 .3.1.1. Create Domain Objects
4 .3.1.2. Find Domain Objects
4 .3.1.2.1. Query Persistent Objects using SQL
4 .3.1.2.2. More Query Mechanisms
4 .3.1.3. Delete Domain Objects
4 .3.1.4. Invoke Domain Object Methods
4 .3.1.4.1. Methods Read Persistent Fields
4 .3.1.4.2. Methods Write Persistent Fields
4 .3.1.4.3. Methods Update Tie Fields
4 .3.2. Host Foreign Task Agents with Domain Model Environment
4 .3.2.1. Enable Task Agent Transmission
4 .3.2.2. Impose Security Constraints
4 .4. Design Data Analytical Applications using SQL
5 . Object-Relation-Kin Diagram
6 . Software Products for Reference
分享到:
相关推荐
Few-Shot Object Detection with Attention-RPN and Multi-Relation Detector Few-Shot Object Detection with Attention-RPN and Multi-Relation Detector 是一种小样本目标检测网络,该网络使用注意力 RPN 和多...
它通过Masked Language Model (MLM)和Next Sentence Prediction (NSP)两个任务进行预训练,能够理解文本的上下文信息。BERT模型的特点是利用双向Transformer编码器,打破了传统RNN或LSTM模型的顺序依赖限制,提高了...
在`laravel-custom-relation-master`这个项目中,你可以找到实际的代码示例和测试用例,帮助你理解和学习如何在自己的项目中应用自定义关系。通过研究这个项目的源码,你可以深入理解Laravel中自定义关系的工作原理...
标题中的"BRCNN-Relation-Extraction"指向的是一种用于关系抽取的深度学习模型,即双向循环神经网络(Bidirectional Recurrent Convolutional Neural Network)。关系抽取是自然语言处理(NLP)领域的一个重要任务,...
本文将详细探讨"Entity-Relation-Extraction(Medical)"的主题,这是利用Google-Bert模型在医疗领域的实体关系三元组抽取模型。 首先,让我们了解一下Bert(Bidirectional Encoder Representations from ...
标题中的"BRCNN-Relation-Extraction.pdf"指的是一个关于使用双向循环卷积神经网络(Bidirectional Recurrent Convolutional Neural Network, BRCNN)进行实体关系抽取的研究报告。这个主题属于自然语言处理(NLP)...
In this paper, we propose UHop, an unrestricted-hop framework which relaxes this restriction by use of a transition-based search framework to replace the relation-chain-based search one. We conduct ...
In the Entity-Relationship model, the degree of a relationship specifies which of the following? (a) The cardinality ratio of the relationship (b) The number of integrity constraints required to ...
在Laravel框架中,"embed-relation"通常指的是嵌入式关系(Eloquent Embedded Relations),这是Laravel ORM(对象关系映射)系统的一个高级特性,用于处理复杂的数据模型关系。Laravel通过其强大的Eloquent ORM提供...
the-relation-between-two-dimensional-normal-distribution-and-coefficient-of-correlation Simplified Chinese: 本代码是一个用于演示二维正态分布函数图像随相关系数ρ变化的变化情况简单的Matlab .m脚本。代码...
ObjectBoxExamples Examples for ObjectBox, the new superfast object-oriented database. ...objectbox-relation-example: Demonstrating relations (Java based app) MyObjectBox missing? Build the project! When
总的来说,“Matching the Blanks- Distributional Similarity for Relation Lear”是一个强大的工具,它利用Python和BERT等先进模型,通过分析上下文分布来理解和学习语义关系。在实际应用中,这种方法已经被证明在...
Django Admin关系链接 一种在Django Admin站点中添加到关系的链接的简单方法。...pip install django-admin-relation-links 如何使用 这些链接放置在模型的变化页,然后转到列表页面或相关模型的变化页,根据相关模
例如,如果你想基于特定条件获取关联数据,可以在返回的查询构建器上添加`where`或`whereIn`等查询条件。 ```php public function customRelationWithCondition() { return $this->hasMany(CustomRelationModel...
本话题聚焦于在移动端环境下,针对relation-graph图谱进行适配和拖动修复的代码实现。 在`vue`框架下,我们通常会利用其组件化的特性来构建关系图谱。`vue`提供了强大的响应式数据绑定和指令系统,可以方便地处理...
"relation-chart-master.zip"是一个专注于人物关系图谱展示的压缩包,其中包含了用于创建交互式、可拖拽、可缩放以及高亮选中节点的工具和教程。接下来,我们将深入探讨这个项目的关键组成部分和实现方法。 1. **...
在Laravel框架中,数据库关系是ORM(对象关系映射)的重要组成部分,它使得我们可以方便地处理复杂的数据库交互。本教程将深入探讨Laravel中的一对一和一对多的反向关系,帮助开发者更好地理解和应用这些关系。...
在自然语言处理(NLP)领域,信息抽取(Information Extraction,IE)和关系抽取(Relation Extraction,RE)是两个关键任务。信息抽取旨在从大量非结构化文本中自动抽取出有意义的事实,如实体、事件等;而关系抽取...
Phase relation and thermodynamic study of the Pt-Zn system,乔芝郁,袁文霞,Phase relation in the Pt-Zn binary system from 63.08 to 84.51 at.% Zn between 736-1090 K has been investigated by an ...