I have tried below query
g.V(12345678).property("names",["Akshay"] as List)
It worked fine in my case. But I want value datatype to be a Set. Hence I tried below query.
g.V(12345678).property("names",["Akshay"] as Set)
But exception like this
Property value [[Akshay]] is of type class java.util.LinkedHashSet is not supported Display stack trace? [yN] n
Please tell me a way to save value datatype as Set