Package com.stardog.stark.query.io.json
Class SPARQLJSONBooleanResultWriter.SPARQLJSONBooleanResultWriterFactory
- java.lang.Object
-
- com.stardog.stark.query.io.json.SPARQLJSONBooleanResultWriter.SPARQLJSONBooleanResultWriterFactory
-
- All Implemented Interfaces:
QueryResultWriterFactory
- Enclosing class:
- SPARQLJSONBooleanResultWriter
public static final class SPARQLJSONBooleanResultWriter.SPARQLJSONBooleanResultWriterFactory extends java.lang.Object implements QueryResultWriterFactory
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Michael Grove
-
-
Constructor Summary
Constructors Constructor Description SPARQLJSONBooleanResultWriterFactory()
-
Method Summary
All Methods Instance Methods Concrete 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 public QueryResultFormat format()
Theformat
supported by writers created by this factory- Specified by:
format
in interfaceQueryResultWriterFactory
- Returns:
- the supported format
-
create
@Nonnull public QueryResultWriter create(@Nonnull java.io.OutputStream theOutputStream, @Nonnull Options theOptions)
Create thewriter
- Specified by:
create
in interfaceQueryResultWriterFactory
- Parameters:
theOutputStream
- the output to write totheOptions
- the options to use when writing- Returns:
- the writer
- See Also:
QueryResultWriterOptions
-
-