Class SPARQLCSVResultWriter.CSVRWFactory
- java.lang.Object
-
- com.stardog.stark.query.io.text.csv.SPARQLCSVResultWriter.CSVRWFactory
-
- All Implemented Interfaces:
QueryResultWriterFactory
- Enclosing class:
- SPARQLCSVResultWriter
public static final class SPARQLCSVResultWriter.CSVRWFactory extends java.lang.Object implements QueryResultWriterFactory
Factory
for creatingSPARQLCSVResultWriter
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Michael Grove
-
-
Constructor Summary
Constructors Constructor Description CSVRWFactory()
-
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
-
-