Package com.stardog.stark.query.io.json
Class SPARQLJSONSelectResultWriter.SPARQLJSONSelectResultWriterFactory
java.lang.Object
com.stardog.stark.query.io.json.SPARQLJSONSelectResultWriter.SPARQLJSONSelectResultWriterFactory
- All Implemented Interfaces:
QueryResultWriterFactory
- Enclosing class:
SPARQLJSONSelectResultWriter
public static final class SPARQLJSONSelectResultWriter.SPARQLJSONSelectResultWriterFactory
extends Object
implements QueryResultWriterFactory
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Michael Grove
-
Constructor Details
-
SPARQLJSONSelectResultWriterFactory
public SPARQLJSONSelectResultWriterFactory()
-
-
Method Details
-
format
Theformatsupported by writers created by this factory- Specified by:
formatin interfaceQueryResultWriterFactory- Returns:
- the supported format
-
create
@Nonnull public SPARQLJSONSelectResultWriter create(@Nonnull OutputStream theOutputStream, @Nonnull Options theOptions) Create thewriter- Specified by:
createin interfaceQueryResultWriterFactory- Parameters:
theOutputStream- the output to write totheOptions- the options to use when writing- Returns:
- the writer
- See Also:
-