## Uses of Class
org.eclipse.rdf4j.query.resultio.QueryResultFormat

- Packages that use QueryResultFormat
  Package | Description
  --- | ---
  org.eclipse.rdf4j.console.util |
  org.eclipse.rdf4j.query.resultio |
  org.eclipse.rdf4j.query.resultio.sparqljson | A writer for the SPARQL Query Results JSON Format
  org.eclipse.rdf4j.query.resultio.sparqlxml | Parsers and writers for the SPARQL Query Results XML Format
  org.eclipse.rdf4j.query.resultio.text |
  org.eclipse.rdf4j.workbench.base |

- - ### Uses of QueryResultFormat in org.eclipse.rdf4j.console.util

    Methods in org.eclipse.rdf4j.console.util that return QueryResultFormat
    Modifier and Type | Method and Description
    --- | ---
    `QueryResultFormat` | ConsoleQueryResultWriter.`getQueryResultFormat()`

  - ### Uses of QueryResultFormat in org.eclipse.rdf4j.query.resultio

    Subclasses of QueryResultFormat in org.eclipse.rdf4j.query.resultio
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BooleanQueryResultFormat` Represents the concept of a boolean query result serialization format.
    `class` | `TupleQueryResultFormat` Represents the concept of an tuple query result serialization format.

    Methods in org.eclipse.rdf4j.query.resultio that return QueryResultFormat
    Modifier and Type | Method and Description
    --- | ---
    `protected QueryResultFormat` | AbstractQueryResultIOTupleTest.`getFormat()`
    `protected abstract QueryResultFormat` | AbstractQueryResultIOTest.`getFormat()`
    `protected QueryResultFormat` | AbstractQueryResultIOBooleanTest.`getFormat()`
    `protected QueryResultFormat` | BooleanQueryResultParserRegistry.`getKey(BooleanQueryResultParserFactory factory)`
    `protected QueryResultFormat` | BooleanQueryResultWriterRegistry.`getKey(BooleanQueryResultWriterFactory factory)`
    `protected QueryResultFormat` | TupleQueryResultParserRegistry.`getKey(TupleQueryResultParserFactory factory)`
    `protected QueryResultFormat` | TupleQueryResultWriterRegistry.`getKey(TupleQueryResultWriterFactory factory)`
    `QueryResultFormat` | AbstractTupleQueryResultParser.`getQueryResultFormat()`
    `QueryResultFormat` | QueryResultWriter.`getQueryResultFormat()` Gets the query result format that this writer uses.
    `QueryResultFormat` | QueryResultParser.`getQueryResultFormat()` Gets the query result format that this parser can parse.

    Methods in org.eclipse.rdf4j.query.resultio that return types with arguments of type QueryResultFormat
    Modifier and Type | Method and Description
    --- | ---
    `static Optional<QueryResultFormat>` | QueryResultIO.`getBooleanParserFormatForFileName(String fileName)` Tries to match the extension of a file name against the list of RDF formats that can be parsed.
    `static Optional<QueryResultFormat>` | QueryResultIO.`getBooleanParserFormatForMIMEType(String mimeType)` Tries to match a MIME type against the list of boolean query result formats that can be parsed.
    `static Optional<QueryResultFormat>` | QueryResultIO.`getBooleanWriterFormatForFileName(String fileName)` Tries to match the extension of a file name against the list of RDF formats that can be written.
    `static Optional<QueryResultFormat>` | QueryResultIO.`getBooleanWriterFormatForMIMEType(String mimeType)` Tries to match a MIME type against the list of boolean query result formats that can be written.
    `static Optional<QueryResultFormat>` | QueryResultIO.`getParserFormatForFileName(String fileName)` Tries to match the extension of a file name against the list of RDF formats that can be parsed.
    `static Optional<QueryResultFormat>` | QueryResultIO.`getParserFormatForMIMEType(String mimeType)` Tries to match a MIME type against the list of tuple query result formats that can be parsed.
    `static Optional<QueryResultFormat>` | QueryResultIO.`getWriterFormatForFileName(String fileName)` Tries to match the extension of a file name against the list of RDF formats that can be written.
    `static Optional<QueryResultFormat>` | QueryResultIO.`getWriterFormatForMIMEType(String mimeType)` Tries to match a MIME type against the list of tuple query result formats that can be written.

    Methods in org.eclipse.rdf4j.query.resultio with parameters of type QueryResultFormat
    Modifier and Type | Method and Description
    --- | ---
    `static BooleanQueryResultParser` | QueryResultIO.`createBooleanParser(QueryResultFormat format)` Convenience methods for creating BooleanQueryResultParser objects.This method uses the registry returned by `BooleanQueryResultParserRegistry.getInstance()` to get a factory for the specified format and uses this factory to create the appropriate parser.
    `static BooleanQueryResultWriter` | QueryResultIO.`createBooleanWriter(QueryResultFormat format, OutputStream out)` Convenience methods for creating BooleanQueryResultWriter objects.This method uses the registry returned by `BooleanQueryResultWriterRegistry.getInstance()` to get a factory for the specified format and uses this factory to create the appropriate writer.
    `static TupleQueryResultParser` | QueryResultIO.`createTupleParser(QueryResultFormat format)` Convenience methods for creating TupleQueryResultParser objects.
    `static TupleQueryResultParser` | QueryResultIO.`createTupleParser(QueryResultFormat format, ValueFactory valueFactory)` Convenience methods for creating TupleQueryResultParser objects that use the specified ValueFactory to create RDF model objects.
    `static TupleQueryResultWriter` | QueryResultIO.`createTupleWriter(QueryResultFormat format, OutputStream out)` Convenience methods for creating TupleQueryResultWriter objects.This method uses the registry returned by `TupleQueryResultWriterRegistry.getInstance()` to get a factory for the specified format and uses this factory to create the appropriate writer.
    `static QueryResultWriter` | QueryResultIO.`createWriter(QueryResultFormat format, OutputStream out)` Convenience methods for creating QueryResultWriter objects.This method uses the registry returned by `TupleQueryResultWriterRegistry.getInstance()` to get a factory for the specified format and uses this factory to create the appropriate writer.
    `static boolean` | QueryResultIO.`parseBoolean(InputStream in, QueryResultFormat format)` Parses a boolean query result document and returns the parsed value.
    `static TupleQueryResult` | QueryResultIO.`parseTuple(InputStream in, QueryResultFormat format)` Parses a query result document and returns it as a TupleQueryResult object.
    `static void` | QueryResultIO.`parseTuple(InputStream in, QueryResultFormat format, TupleQueryResultHandler handler, ValueFactory valueFactory)` Parses a query result document, reporting the parsed solutions to the supplied TupleQueryResultHandler.
    `static TupleQueryResult` | QueryResultIO.`parseTupleBackground(InputStream in, QueryResultFormat format)` Parses a query result document and returns it as a TupleQueryResult object, with parsing done on a separate thread in the background. IMPORTANT: As this method may spawn a new thread in the background, it is vitally important that the TupleQueryResult be closed consistently when it is no longer required, to prevent resource leaks.
    `static void` | QueryResultIO.`writeBoolean(boolean value, QueryResultFormat format, OutputStream out)` Writes a boolean query result document in a specific boolean query result format to an output stream.
    `static void` | QueryResultIO.`writeTuple(TupleQueryResult tqr, QueryResultFormat format, OutputStream out)` Writes a query result document in a specific query result format to an output stream.

  - ### Uses of QueryResultFormat in org.eclipse.rdf4j.query.resultio.sparqljson

    Methods in org.eclipse.rdf4j.query.resultio.sparqljson that return QueryResultFormat
    Modifier and Type | Method and Description
    --- | ---
    `QueryResultFormat` | SPARQLResultsJSONParser.`getQueryResultFormat()`
    `QueryResultFormat` | SPARQLBooleanJSONParser.`getQueryResultFormat()`

  - ### Uses of QueryResultFormat in org.eclipse.rdf4j.query.resultio.sparqlxml

    Methods in org.eclipse.rdf4j.query.resultio.sparqlxml that return QueryResultFormat
    Modifier and Type | Method and Description
    --- | ---
    `QueryResultFormat` | SPARQLBooleanXMLParser.`getQueryResultFormat()`
    `QueryResultFormat` | SPARQLResultsXMLParser.`getQueryResultFormat()`

  - ### Uses of QueryResultFormat in org.eclipse.rdf4j.query.resultio.text

    Methods in org.eclipse.rdf4j.query.resultio.text that return QueryResultFormat
    Modifier and Type | Method and Description
    --- | ---
    `QueryResultFormat` | BooleanTextParser.`getQueryResultFormat()`

  - ### Uses of QueryResultFormat in org.eclipse.rdf4j.workbench.base

    Methods in org.eclipse.rdf4j.workbench.base that return QueryResultFormat
    Modifier and Type | Method and Description
    --- | ---
    `protected QueryResultFormat` | AbstractServlet.`getBooleanResultFormat(javax.servlet.http.HttpServletRequest req, javax.servlet.ServletResponse resp)`
    `protected QueryResultFormat` | AbstractServlet.`getJSONPResultFormat(javax.servlet.http.HttpServletRequest req, javax.servlet.ServletResponse resp)`
    `protected QueryResultFormat` | AbstractServlet.`getTupleResultFormat(javax.servlet.http.HttpServletRequest req, javax.servlet.ServletResponse resp)`

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