I would like to drop everything from TitanDB.
This says that it's possible by removing all the vertices but I am failing to delete the graph with that recommended approach. I can't do g.V.remove()
in java and when I delete each Vertex
independently this only gets rid of the vertices but leaves behind the indexes.
Is there a way (from within java) of dropping everything ?
I am essentially looking for the equivalent of using cqlsh
and typing:
cqlsh> DROP KEYSPACE titan;