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

VertexProgram.Builder should have a default create() method with no Graph

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Done
    • 3.3.4, 3.2.10
    • 3.4.0, 3.3.5
    • hadoop
    • None

    Description

      The VertexProgram.Builder interface has a create(Graph) method, however, the Graph is not always needed. This is illustrated by The GraphComputerTest class with VertexProgramQ and VertexProgramR that both implement create() methods that pass in a null Graph. The Builder should just have this as a default method that will then be inherited by the AbstractVertexProgramBuilder and any subsequent builders that use the abstract class or interface.

      Attachments

        Issue Links

          Activity

            People

              spmallette Stephen Mallette
              philipgraff Philip Graff
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified