inserter.createDeferredSchemaIndex(MyLabel.Person).on("name").create();
Map<String, Object> propertyName = new HashMap<String, Object>();
propertyName.put("name", nd.name);
long nodeId = -1;
nodeId = inserter.createNode(propertyName, MyLabel.Person);
String[] aka = new String[nd.akaNames.size()];
aka = nd.akaNames.toArray(aka);
Map<String, Object> propertyAka = new HashMap<String, Object>();
propertyAka.put("aka", aka);
inserter.setNodeProperties(nodeId, propertyAka);
START a=node(4238335)
> return keys(a);
+---------+
| keys(a) |
+---------+
| ["aka"] |
+---------+
1 row
50 ms
--
You received this message because you are subscribed to the Google Groups "Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
String[] aka = new String[nd.akaNames.size()];
aka = nd.akaNames.toArray(aka);
Map<String, Object> property = new HashMap<String, Object>();
property.put("name", nd.name);
property.put("aka", aka);
long nodeId = -1;
nodeId = inserter.createNode(property, MyLabel.Person);