Package org.eclipse.rdf4j.query.resultio

## Interface BooleanQueryResultWriter

- All Superinterfaces:
    `BooleanQueryResultHandler`, `QueryResultHandler`, `QueryResultWriter`
  All Known Implementing Classes:
    `BooleanTextWriter`, `SPARQLBooleanJSONWriter`, `SPARQLBooleanXMLWriter`

      public interface BooleanQueryResultWriter
      extends QueryResultWriter, BooleanQueryResultHandler

  The interface of objects that writer query results in a specific query result format.
  Author:
    Arjohn Kampman

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Deprecated Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `BooleanQueryResultFormat` | `getBooleanQueryResultFormat()` | Gets the query result format that this writer uses.
    `void` | `write​(boolean value)` | Deprecated. Use `QueryResultHandler.handleBoolean(boolean)` instead.

    - ### Methods inherited from interface org.eclipse.rdf4j.query.QueryResultHandler

      `endQueryResult, handleBoolean, handleLinks, handleSolution, startQueryResult`

    - ### Methods inherited from interface org.eclipse.rdf4j.query.resultio.QueryResultWriter

      `endHeader, getQueryResultFormat, getSupportedSettings, getWriterConfig, handleNamespace, handleStylesheet, setWriterConfig, startDocument, startHeader`

- - ### Method Detail

    - #### write

          void write​(boolean value)
              throws IOException

      Deprecated.
      Use `QueryResultHandler.handleBoolean(boolean)` instead.
      Writes the specified boolean value.
      Throws:
        `IOException`

    - #### getBooleanQueryResultFormat

          BooleanQueryResultFormat getBooleanQueryResultFormat()

      Gets the query result format that this writer uses.