graph=TitanFactory.open('titan.properties')
graph.io(IoCore.graphson()).writeGraph("titan-graph.json");
 one sample row from titan-graph.json:(with vertexID: 49280)

{"id":49280,"label":"name","outE":{"edgeName":[{"id":"18nk-120w-5wk5-kbmld4","inV":1228853416,"properties":{"col1":49280}}]},"properties":{"col2":[{"id":"16a8-120w-31tx","value":"value2"}],"col3":[{"id":"15w0-120w-5on9","value":"val3"}],"col4":[{"id":"16og-120w-5nut","value":"val4"}],"col5":[{"id":"172o-120w-40lh","value":"val5"}]}}

example:
labelA:(vertexA)-----with vertexid 42890
LabelB:(vertexB)-----with vertexid 43456
LabelAB:(42890,43456)---storing vertexId of vertexA and vertexB

graph=TitanFactory.open('titan-new.properties')
graph.io(IoCore.graphson()).readGraph("titan-graph.json");

after reading from new titan graph db, the vertexids are different from the 
old one like below:
example:
labelA:(vertexA)-----with vertexid 23434
LabelB:(vertexB)-----with vertexid 34234
LabelAB:(42890,43456)---This is same copy as old one

As we are storing vertexIds of one label in another label,
am I missing something while reading or Is there any way to create vertex 
with same vertexId when reading the JSON in new titandb(becoz JSON has 
vertexIds and edgeIds)?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/fb33fe2f-b62e-40f7-b215-d46b61a341fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to