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

Improve .explain() Dialogue

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Implemented
    • Affects Version/s: 3.2.0-incubating
    • Fix Version/s: 3.2.1
    • Component/s: process
    • Labels:
      None

      Description

      Currently the output of explain gives you a long list of strategies but no details about their application

      ==>Traversal Explanation
      ============================================================================================================================
      Original Traversal                 [GraphStep(vertex,[]), CountGlobalStep]
      
      HaltedTraverserStrategy      [D]   [GraphStep(vertex,[]), CountGlobalStep]
      ConnectiveStrategy           [D]   [GraphStep(vertex,[]), CountGlobalStep]
      VertexProgramStrategy        [D]   [TraversalVertexProgramStep([GraphStep(vertex,[]), CountGlobalStep]), ComputerResultStep]
      OrderLimitStrategy           [O]   [TraversalVertexProgramStep([GraphStep(vertex,[]), CountGlobalStep]), ComputerResultStep]
      IdentityRemovalStrategy      [O]   [TraversalVertexProgramStep([GraphStep(vertex,[]), CountGlobalStep]), ComputerResultStep]
      FilterRankingStrategy        [O]   [TraversalVertexProgramStep([GraphStep(vertex,[]), CountGlobalStep]), ComputerResultStep]
      IncidentToAdjacentStrategy   [O]   [TraversalVertexProgramStep([GraphStep(vertex,[]), CountGlobalStep]), ComputerResultStep]
      RangeByIsCountStrategy       [O]   [TraversalVertexProgramStep([GraphStep(vertex,[]), CountGlobalStep]), ComputerResultStep]
      AdjacentToIncidentStrategy   [O]   [TraversalVertexProgramStep([GraphStep(vertex,[]), CountGlobalStep]), ComputerResultStep]
      MatchPredicateStrategy       [O]   [TraversalVertexProgramStep([GraphStep(vertex,[]), CountGlobalStep]), ComputerResultStep]
      GraphFilterStrategy          [O]   [TraversalVertexProgramStep([GraphStep(vertex,[]), CountGlobalStep]), ComputerResultStep]
      PathProcessorStrategy        [O]   [TraversalVertexProgramStep([GraphStep(vertex,[]), CountGlobalStep]), ComputerResultStep]
      SparkInterceptorStrategy     [P]   [TraversalVertexProgramStep([GraphStep(vertex,[]), CountGlobalStep]), ComputerResultStep]
      SparkSingleIterationStrategy [P]   [TraversalVertexProgramStep([GraphStep(vertex,[]), CountGlobalStep]), ComputerResultStep]
      ProfileStrategy              [F]   [TraversalVertexProgramStep([GraphStep(vertex,[]), CountGlobalStep]), ComputerResultStep]
      LambdaRestrictionStrategy    [V]   [TraversalVertexProgramStep([GraphStep(vertex,[]), CountGlobalStep]), ComputerResultStep]
      ComputerVerificationStrategy [V]   [TraversalVertexProgramStep([GraphStep(vertex,[]), CountGlobalStep]), ComputerResultStep]
      StandardVerificationStrategy [V]   [TraversalVertexProgramStep([GraphStep(vertex,[]), CountGlobalStep]), ComputerResultStep]
      
      Final Traversal                    [TraversalVertexProgramStep([GraphStep(vertex,[]), CountGlobalStep]), ComputerResultStep]
      

      It would be helpful if filter strategies for example would list the filters used.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                okram Marko A. Rodriguez
                Reporter:
                rspitzer Russell Spitzer
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: