gdl icon indicating copy to clipboard operation
gdl copied to clipboard

Transfer label from predicate to vertex

Open s1ck opened this issue 8 years ago • 3 comments
trafficstars

for e.g. MATCH (v) WHERE v.__label__ = "Foo" the label needs to be updated at the query vertex representing v.

s1ck avatar Jan 27 '17 07:01 s1ck

@DarthMax I think this conflicts with the multi-label case. Maybe we should extend query elements to have multiple labels, i.e. a set or list of labels?

s1ck avatar Jan 28 '17 08:01 s1ck

Yip that would be nice to have. The only problem is, how to expand this to Gradoop. We could provide a legacy method getLabel() returning the first label in the set?

DarthMax avatar Jan 28 '17 10:01 DarthMax

yes, that should work

s1ck avatar Jan 28 '17 10:01 s1ck