Class SPARQLResultsJSONWriterFactory
java.lang.Object
org.eclipse.rdf4j.query.resultio.sparqljson.SPARQLResultsJSONWriterFactory
- All Implemented Interfaces:
TupleQueryResultWriterFactory
A
TupleQueryResultWriterFactory
for writers of SPARQL/JSON query results.- Author:
- Arjohn Kampman
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturnsTupleQueryResultFormat.JSON
.getWriter(OutputStream out)
Returns a new instance of SPARQLResultsJSONWriter.
-
Constructor Details
-
SPARQLResultsJSONWriterFactory
public SPARQLResultsJSONWriterFactory()
-
-
Method Details
-
getTupleQueryResultFormat
ReturnsTupleQueryResultFormat.JSON
.- Specified by:
getTupleQueryResultFormat
in interfaceTupleQueryResultWriterFactory
-
getWriter
Returns a new instance of SPARQLResultsJSONWriter.- Specified by:
getWriter
in interfaceTupleQueryResultWriterFactory
- Parameters:
out
- The OutputStream to write the result to.
-