Class SPARQLStarResultsJSONWriterFactory
- java.lang.Object
-
- org.eclipse.rdf4j.query.resultio.sparqljson.SPARQLStarResultsJSONWriterFactory
-
- All Implemented Interfaces:
TupleQueryResultWriterFactory
public class SPARQLStarResultsJSONWriterFactory extends Object implements TupleQueryResultWriterFactory
TupleQueryResultWriterFactoryfor creating instances ofSPARQLStarResultsJSONWriter.- Author:
- Pavel Mihaylov
-
-
Constructor Summary
Constructors Constructor Description SPARQLStarResultsJSONWriterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TupleQueryResultFormatgetTupleQueryResultFormat()ReturnsTupleQueryResultFormat.JSON_STAR.TupleQueryResultWritergetWriter(OutputStream out)Returns a new instance ofSPARQLStarResultsJSONWriter.
-
-
-
Method Detail
-
getTupleQueryResultFormat
public TupleQueryResultFormat getTupleQueryResultFormat()
ReturnsTupleQueryResultFormat.JSON_STAR.- Specified by:
getTupleQueryResultFormatin interfaceTupleQueryResultWriterFactory
-
getWriter
public TupleQueryResultWriter getWriter(OutputStream out)
Returns a new instance ofSPARQLStarResultsJSONWriter.- Specified by:
getWriterin interfaceTupleQueryResultWriterFactory- Parameters:
out- The OutputStream to write the result to.
-
-