org.eclipse.rdf4j.query.resultio

## Interface BooleanQueryResultWriterFactory

- All Known Implementing Classes:
    BooleanTextWriterFactory, SPARQLBooleanJSONWriterFactory, SPARQLBooleanXMLWriterFactory

      public interface BooleanQueryResultWriterFactory

  Returns `BooleanQueryResultWriter`s for a specific boolean query result format.
  Author:
    Arjohn Kampman

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `BooleanQueryResultFormat` | `getBooleanQueryResultFormat()` Returns the boolean query result format for this factory.
    `BooleanQueryResultWriter` | `getWriter(OutputStream out)` Returns a `BooleanQueryResultWriter` instance that will write to the supplied output stream.

- - ### Method Detail

    - #### getBooleanQueryResultFormat

          BooleanQueryResultFormat getBooleanQueryResultFormat()

      Returns the boolean query result format for this factory.

    - #### getWriter

          BooleanQueryResultWriter getWriter(OutputStream out)

      Returns a `BooleanQueryResultWriter` instance that will write to the supplied output stream.
      Parameters:
        `out` - The OutputStream to write the result to.

Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.