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