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 QueryResultWriterFactoryFactory 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<BindingSet>create(java.io.OutputStream theOutputStream, Options theOptions)Create thewriterQueryResultFormatformat()Theformatsupported by writers created by this factory
-
-
-
Method Detail
-
format
@Nonnull QueryResultFormat format()
Theformatsupported by writers created by this factory- Returns:
- the supported format
-
create
@Nonnull QueryResultWriter<BindingSet> 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
-
-