Class SPARQLResultsCSVWriterFactory
- java.lang.Object
-
- org.eclipse.rdf4j.query.resultio.text.csv.SPARQLResultsCSVWriterFactory
-
- All Implemented Interfaces:
TupleQueryResultWriterFactory
public class SPARQLResultsCSVWriterFactory extends Object implements TupleQueryResultWriterFactory
ATupleQueryResultWriterFactory
for writers of SPARQL/CSV tuple query results.- Author:
- Jeen Broekstra
-
-
Constructor Summary
Constructors Constructor Description SPARQLResultsCSVWriterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TupleQueryResultFormat
getTupleQueryResultFormat()
ReturnsTupleQueryResultFormat.CSV
.TupleQueryResultWriter
getWriter(OutputStream out)
Returns a new instance ofSPARQLResultsCSVWriter
.
-
-
-
Method Detail
-
getTupleQueryResultFormat
public TupleQueryResultFormat getTupleQueryResultFormat()
ReturnsTupleQueryResultFormat.CSV
.- Specified by:
getTupleQueryResultFormat
in interfaceTupleQueryResultWriterFactory
-
getWriter
public TupleQueryResultWriter getWriter(OutputStream out)
Returns a new instance ofSPARQLResultsCSVWriter
.- Specified by:
getWriter
in interfaceTupleQueryResultWriterFactory
- Parameters:
out
- The OutputStream to write the result to.
-
-