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 QueryResultWriterFactory

Factory interface for creating `result writers`

Since:
  1.0
Version:
  1.0
Author:
  Michael Grove

- ## Method Summary

  Modifier and Type
  Method
  Description
  `QueryResultWriter<BindingSet>`
  `create(OutputStream theOutputStream, Options theOptions)`
  Create the `writer`
  `QueryResultFormat`
  `format()`
  The `format` supported by writers created by this factory

- ## Method Details

  - ### format

    @Nonnull QueryResultFormat format()
    The `format` supported by writers created by this factory
    Returns:
      the supported format

  - ### create

    @Nonnull QueryResultWriter<BindingSet> create(@Nonnull OutputStream theOutputStream, @Nonnull Options theOptions)
    Create the `writer`
    Parameters:
      `theOutputStream` - the output to write to
      `theOptions` - the options to use when writing
    Returns:
      the writer
    See Also:
      - `QueryResultWriterOptions`