Class SPARQLStarResultsJSONWriterFactory
java.lang.Object
org.eclipse.rdf4j.query.resultio.sparqljson.SPARQLStarResultsJSONWriterFactory
- All Implemented Interfaces:
TupleQueryResultWriterFactory
public class SPARQLStarResultsJSONWriterFactory
extends Object
implements TupleQueryResultWriterFactory
TupleQueryResultWriterFactory for creating instances of SPARQLStarResultsJSONWriter.- Author:
- Pavel Mihaylov
-
Constructor Summary
Constructors -
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:
getTupleQueryResultFormatin interfaceTupleQueryResultWriterFactory
-
getWriter
Returns a new instance ofSPARQLStarResultsJSONWriter.- Specified by:
getWriterin interfaceTupleQueryResultWriterFactory- Parameters:
out- The OutputStream to write the result to.
-