My previous question was about the syntax of the TitanFactory class. Now i wonder how to use it?
For example i can construct RexsterGraph object like the following and it works like a charm.
Graph graph = new RexsterGraph(http://190.188.20.11:8183/graphs/graph");
Now i want to import csv file into the titan. So i need TitanGraph object. I found the following post to do that.
How to import a CSV file into Titan graph database?
And i worte the following code and it gives me error.
Could not find implementation class: com.thinkaurelius.titan.diskstorage.cassandra.thrift.CassandraThriftStoreManager
TitanGraph titanGraph = null;
try {
titanGraph = TitanFactory
.open("D:\\TEMP\\titan-cassandra.properties");
} catch (Exception e) {
System.err.println(e.getMessage());
System.out.println("\n");
System.err.println(e.getStackTrace());
}
The only thing i need is that i want some code like RexsterGraph example for getting instance of TitanGraph object. What should i do? by the way i run the code on my local but graph is working remote linux machine