I am trying to load millions of nodes from CSV files to Titan 1.0.0 with Cassandra backend in JAVA. How to load them?
I checked we can load them using BulkLoaderVertexProgram, but it loads the data from GraphSON format.
How do I start writing a JAVA code to bulk load the data from CSV? Can you specify some starting reference where I can look into and start writing code?
Do I have to have Spark /Hadoop running on my system to use SparkComputerGraph which is used by Bulkloaderprogram?
I am not able to start writing code, as I am not understanding how to read data from CSV using bulkloderprogram. Can you provide some starting links to proceed for Java code?
Thanks.
You probably need a custom Java software to read your CSV files and load the graph with them.
If you want to use OGM, meaning you need to create a POJO classes as data model for your data, you could use Peapod to create a data model easily.
So this is an example
To load data, this is an example,
Easier than you thought? Hope so.