How to delete graph in Titan with Cassandra storage backend?

前端 未结 4 1193
醉话见心
醉话见心 2021-02-14 19:24

I use Titan 0.4.0 All, running Rexster in shared VM mode on Ubuntu 12.04.

How could I properly delete a graph in Titan which is using the Cassandra storage backend?

4条回答
  •  你的背包
    2021-02-14 19:34

    Just to update this answer.

    With Titan 1.0.0 this can be done programmatically in Java with:

    TitanGraph graph = TitanFactory.open(config);
    graph.close();
    TitanCleanup.clear(graph);
    

提交回复
热议问题