Class SPARQLStarResultsJSONWriterFactory
java.lang.Object
org.eclipse.rdf4j.query.resultio.sparqljson.SPARQLStarResultsJSONWriterFactory
- All Implemented Interfaces:
TupleQueryResultWriterFactory
- Direct Known Subclasses:
SPARQLStarResultsJSONWriterFactory
public class SPARQLStarResultsJSONWriterFactory
extends Object
implements TupleQueryResultWriterFactory
TupleQueryResultWriterFactory
for creating instances of SPARQLStarResultsJSONWriter
.- Author:
- Pavel Mihaylov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturnsTupleQueryResultFormat.JSON_STAR
.getWriter
(OutputStream out) Returns a new instance ofSPARQLStarResultsJSONWriter
.
-
Constructor Details
-
SPARQLStarResultsJSONWriterFactory
public SPARQLStarResultsJSONWriterFactory()
-
-
Method Details
-
getTupleQueryResultFormat
ReturnsTupleQueryResultFormat.JSON_STAR
.- Specified by:
getTupleQueryResultFormat
in interfaceTupleQueryResultWriterFactory
-
getWriter
Returns a new instance ofSPARQLStarResultsJSONWriter
.- Specified by:
getWriter
in interfaceTupleQueryResultWriterFactory
- Parameters:
out
- The OutputStream to write the result to.
-