You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Jermy Li (Jira)" <ji...@apache.org> on 2019/11/13 08:17:00 UTC
[jira] [Created] (TINKERPOP-2313) Support query:
g.E().properties().hasKey("xx") & hasValue("xx")
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)