Jermy Li created TINKERPOP-2313:
-----------------------------------
Summary: Support query: g.E().properties().hasKey("xx") &
hasValue("xx")
Key: TINKERPOP-2313
URL: https://issues.apache.org/jira/browse/TINKERPOP-2313
Project: TinkerPop
Issue Type: Improvement
Components: process
Affects Versions: 3.4.3
Reporter: Jermy Li
Currently, it's OK to filter vertex properties by key/value, like
g.V().properties().hasKey("xx"),
but an exception will be thrown for query with edge properties filtering:
{code:java}
g.E().properties().hasKey("xx") => XxProperty cannot be cast to Element
{code}
like:
{code:java}
org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerProperty cannot be
cast to org.apache.tinkerpop.gremlin.structure.Element
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)