[Java API] InputStreamSource

13 views
Skip to first unread message

mart...@graphity.org

unread,
Mar 4, 2017, 6:23:07 PM3/4/17
to Tarql
Hey,

why is InputStreamSource passed around everywhere if InputStream would seem to suffice? And would be much more convenient.
I don't see a way to feed CSV data from InputStream currently.


Martynas

Richard Cyganiak

unread,
Mar 8, 2017, 9:35:24 AM3/8/17
to mart...@graphity.org, Tarql
Hi Martynas,

In some mappings, the input needs to be read multiple times. An InputStream can only be read once. An InputStreamSource can be read multiple times. Streaming is important for large files, so we can’t buffer the input in memory either.

Richard


--
You received this message because you are subscribed to the Google Groups "Tarql" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tarql+un...@googlegroups.com.
To post to this group, send email to ta...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/tarql/86ec500a-f063-4ed9-b1e2-aac8e8c9b55d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages