简体   繁体   English

卡桑德拉·泰坦(Cassandra Titan)创建自己的数据库

[英]Cassandra Titan create own DB

I am starting with titan and i am really loosing in it. 我从“泰坦”开始,我真的失去了它。 I created my own graph databse model with tables(Vertices) and relations(Edge). 我用表(顶点)和关系(边)创建了自己的图形数据库模型。 Well, now I want to create my DB, but I cannot find any good tutorial. 好了,现在我想创建数据库,但是找不到任何好的教程。 How to build scripts? 如何建立脚本? Do you have same example how to create own verticles and edges? 您是否有相同的示例如何创建自己的顶点和边缘? Thx. 谢谢。

If you are new to graphs and new to Titan, start here: 如果您是图形新手,也不是Titan新手,请从这里开始:

http://s3.thinkaurelius.com/docs/titan/0.5.4/getting-started.html http://s3.thinkaurelius.com/docs/titan/0.5.4/getting-started.html

If you don't follow that then recognize that Titan implements the Blueprints interfaces (ie TinkerPop ) and thus is accessible via the Gremlin graph traversal language: 如果您不这样做,那么请确认Titan实现了Blueprints接口(即TinkerPop ),因此可以通过Gremlin图遍历语言进行访问:

https://github.com/tinkerpop/gremlin/wiki/Getting-Started https://github.com/tinkerpop/gremlin/wiki/入门

There are plenty of resources available that explain how these things work. 有大量可用的资源来解释这些事情如何工作。 Consider looking at GremlinDocs as well as Sql2Gremlin as well. 考虑同时查看GremlinDocsSql2Gremlin

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

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