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 Details
-
format
Theformatsupported by writers created by this factory- Returns:
- the supported format
-
create
@Nonnull QueryResultWriter<BindingSet> create(@Nonnull 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:
-