JanusGraph supports arrays of primitive types for property types:
mgmt.makePropertyKey('vec').dataType(float[]).cardinality(Cardinality.SINGLE).make()
Unfortunately, this feature cannot be used with GraphSON right now as we don't have serialization support for arrays. Instead, the array is serialized as a list by the driver which leads to an error on the server side:
Expected: class [F, found: class java.util.ArrayList
(More information with a concrete example on gremlin-users.)
JanusGraph supports arrays of primitive types for property types:
Unfortunately, this feature cannot be used with GraphSON right now as we don't have serialization support for arrays. Instead, the array is serialized as a list by the driver which leads to an error on the server side:
(More information with a concrete example on gremlin-users.)