简体   繁体   English

OrientDB中的数据字典提取

[英]data dictionary extraction in orientdb

I have been going over the orientdb documentation to see whether I could find something that would allow for an automatic creation of data dictionaries for existing models. 我一直在浏览orientdb文档,以查看是否可以找到可以为现有模型自动创建数据字典的内容。 In other words, my use case is that every time the nodes, edges and properties are modified, the corresponding data dictionary documenting each of these would be automatically updated. 换句话说,我的用例是每次修改节点,边线和属性时,记录其中每一个的相应数据字典都会自动更新。

I found some sparse documentation about VertexLabels , but not sure whether this would be a way to go 我找到了一些有关VertexLabels的稀疏文档,但是不确定这是否是可行的方法

any input would be appreciated 任何输入将不胜感激

If I understand your use case correctly, Dynamic Hooks (or the Java version) is what you need. 如果我正确理解您的用例,则需要Dynamic Hooks (或Java版本)。 When a document (ie Vertex of Edge) changes a trigger is fired. 当文档(即Edge的顶点)更改时,将触发触发器。 JavaScript or SQL scripts can be executed. 可以执行JavaScript或SQL脚本。 So generation / updating documentation should be possible with JavaScript and mustache templates or similar technology. 因此,应该可以使用JavaScript和髭模板或类似技术来生成/更新文档。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM