public class SPARQLResultsJSONWriterFactory extends Object implements TupleQueryResultWriterFactory
TupleQueryResultWriterFactory for writers of SPARQL/JSON query results.| Constructor and Description |
|---|
SPARQLResultsJSONWriterFactory() |
| Modifier and Type | Method and Description |
|---|---|
TupleQueryResultFormat |
getTupleQueryResultFormat()
Returns
TupleQueryResultFormat.JSON. |
TupleQueryResultWriter |
getWriter(OutputStream out)
Returns a new instance of SPARQLResultsJSONWriter.
|
public TupleQueryResultFormat getTupleQueryResultFormat()
TupleQueryResultFormat.JSON.getTupleQueryResultFormat in interface TupleQueryResultWriterFactorypublic TupleQueryResultWriter getWriter(OutputStream out)
getWriter in interface TupleQueryResultWriterFactoryout - The OutputStream to write the result to.Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.