Class ResultSetReaderJSON
- java.lang.Object
-
- org.apache.jena.riot.resultset.rw.ResultSetReaderJSON
-
- All Implemented Interfaces:
ResultSetReader
public class ResultSetReaderJSON extends java.lang.Object implements ResultSetReader
Read JSON format SPARQL Results.
-
-
Field Summary
Fields Modifier and Type Field Description static ResultSetReaderFactory
factory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SPARQLResult
readAny(java.io.InputStream in, Context context)
Read from anInputStream
and produce aSPARQLResult
.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.jena.riot.resultset.ResultSetReader
read, read
-
-
-
-
Field Detail
-
factory
public static final ResultSetReaderFactory factory
-
-
Method Detail
-
readAny
public SPARQLResult readAny(java.io.InputStream in, Context context)
Description copied from interface:ResultSetReader
Read from anInputStream
and produce aSPARQLResult
. Note that return result may stream and so the input stream may be read while theResultSet
is used. SeeResultSetReader.read(InputStream, Context)
for more details- Specified by:
readAny
in interfaceResultSetReader
- Parameters:
in
- InputStream to read from.- Returns:
- SPARQLResult
-
-