Class SPARQLBooleanJSONWriterFactory
java.lang.Object
org.eclipse.rdf4j.query.resultio.sparqljson.SPARQLBooleanJSONWriterFactory
- All Implemented Interfaces:
BooleanQueryResultWriterFactory
public class SPARQLBooleanJSONWriterFactory
extends Object
implements BooleanQueryResultWriterFactory
A
BooleanQueryResultWriterFactory for writers of SPARQL/JSON query boolean results.- Author:
- Peter Ansell
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturnsBooleanQueryResultFormat.JSON.getWriter(OutputStream out) Returns a new instance of SPARQLResultsJSONWriter.
-
Constructor Details
-
SPARQLBooleanJSONWriterFactory
public SPARQLBooleanJSONWriterFactory()
-
-
Method Details
-
getBooleanQueryResultFormat
ReturnsBooleanQueryResultFormat.JSON.- Specified by:
getBooleanQueryResultFormatin interfaceBooleanQueryResultWriterFactory
-
getWriter
Returns a new instance of SPARQLResultsJSONWriter.- Specified by:
getWriterin interfaceBooleanQueryResultWriterFactory- Parameters:
out- The OutputStream to write the result to.
-