元数据
最后更新:2024-09-13 05:30:00
|
状态:未完成
元数据主要包括数据库对象以及数据类型
关系型数据库与图数据库的概念关系
|
catalog | schema | database | 表(类) | 行(实例) | 列(属性) | ||||||||||
|
顶点(节点)表(类型) | 边(关系)表(类型) | 顶点(节点) | 边(关系) | ||||||||||||
|
原生 | anyline实现 | 原生 | anyline实现 | 原生 | anyline实现 | 原生 | anyline | 原生 | anyline实现 | 原生 | anyline实现 | 原生 | anyline实现 | 原生 | anyline实现 |
Anyline相关方法名、参数名 |
|
|
|
|
|
|
Table |
|
|
|
|
|
|
|
|
|
relational类型 |
|
|
|
|
|
|
Table |
|
|
|
|
|
|
|
|
|
document类型 |
|
|
|
|
|
|
Collection |
|
|
|
|
|
|
|
|
|
event类型 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
graph类型 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
kv类型 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
object类型 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rdf类型 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
search类型 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spatial类型 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
time series类型 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vector类型 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wide-column类型 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Neo4j |
|
|
|
|
|
|
Label |
|
|
|
|
|
|
|
|
|
Elasticsearch |
|
|
|
|
|
|
Index |
ElasticSearchIndex |
|
|
|
|
|
|
mappings.properties |
Column |
MongoDB |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Nebula |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Catalog |
SChema | Database | 表 | 行 | 列 | 顶点/节点 | 边/关系 | ||||||||
|
原生 | anyline实现 | 原生 | anyline实现 | 原生 | anyline实现 | 原生 | anyline实现 |
原生 |
anyline实现 |
原生 | anyline实现 | 原生 | anyline实现 | 原生 | anyline实现 |
Anyline相关方法名、参数名 |
|
|
|
|
|
|
Table |
|
|
|
Column |
|
|
|
|
|
relational类型 |
|
|
|
|
|
|
Table |
|
|
|
|
|
|
|
|
|
document类型 |
|
|
|
|
|
|
Collection |
|
|
|
|
|
|
|
|
|
event类型 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
graph类型 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
kv类型 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
object类型 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rdf类型 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
search类型 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
spatial类型 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
time series类型 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vector类型 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wide-column类型 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Neo4j |
|
|
|
|
|
|
Label |
|
|
|
Property |
|
Node |
|
Relationship |
|
Elasticsearch |
|
|
|
|
|
|
Index |
ElasticSearchIndex |
|
|
mappings.properties |
Column |
|
|
|
|
MongoDB |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Nebula | Space |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
关系型 | AnyLine | Nebula | NebulaAdapter | Neo4j | Neo4jAdapter |
Catalog | Catalog | Space | Catalog |
|
|
Table | VertexTable extends GraphTable extends Table | Tag(标签-点类型-点属性集合) |
Tag extends VertexTable |
Label(标签) | Label extends VertexTable |
Table | EdgeTable extends GraphTable extends Table |
Edge Type(边类型-边属性集合) |
EdgeType extends GraphTable |
RelationshipType(关系类型) |
RelationshipType extends EdgeTable |
行 | VertexRow extends GraphRow extneds DataRow |
Vertex(点) |
VertexRow | Node(节点) | NodeRow extends VertexRow |
行 | EdgeRow extends GraphRow extneds DataRow |
Edge(边) |
EdgeRow | Relationship(关系) |
RelationshipRow extends EdgeRow |
Column | Column |
Property(属性) |
Column | Property(属性) | Column |
为什么不用VertexType或VertexCollection?
因为type容易误会成一个属性,collection容易误会成结果集
与关系型不同的是,一个点可以有多个类型,相当于在多个表中,类似于扩展表(就是基础属性在一个Table中,更多属性放在另一个Table中,用同一个主键值)