My graph contains a single aggregation node (:Group) which just groups various other nodes (:User) together. My Cypher representation for my graph would look like this:
(rootGroup:Group)-[:HAS_MEMBER]->(user:User)
In Spring Data Neo4j i used a property with an unique index to prevent the creation of other (:Group) aggregation nodes:
@Indexed(unique = true)
private String unique = ObjectSchemaRoot.class.getSimpleName();
What would the tinkerpop analog look like? How can i set an index to a property using Tinkerpop Frames?