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

Add possibility to supply io step with InputStream instead of a file path

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • io
    • None

    Description

      Currently it is possible to supply io step with file path to read a file from file system.

      It would be very convenient if we would be able to read files from input stream instead of file path. 

      For example, it could look something like:

      g.io(graphSonInputStream).with(IO.reader, IO.graphson).read().iterate()

      Of course it wouldn't work as expected if we would use write instead of read here because we won't be able to write to the input stream. Thus, we can fail fast if the user supplied an input stream into the io step but tried to use write.

      Attachments

        Activity

          People

            Unassigned Unassigned
            porunov Oleksandr Porunov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: