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 java.lang.Object implements QueryResultWriterFactory
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Michael Grove
-
-
Constructor Summary
Constructors Constructor Description SPARQLJSONSelectResultWriterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SPARQLJSONSelectResultWritercreate(java.io.OutputStream theOutputStream, Options theOptions)Create thewriterQueryResultFormatformat()Theformatsupported by writers created by this factory
-
-
-
Method Detail
-
format
@Nonnull public QueryResultFormat format()
Theformatsupported by writers created by this factory- Specified by:
formatin interfaceQueryResultWriterFactory- Returns:
- the supported format
-
create
@Nonnull public SPARQLJSONSelectResultWriter create(@Nonnull java.io.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:
QueryResultWriterOptions
-
-