Package com.stardog.stark.query.io
Interface QueryResultWriterFactory
-
- All Known Implementing Classes:
BinarySelectQueryResultWriter.BinarySelectQueryResultWriterFactory
,HTMLQueryResultWriter.HTMLQueryResultWriterFactory
,SPARQLCSVResultWriter.CSVRWFactory
,SPARQLJSONBooleanResultWriter.SPARQLJSONBooleanResultWriterFactory
,SPARQLJSONSelectResultWriter.SPARQLJSONSelectResultWriterFactory
,SPARQLTSVResultWriter.SPARQLTSVResultWriterFactory
,SPARQLXMLBooleanResultWriter.SPARQLXMLSelectResultWriterFactory
,SPARQLXMLSelectResultWriter.SPARQLXMLSelectResultWriterFactory
,TextBooleanQueryResultWriter.BQRWriterFactory
,TextTableQueryResultWriter.TextTableQueryResultWriterFactory
public interface QueryResultWriterFactory
Factory interface for creating
result writers
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Michael Grove
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QueryResultWriter
create(java.io.OutputStream theOutputStream, Options theOptions)
Create thewriter
QueryResultFormat
format()
Theformat
supported by writers created by this factory
-
-
-
Method Detail
-
format
@Nonnull QueryResultFormat format()
Theformat
supported by writers created by this factory- Returns:
- the supported format
-
create
@Nonnull QueryResultWriter create(@Nonnull java.io.OutputStream theOutputStream, @Nonnull Options theOptions)
Create thewriter
- Parameters:
theOutputStream
- the output to write totheOptions
- the options to use when writing- Returns:
- the writer
- See Also:
QueryResultWriterOptions
-
-