## Uses of Interface
org.eclipse.rdf4j.query.TupleQueryResult

- Packages that use TupleQueryResult
  Package | Description
  --- | ---
  org.eclipse.rdf4j.federated.api |
  org.eclipse.rdf4j.federated.structures |
  org.eclipse.rdf4j.http.client |
  org.eclipse.rdf4j.query | Interfaces and classes for handling queries and query results.
  org.eclipse.rdf4j.query.dawg | Functionality to convert tuple query results to and from the Data Access Working Group Test Result Set RDF Vocabulary
  org.eclipse.rdf4j.query.impl |
  org.eclipse.rdf4j.query.parser.sparql.manifest |
  org.eclipse.rdf4j.query.resultio |
  org.eclipse.rdf4j.query.resultio.helpers |
  org.eclipse.rdf4j.repository.http | A repository that serves as a proxy client for a remote repository on an RDF4J Server.
  org.eclipse.rdf4j.repository.sail | Repository implementation for local RDF databases that implement the SAIL SPI.
  org.eclipse.rdf4j.repository.sparql | A `Repository` that serves as a SPARQL endpoint client.
  org.eclipse.rdf4j.repository.sparql.query |
  org.eclipse.rdf4j.repository.util | Helper classes for working with Repositories.
  org.eclipse.rdf4j.spring.dao.support.operation |
  org.eclipse.rdf4j.spring.operationlog | Rdf4j-Spring OperationLog
  org.eclipse.rdf4j.spring.resultcache | Rdf4j-Spring ResultCache
  org.eclipse.rdf4j.spring.support.query |

- - ### Uses of TupleQueryResult in org.eclipse.rdf4j.federated.api

    Methods in org.eclipse.rdf4j.federated.api that return TupleQueryResult
    Modifier and Type | Method | Description
    --- | --- | ---
    `TupleQueryResult` | FedXApi.`evaluate​(String query)` |
    `TupleQueryResult` | FedXApi.`evaluate​(String query, List<Endpoint> endpoints)` |
    `TupleQueryResult` | FedXApi.`evaluateAt​(String query, List<String> endpointIds)` |

  - ### Uses of TupleQueryResult in org.eclipse.rdf4j.federated.structures

    Methods in org.eclipse.rdf4j.federated.structures that return TupleQueryResult
    Modifier and Type | Method | Description
    --- | --- | ---
    `TupleQueryResult` | FedXTupleQuery.`evaluate()` |

  - ### Uses of TupleQueryResult in org.eclipse.rdf4j.http.client

    Methods in org.eclipse.rdf4j.http.client that return TupleQueryResult
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected TupleQueryResult` | SPARQLProtocolSession.`getBackgroundTupleQueryResult​(org.apache.http.client.methods.HttpUriRequest method, WeakReference<?> callerRef)` | Parse the response in a background thread.
    `TupleQueryResult` | RDF4JProtocolSession.`getContextIDs()` |
    `TupleQueryResult` | RDF4JProtocolSession.`getNamespaces()` |
    `TupleQueryResult` | RDF4JProtocolSession.`getRepositoryList()` |
    `TupleQueryResult` | BackgroundResultExecutor.`parse​(TupleQueryResultParser parser, InputStream in, WeakReference<?> callerReference)` |
    `TupleQueryResult` | SPARQLProtocolSession.`sendTupleQuery​(QueryLanguage ql, String query, String baseURI, Dataset dataset, boolean includeInferred, int maxQueryTime, WeakReference<?> callerRef, Binding... bindings)` |
    `TupleQueryResult` | SPARQLProtocolSession.`sendTupleQuery​(QueryLanguage ql, String query, Dataset dataset, boolean includeInferred, WeakReference<?> callerRef, Binding... bindings)` |

  - ### Uses of TupleQueryResult in org.eclipse.rdf4j.query

    Methods in org.eclipse.rdf4j.query that return TupleQueryResult
    Modifier and Type | Method | Description
    --- | --- | ---
    `static TupleQueryResult` | QueryResults.`distinctResults​(TupleQueryResult queryResult)` | Returns a `TupleQueryResult` that filters out any duplicate solutions from the supplied queryResult.
    `TupleQueryResult` | TupleQuery.`evaluate()` |
    `static TupleQueryResult` | QueryResults.`limitResults​(TupleQueryResult queryResult, long limit, long offset)` | Returns a `TupleQueryResult` that returns at most the specified maximum number of solutions, starting at the supplied offset.

    Methods in org.eclipse.rdf4j.query with parameters of type TupleQueryResult
    Modifier and Type | Method | Description
    --- | --- | ---
    `static TupleQueryResult` | QueryResults.`distinctResults​(TupleQueryResult queryResult)` | Returns a `TupleQueryResult` that filters out any duplicate solutions from the supplied queryResult.
    `static boolean` | QueryResults.`equals​(TupleQueryResult tqr1, TupleQueryResult tqr2)` | Compares two tuple query results and returns `true` if they are equal.Tuple query results are equal if they contain the same set of `BindingSet`s and have the same headers.
    `static List<Value>` | QueryResults.`getAllValues​(TupleQueryResult result, String var)` | Returns a list of values of a particular variable out of the QueryResult.
    `static boolean` | QueryResults.`isSubset​(TupleQueryResult tqr1, TupleQueryResult tqr2)` |
    `static TupleQueryResult` | QueryResults.`limitResults​(TupleQueryResult queryResult, long limit, long offset)` | Returns a `TupleQueryResult` that returns at most the specified maximum number of solutions, starting at the supplied offset.
    `static void` | QueryResults.`report​(TupleQueryResult tqr, QueryResultHandler handler)` | Reports a tuple query result to a `TupleQueryResultHandler`.
    `static BindingSet` | QueryResults.`singleResult​(TupleQueryResult result)` | Returns a single element from the query result.The QueryResult is automatically closed by this method.

  - ### Uses of TupleQueryResult in org.eclipse.rdf4j.query.dawg

    Methods in org.eclipse.rdf4j.query.dawg that return TupleQueryResult
    Modifier and Type | Method | Description
    --- | --- | ---
    `static TupleQueryResult` | DAWGTestResultSetUtil.`toTupleQueryResult​(Iterable<? extends Statement> dawgGraph)` |

    Methods in org.eclipse.rdf4j.query.dawg with parameters of type TupleQueryResult
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Model` | DAWGTestResultSetUtil.`toGraph​(TupleQueryResult tqr)` |

  - ### Uses of TupleQueryResult in org.eclipse.rdf4j.query.impl

    Classes in org.eclipse.rdf4j.query.impl that implement TupleQueryResult
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `IteratingTupleQueryResult` | An iterating implementation of the `TupleQueryResult` interface.
    `class` | `MutableTupleQueryResult` | An implementation of the `TupleQueryResult` interface that stores the complete query result in memory.
    `class` | `TupleQueryResultImpl` | Deprecated. since 2.0.

    Methods in org.eclipse.rdf4j.query.impl that return TupleQueryResult
    Modifier and Type | Method | Description
    --- | --- | ---
    `TupleQueryResult` | TupleQueryResultBuilder.`getQueryResult()` |

    Constructors in org.eclipse.rdf4j.query.impl with parameters of type TupleQueryResult
    Constructor | Description
    --- | ---
    `MutableTupleQueryResult​(TupleQueryResult tqr)` |

  - ### Uses of TupleQueryResult in org.eclipse.rdf4j.query.parser.sparql.manifest

    Methods in org.eclipse.rdf4j.query.parser.sparql.manifest that return TupleQueryResult
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected TupleQueryResult` | SPARQLQueryTest.`readExpectedTupleQueryResult()` | Deprecated.

    Methods in org.eclipse.rdf4j.query.parser.sparql.manifest with parameters of type TupleQueryResult
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected void` | SPARQLQueryTest.`compareTupleQueryResults​(TupleQueryResult queryResult, TupleQueryResult expectedResult)` | Deprecated.

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

    Methods in org.eclipse.rdf4j.query.resultio that return TupleQueryResult
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected TupleQueryResult` | AbstractQueryResultIOTest.`createTupleMultipleBindingSets()` |
    `protected TupleQueryResult` | AbstractQueryResultIOTest.`createTupleNoBindingSets()` |
    `protected TupleQueryResult` | AbstractQueryResultIOTest.`createTupleSingleVarMultipleBindingSets()` |
    `static TupleQueryResult` | QueryResultIO.`parseTuple​(InputStream in, QueryResultFormat format, WeakReference<?> callerReference)` | Parses a query result document and returns it as a TupleQueryResult object.
    `static TupleQueryResult` | QueryResultIO.`parseTupleBackground​(InputStream in, QueryResultFormat format, WeakReference<?> callerReference)` | 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.
    `protected TupleQueryResult` | AbstractQueryResultIOTest.`parseTupleInternal​(TupleQueryResultFormat format, InputStream in)` | Override this to customise how the tuple parsing is performed, particularly to test background and other parsing strategies.

    Methods in org.eclipse.rdf4j.query.resultio with parameters of type TupleQueryResult
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected void` | AbstractQueryResultIOTest.`assertQueryResultsEqual​(TupleQueryResult expected, TupleQueryResult output)` |
    `protected void` | AbstractQueryResultIOTest.`doBooleanParseNoHandlerOnTupleResults​(BooleanQueryResultFormat format, TupleQueryResult tqr, TupleQueryResultFormat matchingTupleFormat)` | Tests that the parser returned for a BooleanQueryResultFormat is not able to parse a TupleQueryResultFormat using the deprecated `BooleanQueryResultParser.parse(java.io.InputStream)` method, and that it does indeed through an exception of type `QueryResultParseException`.
    `protected void` | AbstractQueryResultIOTest.`doTupleJSONPCallback​(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected)` | Test specifically for JSONP callback support.
    `protected void` | AbstractQueryResultIOTest.`doTupleLinks​(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, List<String> links)` |
    `protected void` | AbstractQueryResultIOTest.`doTupleLinksAndStylesheet​(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, List<String> links, String stylesheetUrl)` |
    `protected void` | AbstractQueryResultIOTest.`doTupleLinksAndStylesheetAndNamespaces​(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, List<String> links, String stylesheetUrl, Map<String,​String> namespaces)` |
    `protected void` | AbstractQueryResultIOTest.`doTupleLinksAndStylesheetAndNamespacesQName​(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, List<String> links, String stylesheetUrl, Map<String,​String> namespaces)` | Test specifically for QName support.
    `protected void` | AbstractQueryResultIOTest.`doTupleLinksAndStylesheetMultipleEndHeaders​(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, List<String> links, String stylesheetUrl)` |
    `protected void` | AbstractQueryResultIOTest.`doTupleLinksAndStylesheetNoStarts​(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, List<String> links, String stylesheetUrl)` |
    `protected void` | AbstractQueryResultIOTest.`doTupleMissingStartQueryResult​(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, List<String> links, String stylesheetUrl)` |
    `protected void` | AbstractQueryResultIOTest.`doTupleNoHandler​(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected)` | Tests that parsing a tuple results set without specifying a `TupleQueryResultHandler` does not throw any exceptions.
    `protected void` | AbstractQueryResultIOTest.`doTupleNoLinks​(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected)` |
    `protected void` | AbstractQueryResultIOTest.`doTupleStylesheet​(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, String stylesheetUrl)` |
    `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 TupleQueryResult in org.eclipse.rdf4j.query.resultio.helpers

    Classes in org.eclipse.rdf4j.query.resultio.helpers that implement TupleQueryResult
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `BackgroundTupleResult` | Provides concurrent access to tuple results as they are being parsed.

  - ### Uses of TupleQueryResult in org.eclipse.rdf4j.repository.http

    Methods in org.eclipse.rdf4j.repository.http that return TupleQueryResult
    Modifier and Type | Method | Description
    --- | --- | ---
    `TupleQueryResult` | HTTPTupleQuery.`evaluate()` |

  - ### Uses of TupleQueryResult in org.eclipse.rdf4j.repository.sail

    Methods in org.eclipse.rdf4j.repository.sail that return TupleQueryResult
    Modifier and Type | Method | Description
    --- | --- | ---
    `TupleQueryResult` | SailTupleQuery.`evaluate()` |

  - ### Uses of TupleQueryResult in org.eclipse.rdf4j.repository.sparql

    Methods in org.eclipse.rdf4j.repository.sparql with parameters of type TupleQueryResult
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected Iteration<Statement,​QueryEvaluationException>` | SPARQLConnection.`toStatementIteration​(TupleQueryResult iter, Resource subj, IRI pred, Value obj)` | Converts a `TupleQueryResult` resulting from the `SPARQLConnection.EVERYTHING_WITH_GRAPH` to a statement by using the respective values from the `BindingSet` or (if provided) the ones from the arguments.

  - ### Uses of TupleQueryResult in org.eclipse.rdf4j.repository.sparql.query

    Methods in org.eclipse.rdf4j.repository.sparql.query that return TupleQueryResult
    Modifier and Type | Method | Description
    --- | --- | ---
    `TupleQueryResult` | SPARQLTupleQuery.`evaluate()` |

  - ### Uses of TupleQueryResult in org.eclipse.rdf4j.repository.util

    Method parameters in org.eclipse.rdf4j.repository.util with type arguments of type TupleQueryResult
    Modifier and Type | Method | Description
    --- | --- | ---
    `static <T> T` | Repositories.`tupleQuery​(Repository repository, String query, Function<TupleQueryResult,​T> processFunction)` | Performs a SPARQL Select query on the given Repository within a transaction and passes the results to the given `Function` with the result from the function returned by the method.
    `static <T> T` | Repositories.`tupleQueryNoTransaction​(Repository repository, String query, Function<TupleQueryResult,​T> processFunction)` | Performs a SPARQL Select query on the given Repository without opening a transaction and passes the results to the given `Function` with the result from the function returned by the method.

  - ### Uses of TupleQueryResult in org.eclipse.rdf4j.spring.dao.support.operation

    Methods in org.eclipse.rdf4j.spring.dao.support.operation with parameters of type TupleQueryResult
    Modifier and Type | Method | Description
    --- | --- | ---
    `Stream<BindingSet>` | TupleQueryResultConverter.`getBindingStream​(TupleQueryResult result)` | If the result has only one empty binding set, this method returns an empty stream, otherwise the stream of BindingSets

    Method parameters in org.eclipse.rdf4j.spring.dao.support.operation with type arguments of type TupleQueryResult
    Modifier and Type | Method | Description
    --- | --- | ---
    `<T> T` | TupleQueryResultConverter.`applyToResult​(Function<TupleQueryResult,​T> function)` | Applies the function to the `TupleQueryResult` and closes the result afterwards.
    `void` | TupleQueryResultConverter.`consumeResult​(Consumer<TupleQueryResult> consumer)` | Passes the `TupleQueryResult` to the consumer and closes the result afterwards.

    Constructors in org.eclipse.rdf4j.spring.dao.support.operation with parameters of type TupleQueryResult
    Constructor | Description
    --- | ---
    `TupleQueryResultConverter​(TupleQueryResult result)` |

  - ### Uses of TupleQueryResult in org.eclipse.rdf4j.spring.operationlog

    Methods in org.eclipse.rdf4j.spring.operationlog that return TupleQueryResult
    Modifier and Type | Method | Description
    --- | --- | ---
    `TupleQueryResult` | LoggingTupleQuery.`evaluate()` |

  - ### Uses of TupleQueryResult in org.eclipse.rdf4j.spring.resultcache

    Classes in org.eclipse.rdf4j.spring.resultcache that implement TupleQueryResult
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `CachedTupleQueryResult` |
    `class` | `ReusableTupleQueryResult` | Wrapper for a TupleQueryResult, allowing the result to be replayed.

    Methods in org.eclipse.rdf4j.spring.resultcache that return TupleQueryResult
    Modifier and Type | Method | Description
    --- | --- | ---
    `TupleQueryResult` | ResultCachingTupleQuery.`evaluate()` |

    Constructors in org.eclipse.rdf4j.spring.resultcache with parameters of type TupleQueryResult
    Constructor | Description
    --- | ---
    `ReusableTupleQueryResult​(TupleQueryResult result, BindingSet queryBindings)` |

  - ### Uses of TupleQueryResult in org.eclipse.rdf4j.spring.support.query

    Methods in org.eclipse.rdf4j.spring.support.query that return TupleQueryResult
    Modifier and Type | Method | Description
    --- | --- | ---
    `TupleQueryResult` | DelegatingTupleQuery.`evaluate()` |