cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Neo4j-import admin programmatically

trying to use neo4j-admin import directly from my java program (no command line action). Is there a recommended way to go about this? Want to throw out old data and import new data on a weekly basis.

1 ACCEPTED SOLUTION

I recommend to run it from a script. Really.

In Java you could run it with Process.exec or such.

There is an underlying API for neo4j-import, which you can see in action here, but I would only use that for very specific reasons if you know what you're doing.

View solution in original post

1 REPLY 1

I recommend to run it from a script. Really.

In Java you could run it with Process.exec or such.

There is an underlying API for neo4j-import, which you can see in action here, but I would only use that for very specific reasons if you know what you're doing.

Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

All the sessions of the conference are now available online