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

Add a TraversalSourceStrategy that provides "locked" values.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.0.2-incubating
    • None
    • process
    • None

    Description

      We have:

      withSack()
      withPath()
      withSideEffect()
      

      This can get tedious to continuously type. If a user will always have something like withSack(1.0,sum), then perhaps they can do this:

      gremlin> g = graph.traversal(GraphTraversalSource.with(TraversalSourceStrategy.build().withSack(1.0,sum).create()))
      gremlin> g.V().sack() 
      ==>1.0
      ==>1.0
      ==>1.0
      ==>1.0
      ==>1.0
      ==>1.0
      

      Attachments

        Activity

          People

            okram Marko A. Rodriguez
            okram Marko A. Rodriguez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: