Date
1 - 2 of 2
multilevel properties depth
Laura Morales <lauretas@...>
How many "levels" of multilevel properties are supported by Janus? What I mean is, can I only add properties about other properties, or can I add an arbitrary number of multilevel properties, that is properties about properties about properties about properties about properties...
hadoopmarc@...
Hi Laura,
You can only add a single level of metaproperties. One can understand this from the java docs.
In a TinkerGraph a metaproperty is a TinkerProperty without property() method.
Best wishes, Marc
You can only add a single level of metaproperties. One can understand this from the java docs.
gremlin> g.V(1).properties('name').next().getClass()In a TinkerGraph a regular property is a TinkerVertexProperty with a property() method to add metaproperties.
==>class org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerVertexProperty
gremlin> g.V(1).properties('name').properties('metatest').next().getClass()
==>class org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerProperty
In a TinkerGraph a metaproperty is a TinkerProperty without property() method.
Best wishes, Marc