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

Allow any GraphReader/Writer to be persistence engine for TinkerGraph

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Implemented
    • 3.0.2-incubating
    • 3.1.1-incubating
    • tinkergraph
    • None

    Description

      TinkerGraph currently works with gryo, graphml and graphson - all internal formats to TinkerPop. This could easily be extended to work with any format implementing the appropriate interfaces (i.e. also external third-party formats) by allowing for the `gremlin.tinkergraph.graphFormat` setting for TinkerGraph to be set to the existing three settings, but also allow for it to be the fully qualified class name for a Io.Builder<I extends Io> interface. TinkerGraph could then dynamically instantiate this class (which we can expect to have a zero-arg constructor) and use it to load/save data. This might actually also clean up some of the existing code around load/save.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: