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