Problems when creating a instance of the class: org.neo4j.unsafe.batchinsert.BatchInserterImpl

38 views
Skip to first unread message

Pablo Pareja

unread,
May 16, 2012, 9:27:22 AM5/16/12
to ne...@googlegroups.com
Hi,

I'm updating my code so that it uses now the new refactored classes for Batch insertion and I just ran into the following exception:

BatchInserterImpl(java.lang.String,java.util.Map<java.lang.String,java.lang.String>) is not public in org.neo4j.unsafe.batchinsert.BatchInserterImpl; cannot be accessed from outside package

Here you have the statement that throws the error:

BatchInserterImpl inserter = new BatchInserterImpl(args[1], MapUtil.load(new File(CommonData.PROPERTIES_FILE_NAME)));

I've been quickly checking the documentation but haven't seen other ways to create a BatchInserterImpl object.

Any ideas? 
Thanks!

Pablo


--
Pablo Pareja Tobes 

Pablo Pareja

unread,
May 16, 2012, 11:19:39 AM5/16/12
to ne...@googlegroups.com
Nevermind, I already figured out that I have to use the new factory class: BatchInserters

Pablo
Reply all
Reply to author
Forward
0 new messages