bgraph = new BatchGraph(g, VertexIDType.STRING, 1000)
bgraph.setLoadingFromScratch(false)
I have also created a property on underlying graph g:
mgmt.makePropertyKey("P31link").dataType(String.class).cardinality(Cardinality.SET).make()
I create a vertex:
v = bgraph.addVertex("Qtest")
==>v[Qtest]
And I try to add a property P31link to it, which was defined as cardinality(Cardinality.SET):
gremlin> v.setProperty("P31link", 'Q1')
Not a single key: P31link. Use addProperty instead
But v is a batch graph vertex and doesn't have addProperty:
gremlin> v.addProperty("P31link", 'Q1')
No signature of method: groovy.lang.MissingMethodException.addProperty() is applicable for argument types: () values: []
Possible solutions: hasProperty(java.lang.String)
So, what I'm supposed to do? How can I add a property that is SET-valued to the BatchGraph?
Thanks,
Stas
--
You received this message because you are subscribed to the Google Groups "Aurelius" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aureliusgraph...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aureliusgraphs/0725e1f7-fccf-42ad-9de6-e813f635213e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.