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 ofSPARQLStarResultsJSONWriter
.- Author:
- Pavel Mihaylov
-
-
Constructor Summary
Constructors Constructor Description SPARQLStarResultsJSONWriterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TupleQueryResultFormat
getTupleQueryResultFormat()
ReturnsTupleQueryResultFormat.JSON_STAR
.TupleQueryResultWriter
getWriter(OutputStream out)
Returns a new instance ofSPARQLStarResultsJSONWriter
.
-
-
-
Method Detail
-
getTupleQueryResultFormat
public TupleQueryResultFormat getTupleQueryResultFormat()
ReturnsTupleQueryResultFormat.JSON_STAR
.- Specified by:
getTupleQueryResultFormat
in interfaceTupleQueryResultWriterFactory
-
getWriter
public TupleQueryResultWriter getWriter(OutputStream out)
Returns a new instance ofSPARQLStarResultsJSONWriter
.- Specified by:
getWriter
in interfaceTupleQueryResultWriterFactory
- Parameters:
out
- The OutputStream to write the result to.
-
-