Clear Neo4j Embedded database

我与影子孤独终老i 提交于 2019-12-06 07:01:38

See the other answer on the related question. Inside of java, you can shut down an embedded database with the GraphDatabaseService#shutdown() method.

From there, there are a pile of different ways you can delete the underlying directory, see this other answer.

So the general answer can still be the same:

  1. Shutdown the database using the neo4j java API
  2. Delete the database contents off of the disk
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!