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

Allow mid-traversal V() (and E())

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.1-incubating
    • 3.1.0-incubating
    • process
    • None

    Description

      We should allow mid-traversal V() and E(). It shouldn't be a technical problem, since we always know the traversal source, thus it's just a simple flatMap. Vendors could then implement mid-traversal global index lookups.

      Example:

      g.V().hasLabel("company").has("name", "DataStax").in("worksFor").as("dse").
        V().hasLabel("company").has("name", "Aurelius").in("worksFor").as("ae").
            addOutE("dse", "knows", "ae", "since", "02/2015")
      

      Attachments

        Issue Links

          Activity

            People

              dkuppitz Daniel Kuppitz
              dkuppitz Daniel Kuppitz
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: