java.lang.Object
org.apache.jena.riot.rowset.rw.RowSetReaderThrift
- All Implemented Interfaces:
RowSetReader
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionread
(InputStream in, Context context) Read from anInputStream
and produce aRowSet
.UsingRowSetReader.read(InputStream, Context)
is preferred.readAny
(InputStream in, Context context) Read from anInputStream
and produce aQueryExecResult
.
-
Field Details
-
factory
-
-
Method Details
-
read
Description copied from interface:RowSetReader
Read from anInputStream
and produce aRowSet
. Note that return row set may stream and so the input stream may be read while theRowSet
is used. SeeRowSet.materialize()
for a RowSet that is detached from theInputStream
.- Specified by:
read
in interfaceRowSetReader
- Parameters:
in
- InputStream to read from.- Returns:
- RowSet
-
read
Description copied from interface:RowSetReader
UsingRowSetReader.read(InputStream, Context)
is preferred.Not all formats support reading from a
java.io.Reader
.Read from an
Reader
and produce aRowSet
. Note that return result may stream and so the reader may be read while the RowSet is used. SeeRowSet.materialize()
for a RowSet that is detached from theInputStream
.- Specified by:
read
in interfaceRowSetReader
- Parameters:
in
- Reader- Returns:
- RowSet
-
readAny
Description copied from interface:RowSetReader
Read from anInputStream
and produce aQueryExecResult
. Note that return result may stream and so the input stream may be read while theRowSet
is used. SeeRowSetReader.read(InputStream, Context)
for more details- Specified by:
readAny
in interfaceRowSetReader
- Parameters:
in
- InputStream to read from.- Returns:
- QueryExecResult
-