Hi Peter,
This is what I am trying to do:
GraphDatabaseService graphDbService = new
RestGraphDatabase(SERVER_PATH_URL);
index = graphDbService.index();
Iterator<DummyObject> iterator =
myDao.getAllDummyObjects().iterator();
while (iterator.hasNext()) {
Node dummyNode = graphDbService.createNode();
//get all dummy objects from relational database
DummyObject relationalDBDummyObject = iterator.next();
Long dummyId = relationalDBDummyObject.getId();
.............
// migrate all properties from relationalDBDummyObject to dummyNode
here...
.............
Here is what I do, get all dummyObjects from the mySQL table, iterate
through them and for each object that is returned, create a node and
index one or two of its properties. I tried without indexing and even
this takes a long time.
@Michael, I am not aware of the techniques you mentioned - and how a
batch rest API works. Let me check this in parallel...
Thanks,
On May 3, 2:34 pm, Peter Neubauer <
peter.neuba...@neotechnology.com>
wrote: