Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2313

Support query: g.E().properties().hasKey("xx") & hasValue("xx")

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.4.3
    • None
    • process
    • None

    Description

      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:

      g.E().properties().hasKey("xx") => XxProperty cannot be cast to Element
      

       like:

      org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerProperty cannot be cast to org.apache.tinkerpop.gremlin.structure.Element
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              javeme_lee Jermy Li
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: