org.eclipse.rdf4j.query.resultio

## Interface TupleQueryResultWriterFactory

- All Known Implementing Classes:
    BinaryQueryResultWriterFactory, SPARQLResultsCSVWriterFactory, SPARQLResultsJSONWriterFactory, SPARQLResultsTSVWriterFactory, SPARQLResultsXMLWriterFactory, SPARQLStarResultsJSONWriterFactory, SPARQLStarResultsJSONWriterFactory, SPARQLStarResultsTSVWriterFactory, SPARQLStarResultsTSVWriterFactory, SPARQLStarResultsXMLWriterFactory

      public interface TupleQueryResultWriterFactory

  Returns `TupleQueryResultWriter`s for a specific tuple query result format.
  Author:
    Arjohn Kampman

- - ### Method Summary

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

- - ### Method Detail

    - #### getTupleQueryResultFormat

          TupleQueryResultFormat getTupleQueryResultFormat()

      Returns the tuple query result format for this factory.

    - #### getWriter

          TupleQueryResultWriter getWriter(OutputStream out)

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

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