No description, website, or topics provided.
Java Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
README.textile
build.sh
pom.xml
run.sh

README.textile

Neo4j Import Tool

Building

./build.sh

Running

./run.sh <new store dir> <nodes csv> <relationships csv>

Input file format

Plain CSV with a leading header line. The header line supports special annotations for property types and indexing.

Note: values with commas and/or quoted values are NOT supported right not!

The node format:

id[,[indexname|]propertyname[@type]]*

The relationship format:

from,to,type[,[indexname|]propertyname[@type]]*

Examples

Here’s a nodes input file for nodes with two properties, the first of which is indexed in the “users” index, and the
second of which is a long number:

id,users|username,age@long
1,Dave,27
2,Mike,21

And here’s a file connecting these two users, with a timestamp on the relationship:

from,to,type,since@long
1,2,KNOWS,13242352355

Sparse property values are also supported:

id,firstname,make,year
1,Dave,,
2,,Honda,2004

from,to,type
1,2,OWNS