chschmal
JJanusGraph
•Created by chschmal on 9/10/2024 in #questions
Sack with List (Split and Merge operations)
Hi all, I am trying to get the following usage of sack working (with JanusGraph) and would appreciate a pointer in the right direction. I have broken the query down to the following, because I want to get the sack working at first.
g.withSack([] as Set){set-> set.clone()}{setA,setB -> setA.appendAll(setB); setA}.
V()
.has('name', 'TS')
.repeat(__
.sack(assign)
.in('mapped')
.hasLabel('mapping')
.out('mapped')
).times(1)
.sack()
Apparently the split and merge operations are not right:
java.lang.CloneNotSupportedException
Is this a Janusgraph issue, or is the code wrong?
2 replies