public interface ResultSetReader
| Modifier and Type | Method and Description |
|---|---|
default ResultSet |
read(InputStream in,
Context context)
Read from an
InputStream and produce a ResultSet. |
default ResultSet |
read(Reader in,
Context context)
Using
read(InputStream, Context) is preferred. |
SPARQLResult |
readAny(InputStream in,
Context context)
Read from an
InputStream and produce a SPARQLResult. |
default ResultSet read(InputStream in, Context context)
InputStream and produce a ResultSet.
Note that return result may stream and so the input stream may be read
while the ResultSet is used.
See ResultSetFactory.copyResults(ResultSet) for a ResultSet that is detached from the InputStream.in - InputStream to read from.context - SPARQLResult readAny(InputStream in, Context context)
InputStream and produce a SPARQLResult.
Note that return result may stream and so the input stream may be read
while the ResultSet is used.
See read(InputStream, Context) for more detailsin - InputStream to read from.context - default ResultSet read(Reader in, Context context)
read(InputStream, Context) is preferred.
Notall formast support reading from a java.io.Reader.
Read from an Reader and produce a ResultSet.
Note that return result may stream and so the reader may be read
while the ResultSet is used.
See ResultSetFactory.copyResults(ResultSet) for a ResultSet that is detached from the InputStream.
in - Readercontext - Licenced under the Apache License, Version 2.0