I have a Map of Properties for Example:
map[0] = {
("name";"lux");
("lang";"german")
}
map[1]= {
("name";"lux")
}
As you can see map[1]
has no property "lang". Now I want to add a Vertex without hard Coding the keys.
Is there a way how I can do this in one Statement without looping the Map and add each property one by one.
Something like:
Graph.addV("label").property(T.id, getID()).property(map,key,value);