## Uses of Class
org.eclipse.rdf4j.federated.structures.QueryInfo

- Packages that use QueryInfo
  Package | Description
  --- | ---
  org.eclipse.rdf4j.federated |
  org.eclipse.rdf4j.federated.algebra |
  org.eclipse.rdf4j.federated.cache |
  org.eclipse.rdf4j.federated.evaluation |
  org.eclipse.rdf4j.federated.evaluation.concurrent |
  org.eclipse.rdf4j.federated.evaluation.iterator |
  org.eclipse.rdf4j.federated.evaluation.join |
  org.eclipse.rdf4j.federated.evaluation.union |
  org.eclipse.rdf4j.federated.monitoring |
  org.eclipse.rdf4j.federated.optimizer |

- - ### Uses of QueryInfo in org.eclipse.rdf4j.federated

    Methods in org.eclipse.rdf4j.federated that return types with arguments of type QueryInfo
    Modifier and Type | Method | Description
    --- | --- | ---
    `Set<QueryInfo>` | QueryManager.`getRunningQueries()` |

    Methods in org.eclipse.rdf4j.federated with parameters of type QueryInfo
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | QueryManager.`abortQuery​(QueryInfo queryInfo)` |
    `WorkerUnionBase<BindingSet>` | FederationManager.`createWorkerUnion​(QueryInfo queryInfo)` | Create an appropriate worker union for this federation, i.e.
    `void` | QueryManager.`finishQuery​(QueryInfo queryInfo)` |
    `boolean` | QueryManager.`isRunning​(QueryInfo queryInfo)` |
    `void` | QueryManager.`registerQuery​(QueryInfo queryInfo)` | Add the query to the set of running queries, queries are identified via a unique id

  - ### Uses of QueryInfo in org.eclipse.rdf4j.federated.algebra

    Fields in org.eclipse.rdf4j.federated.algebra declared as QueryInfo
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected QueryInfo` | CheckStatementPattern.`queryInfo` |
    `protected QueryInfo` | ExclusiveGroup.`queryInfo` |
    `protected QueryInfo` | FedXLeftJoin.`queryInfo` |
    `protected QueryInfo` | FedXService.`queryInfo` |
    `protected QueryInfo` | FedXStatementPattern.`queryInfo` |
    `protected QueryInfo` | NTuple.`queryInfo` |

    Methods in org.eclipse.rdf4j.federated.algebra that return QueryInfo
    Modifier and Type | Method | Description
    --- | --- | ---
    `QueryInfo` | CheckStatementPattern.`getQueryInfo()` |
    `QueryInfo` | ExclusiveArbitraryLengthPath.`getQueryInfo()` |
    `QueryInfo` | ExclusiveGroup.`getQueryInfo()` |
    `QueryInfo` | FederatedDescribeOperator.`getQueryInfo()` |
    `QueryInfo` | FedXLeftJoin.`getQueryInfo()` |
    `QueryInfo` | FedXService.`getQueryInfo()` |
    `QueryInfo` | FedXStatementPattern.`getQueryInfo()` |
    `QueryInfo` | NTuple.`getQueryInfo()` |
    `QueryInfo` | PassThroughTupleExpr.`getQueryInfo()` |
    `QueryInfo` | QueryRef.`getQueryInfo()` | Retrieve the attached query information of the tuple expression
    `QueryInfo` | SingleSourceQuery.`getQueryInfo()` |

    Constructors in org.eclipse.rdf4j.federated.algebra with parameters of type QueryInfo
    Constructor | Description
    --- | ---
    `CheckStatementPattern​(StatementTupleExpr stmt, QueryInfo queryInfo)` |
    `EmptyNJoin​(NJoin njoin, QueryInfo queryInfo)` |
    `EmptyNUnion​(List<TupleExpr> args, QueryInfo queryInfo)` |
    `ExclusiveArbitraryLengthPath​(ArbitraryLengthPath path, StatementSource owner, QueryInfo queryInfo)` |
    `ExclusiveGroup​(Collection<? extends ExclusiveTupleExpr> ownedNodes, StatementSource owner, QueryInfo queryInfo)` |
    `ExclusiveStatement​(StatementPattern node, StatementSource owner, QueryInfo queryInfo)` |
    `FederatedDescribeOperator​(TupleExpr arg, QueryInfo queryInfo)` |
    `FedXLeftJoin​(LeftJoin leftJoin, QueryInfo queryInfo)` |
    `FedXService​(Service expr, QueryInfo queryInfo)` |
    `FedXStatementPattern​(StatementPattern node, QueryInfo queryInfo)` |
    `NJoin​(List<TupleExpr> args, QueryInfo queryInfo)` | Construct an nary-tuple.
    `NTuple​(List<TupleExpr> args, QueryInfo queryInfo)` | Construct an nary-tuple.
    `NUnion​(List<TupleExpr> args, QueryInfo queryInfo)` | Construct an nary-tuple.
    `SingleSourceQuery​(TupleExpr parsedQuery, Endpoint source, QueryInfo queryInfo)` |
    `StatementSourcePattern​(StatementPattern node, QueryInfo queryInfo)` |

  - ### Uses of QueryInfo in org.eclipse.rdf4j.federated.cache

    Methods in org.eclipse.rdf4j.federated.cache with parameters of type QueryInfo
    Modifier and Type | Method | Description
    --- | --- | ---
    `static List<StatementSource>` | CacheUtils.`checkCacheForStatementSourcesUpdateCache​(SourceSelectionCache cache, List<Endpoint> endpoints, Resource subj, IRI pred, Value obj, QueryInfo queryInfo, Resource... contexts)` | Checks the cache for relevant statement sources to the provided statement.
    `static boolean` | CacheUtils.`checkCacheUpdateCache​(SourceSelectionCache cache, List<Endpoint> endpoints, Resource subj, IRI pred, Value obj, QueryInfo queryInfo, Resource... contexts)` | Checks the cache if some endpoint can provide results to the subquery.

  - ### Uses of QueryInfo in org.eclipse.rdf4j.federated.evaluation

    Methods in org.eclipse.rdf4j.federated.evaluation that return QueryInfo
    Modifier and Type | Method | Description
    --- | --- | ---
    `QueryInfo` | FederationEvaluationStatistics.`getQueryInfo()` |

    Methods in org.eclipse.rdf4j.federated.evaluation with parameters of type QueryInfo
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected void` | TripleSourceBase.`configureInference​(Query query, QueryInfo queryInfo)` | Set includeInferred depending on `getIncludeInferred()`
    `protected CloseableIteration<BindingSet,​QueryEvaluationException>` | FederationEvalStrategy.`evaluateAtStatementSources​(Object preparedQuery, List<StatementSource> statementSources, QueryInfo queryInfo)` |
    `protected CloseableIteration<BindingSet,​QueryEvaluationException>` | FederationEvalStrategy.`evaluateAtStatementSources​(String preparedQuery, List<StatementSource> statementSources, QueryInfo queryInfo)` |
    `protected CloseableIteration<BindingSet,​QueryEvaluationException>` | FederationEvalStrategy.`evaluateAtStatementSources​(TupleExpr preparedQuery, List<StatementSource> statementSources, QueryInfo queryInfo)` |
    `protected abstract CloseableIteration<BindingSet,​QueryEvaluationException>` | FederationEvalStrategy.`executeJoin​(ControlledWorkerScheduler<BindingSet> joinScheduler, CloseableIteration<BindingSet,​QueryEvaluationException> leftIter, TupleExpr rightArg, Set<String> joinVariables, BindingSet bindings, QueryInfo queryInfo)` | Execute the join in a separate thread using some join executor.
    `CloseableIteration<BindingSet,​QueryEvaluationException>` | SailFederationEvalStrategy.`executeJoin​(ControlledWorkerScheduler<BindingSet> joinScheduler, CloseableIteration<BindingSet,​QueryEvaluationException> leftIter, TupleExpr rightArg, Set<String> joinVars, BindingSet bindings, QueryInfo queryInfo)` |
    `CloseableIteration<BindingSet,​QueryEvaluationException>` | SparqlFederationEvalStrategy.`executeJoin​(ControlledWorkerScheduler<BindingSet> joinScheduler, CloseableIteration<BindingSet,​QueryEvaluationException> leftIter, TupleExpr rightArg, Set<String> joinVars, BindingSet bindings, QueryInfo queryInfo)` |
    `CloseableIteration<Statement,​QueryEvaluationException>` | FederationEvalStrategy.`getStatements​(QueryInfo queryInfo, Resource subj, IRI pred, Value obj, Resource... contexts)` | Retrieve the statements matching the provided subject, predicate and object value from the federation members.
    `CloseableIteration<Statement,​QueryEvaluationException>` | SailTripleSource.`getStatements​(Resource subj, IRI pred, Value obj, QueryInfo queryInfo, Resource... contexts)` |
    `CloseableIteration<BindingSet,​QueryEvaluationException>` | SailTripleSource.`getStatements​(StatementPattern stmt, BindingSet bindings, FilterValueExpr filterExpr, QueryInfo queryInfo)` |
    `CloseableIteration<BindingSet,​QueryEvaluationException>` | SailTripleSource.`getStatements​(TupleExpr preparedQuery, BindingSet bindings, FilterValueExpr filterExpr, QueryInfo queryInfo)` |
    `CloseableIteration<Statement,​QueryEvaluationException>` | SparqlTripleSource.`getStatements​(Resource subj, IRI pred, Value obj, QueryInfo queryInfo, Resource... contexts)` |
    `CloseableIteration<BindingSet,​QueryEvaluationException>` | SparqlTripleSource.`getStatements​(StatementPattern stmt, BindingSet bindings, FilterValueExpr filterExpr, QueryInfo queryInfo)` |
    `CloseableIteration<BindingSet,​QueryEvaluationException>` | SparqlTripleSource.`getStatements​(TupleExpr preparedQuery, BindingSet bindings, FilterValueExpr filterExpr, QueryInfo queryInfo)` |
    `default CloseableIteration<BindingSet,​QueryEvaluationException>` | TripleSource.`getStatements​(String preparedQuery, QueryType queryType, QueryInfo queryInfo)` | Deprecated.
    `CloseableIteration<BindingSet,​QueryEvaluationException>` | TripleSource.`getStatements​(String preparedQuery, BindingSet bindings, FilterValueExpr filterExpr, QueryInfo queryInfo)` | Evaluate the prepared query (SPARQL query as String) on the provided endpoint.
    `CloseableIteration<BindingSet,​QueryEvaluationException>` | TripleSource.`getStatements​(String preparedQuery, BindingSet queryBindings, QueryType queryType, QueryInfo queryInfo)` | Evaluate a given SPARQL query of the provided query type at the given source.
    `CloseableIteration<Statement,​QueryEvaluationException>` | TripleSource.`getStatements​(Resource subj, IRI pred, Value obj, QueryInfo queryInfo, Resource... contexts)` | Return the statements matching the given pattern as a `Statement` iteration.
    `CloseableIteration<BindingSet,​QueryEvaluationException>` | TripleSource.`getStatements​(StatementPattern stmt, BindingSet bindings, FilterValueExpr filterExpr, QueryInfo queryInfo)` | Evaluate the query expression on the provided endpoint.
    `CloseableIteration<BindingSet,​QueryEvaluationException>` | TripleSource.`getStatements​(TupleExpr preparedQuery, BindingSet bindings, FilterValueExpr filterExpr, QueryInfo queryInfo)` | Evaluate the prepared query in its internal representation on the provided endpoint.
    `CloseableIteration<BindingSet,​QueryEvaluationException>` | TripleSourceBase.`getStatements​(String preparedQuery, BindingSet bindings, FilterValueExpr filterExpr, QueryInfo queryInfo)` |
    `CloseableIteration<BindingSet,​QueryEvaluationException>` | TripleSourceBase.`getStatements​(String preparedQuery, BindingSet queryBindings, QueryType queryType, QueryInfo queryInfo)` |
    `boolean` | SailTripleSource.`hasStatements​(StatementPattern stmt, BindingSet bindings, QueryInfo queryInfo, Dataset dataset)` |
    `boolean` | SparqlTripleSource.`hasStatements​(Resource subj, IRI pred, Value obj, QueryInfo queryInfo, Resource... contexts)` |
    `boolean` | SparqlTripleSource.`hasStatements​(StatementPattern stmt, BindingSet bindings, QueryInfo queryInfo, Dataset dataset)` |
    `boolean` | TripleSource.`hasStatements​(Resource subj, IRI pred, Value obj, QueryInfo queryInfo, Resource... contexts)` | Check if the repository can return results for the given triple pattern represented by subj, pred and obj
    `boolean` | TripleSource.`hasStatements​(StatementPattern stmt, BindingSet bindings, QueryInfo queryInfo, Dataset dataset)` | Check if the provided statement can return results.
    `boolean` | TripleSourceBase.`hasStatements​(Resource subj, IRI pred, Value obj, QueryInfo queryInfo, Resource... contexts)` |
    `protected void` | FederationEvalStrategy.`optimizeExclusiveExpressions​(TupleExpr query, QueryInfo queryInfo, GenericInfoOptimizer info)` | Optimize `ExclusiveTupleExpr`, e.g.
    `protected void` | FederationEvalStrategy.`optimizeJoinOrder​(TupleExpr query, QueryInfo queryInfo, GenericInfoOptimizer info)` |
    `protected Set<Endpoint>` | FederationEvalStrategy.`performSourceSelection​(List<Endpoint> members, SourceSelectionCache cache, QueryInfo queryInfo, GenericInfoOptimizer info)` | Perform source selection for all statements of the query.
    `boolean` | SailTripleSource.`usePreparedQuery​(StatementPattern stmt, QueryInfo queryInfo)` |
    `boolean` | SparqlTripleSource.`usePreparedQuery​(StatementPattern stmt, QueryInfo queryInfo)` |
    `boolean` | TripleSource.`usePreparedQuery​(StatementPattern stmt, QueryInfo queryInfo)` |

    Constructors in org.eclipse.rdf4j.federated.evaluation with parameters of type QueryInfo
    Constructor | Description
    --- | ---
    `FederationEvaluationStatistics​(QueryInfo queryInfo, Dataset dataset)` |

  - ### Uses of QueryInfo in org.eclipse.rdf4j.federated.evaluation.concurrent

    Fields in org.eclipse.rdf4j.federated.evaluation.concurrent declared as QueryInfo
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected QueryInfo` | ParallelExecutorBase.`queryInfo` |

    Methods in org.eclipse.rdf4j.federated.evaluation.concurrent that return QueryInfo
    Modifier and Type | Method | Description
    --- | --- | ---
    `QueryInfo` | ParallelExecutor.`getQueryInfo()` | Return the query info of the associated query
    `QueryInfo` | ParallelExecutorBase.`getQueryInfo()` |
    `QueryInfo` | ParallelServiceExecutor.`getQueryInfo()` |
    `default QueryInfo` | ParallelTask.`getQueryInfo()` |

    Constructors in org.eclipse.rdf4j.federated.evaluation.concurrent with parameters of type QueryInfo
    Constructor | Description
    --- | ---
    `ParallelExecutorBase​(QueryInfo queryInfo)` |

  - ### Uses of QueryInfo in org.eclipse.rdf4j.federated.evaluation.iterator

    Fields in org.eclipse.rdf4j.federated.evaluation.iterator declared as QueryInfo
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected QueryInfo` | QueryResultIteration.`queryInfo` |
    `protected QueryInfo` | StopRemainingExecutionsOnCloseIteration.`queryInfo` |

    Constructors in org.eclipse.rdf4j.federated.evaluation.iterator with parameters of type QueryInfo
    Constructor | Description
    --- | ---
    `FederatedDescribeIteration​(Iteration<BindingSet,​QueryEvaluationException> sourceIter, FederationEvalStrategy strategy, Set<String> describeExprNames, BindingSet parentBindings, QueryInfo queryInfo)` |
    `QueryResultIteration​(CloseableIteration<BindingSet,​QueryEvaluationException> inner, QueryInfo queryInfo)` |
    `StopRemainingExecutionsOnCloseIteration​(CloseableIteration<? extends BindingSet,​QueryEvaluationException> inner, QueryInfo queryInfo)` |

  - ### Uses of QueryInfo in org.eclipse.rdf4j.federated.evaluation.join

    Constructors in org.eclipse.rdf4j.federated.evaluation.join with parameters of type QueryInfo
    Constructor | Description
    --- | ---
    `ControlledWorkerBoundJoin​(ControlledWorkerScheduler<BindingSet> scheduler, FederationEvalStrategy strategy, CloseableIteration<BindingSet,​QueryEvaluationException> leftIter, TupleExpr rightArg, BindingSet bindings, QueryInfo queryInfo)` |
    `ControlledWorkerJoin​(ControlledWorkerScheduler<BindingSet> scheduler, FederationEvalStrategy strategy, CloseableIteration<BindingSet,​QueryEvaluationException> leftIter, TupleExpr rightArg, BindingSet bindings, QueryInfo queryInfo)` |
    `ControlledWorkerLeftJoin​(ControlledWorkerScheduler<BindingSet> scheduler, FederationEvalStrategy strategy, CloseableIteration<BindingSet,​QueryEvaluationException> leftIter, LeftJoin join, BindingSet bindings, QueryInfo queryInfo)` |
    `HashJoin​(FederationEvalStrategy strategy, CloseableIteration<BindingSet,​QueryEvaluationException> leftIter, TupleExpr rightArg, QueryEvaluationStep rightPrepared, Set<String> joinVars, BindingSet bindings, QueryInfo queryInfo)` |
    `JoinExecutorBase​(FederationEvalStrategy strategy, CloseableIteration<T,​QueryEvaluationException> leftIter, TupleExpr rightArg, BindingSet bindings, QueryInfo queryInfo)` |
    `SynchronousBoundJoin​(FederationEvalStrategy strategy, CloseableIteration<BindingSet,​QueryEvaluationException> leftIter, TupleExpr rightArg, BindingSet bindings, QueryInfo queryInfo)` |
    `SynchronousJoin​(FederationEvalStrategy strategy, CloseableIteration<BindingSet,​QueryEvaluationException> leftIter, TupleExpr rightArg, BindingSet bindings, QueryInfo queryInfo)` |

  - ### Uses of QueryInfo in org.eclipse.rdf4j.federated.evaluation.union

    Fields in org.eclipse.rdf4j.federated.evaluation.union declared as QueryInfo
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected QueryInfo` | ParallelGetStatementsTask.`queryInfo` |
    `protected QueryInfo` | ParallelPreparedAlgebraUnionTask.`queryInfo` |
    `protected QueryInfo` | ParallelPreparedUnionTask.`queryInfo` |
    `protected QueryInfo` | ParallelUnionTask.`queryInfo` |

    Constructors in org.eclipse.rdf4j.federated.evaluation.union with parameters of type QueryInfo
    Constructor | Description
    --- | ---
    `ControlledWorkerUnion​(ControlledWorkerScheduler<T> scheduler, QueryInfo queryInfo)` |
    `ParallelGetStatementsTask​(ParallelExecutor<Statement> unionControl, Endpoint endpoint, Resource subj, IRI pred, Value obj, QueryInfo queryInfo, Resource... contexts)` |
    `ParallelPreparedAlgebraUnionTask​(ParallelExecutor<BindingSet> unionControl, TupleExpr preparedQuery, Endpoint endpoint, BindingSet bindings, FilterValueExpr filterExpr, QueryInfo queryInfo)` |
    `ParallelPreparedUnionTask​(ParallelExecutor<BindingSet> unionControl, String preparedQuery, Endpoint endpoint, BindingSet bindings, FilterValueExpr filterExpr, QueryInfo queryInfo)` |
    `ParallelUnionTask​(ParallelExecutor<BindingSet> unionControl, StatementPattern stmt, Endpoint endpoint, BindingSet bindings, FilterValueExpr filterExpr, QueryInfo queryInfo)` |
    `SynchronousWorkerUnion​(QueryInfo queryInfo)` |
    `UnionExecutorBase​(QueryInfo queryInfo)` |
    `WorkerUnionBase​(QueryInfo queryInfo)` |

  - ### Uses of QueryInfo in org.eclipse.rdf4j.federated.monitoring

    Methods in org.eclipse.rdf4j.federated.monitoring with parameters of type QueryInfo
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | QueryLog.`logQuery​(QueryInfo query)` |
    `void` | Monitoring.`monitorQuery​(QueryInfo query)` |
    `void` | MonitoringImpl.`monitorQuery​(QueryInfo query)` |
    `void` | NoopMonitoringImpl.`monitorQuery​(QueryInfo query)` |

  - ### Uses of QueryInfo in org.eclipse.rdf4j.federated.optimizer

    Fields in org.eclipse.rdf4j.federated.optimizer declared as QueryInfo
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected QueryInfo` | GenericInfoOptimizer.`queryInfo` |
    `protected QueryInfo` | ServiceOptimizer.`queryInfo` |
    `QueryInfo` | SourceSelection.CheckTaskPair.`queryInfo` |
    `protected QueryInfo` | SourceSelection.ParallelCheckTask.`queryInfo` |
    `protected QueryInfo` | SourceSelection.`queryInfo` |
    `protected QueryInfo` | StatementGroupAndJoinOptimizer.`queryInfo` |
    `protected QueryInfo` | UnionOptimizer.`queryInfo` |

    Methods in org.eclipse.rdf4j.federated.optimizer that return QueryInfo
    Modifier and Type | Method | Description
    --- | --- | ---
    `QueryInfo` | SourceSelection.SourceSelectionExecutorWithLatch.`getQueryInfo()` |

    Methods in org.eclipse.rdf4j.federated.optimizer with parameters of type QueryInfo
    Modifier and Type | Method | Description
    --- | --- | ---
    `static NJoin` | OptimizerUtil.`flattenJoin​(Join join, QueryInfo queryInfo)` | Flatten the join to one layer, i.e.

    Constructors in org.eclipse.rdf4j.federated.optimizer with parameters of type QueryInfo
    Constructor | Description
    --- | ---
    `CheckTaskPair​(Endpoint e, StatementPattern t, QueryInfo queryInfo)` |
    `GenericInfoOptimizer​(QueryInfo queryInfo)` |
    `ParallelCheckTask​(Endpoint endpoint, StatementPattern stmt, QueryInfo queryInfo, SourceSelection.SourceSelectionExecutorWithLatch control)` |
    `ServiceOptimizer​(QueryInfo queryInfo)` |
    `SourceSelection​(List<Endpoint> endpoints, SourceSelectionCache cache, QueryInfo queryInfo)` |
    `StatementGroupAndJoinOptimizer​(QueryInfo queryInfo, FedXCostModel costModel)` |
    `UnionOptimizer​(QueryInfo queryInfo)` |