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

Allow a Traversal to know what TraversalSource it spawned from

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.4.1
    • Fix Version/s: 3.4.2
    • Component/s: process
    • Labels:
      None

      Description

      It's odd that a Traversal has no knowledge of the TraversalSource it spawned from. I say "odd" because:

      1. we pass the TraversalSource to the Traversal on construction only to extract information from it and then throw it away
      2. one of the data points we do grab is the Graph instance of the TraversalSource and for some reason we keep that around for the purpose of sometime spawning more TraversalSource instances in other components.

      I'm not sure if there was a reason for not keeping the TraversalSource at some point, but I'm going to add it and see what happens.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                spmallette Stephen Mallette
                Reporter:
                spmallette Stephen Mallette
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: