Package org.eclipse.rdf4j.query.resultio
Interface TupleQueryResultWriterFactory
- All Known Implementing Classes:
BinaryQueryResultWriterFactory
,SPARQLResultsCSVWriterFactory
,SPARQLResultsJSONWriterFactory
,SPARQLResultsTSVWriterFactory
,SPARQLResultsXMLWriterFactory
,SPARQLStarResultsJSONWriterFactory
,SPARQLStarResultsTSVWriterFactory
,SPARQLStarResultsXMLWriterFactory
public interface TupleQueryResultWriterFactory
Returns
TupleQueryResultWriter
s for a specific tuple query result format.- Author:
- Arjohn Kampman
-
Method Summary
Modifier and TypeMethodDescriptionReturns the tuple query result format for this factory.getWriter
(OutputStream out) Returns a TupleQueryResultWriter instance that will write to the supplied output stream.
-
Method Details
-
getTupleQueryResultFormat
TupleQueryResultFormat getTupleQueryResultFormat()Returns the tuple query result format for this factory. -
getWriter
Returns a TupleQueryResultWriter instance that will write to the supplied output stream.- Parameters:
out
- The OutputStream to write the result to.
-