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 and 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.resultio.QueryResultWriter

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

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

      `endQueryResult, handleBoolean, handleLinks, handleSolution, startQueryResult`

- - ### 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.

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