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