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 ResultSetReaderFactoryfactory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SPARQLResultreadAny(java.io.InputStream in, Context context)Read from anInputStreamand 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:ResultSetReaderRead from anInputStreamand produce aSPARQLResult. Note that return result may stream and so the input stream may be read while theResultSetis used. SeeResultSetReader.read(InputStream, Context)for more details- Specified by:
readAnyin interfaceResultSetReader- Parameters:
in- InputStream to read from.- Returns:
- SPARQLResult
-
-