## Uses of Interface
org.eclipse.rdf4j.query.algebra.TupleExpr

- Packages that use TupleExpr
  Package | Description
  --- | ---
  org.eclipse.rdf4j.federated |
  org.eclipse.rdf4j.federated.algebra |
  org.eclipse.rdf4j.federated.evaluation |
  org.eclipse.rdf4j.federated.evaluation.join |
  org.eclipse.rdf4j.federated.evaluation.union |
  org.eclipse.rdf4j.federated.monitoring |
  org.eclipse.rdf4j.federated.optimizer |
  org.eclipse.rdf4j.federated.util |
  org.eclipse.rdf4j.query.algebra | Abstract Query Algebra model.
  org.eclipse.rdf4j.query.algebra.evaluation |
  org.eclipse.rdf4j.query.algebra.evaluation.federation |
  org.eclipse.rdf4j.query.algebra.evaluation.impl |
  org.eclipse.rdf4j.query.algebra.evaluation.iterator |
  org.eclipse.rdf4j.query.algebra.evaluation.limited.iterator |
  org.eclipse.rdf4j.query.algebra.evaluation.util |
  org.eclipse.rdf4j.query.algebra.helpers |
  org.eclipse.rdf4j.query.parser |
  org.eclipse.rdf4j.query.parser.sparql | The rdf4j SPARQL 1.1 parser.
  org.eclipse.rdf4j.queryrender | This package contains classes for working with RDF4J query objects.
  org.eclipse.rdf4j.queryrender.builder | This package is deprecated.
  org.eclipse.rdf4j.queryrender.sparql |
  org.eclipse.rdf4j.repository.sparql.federation |
  org.eclipse.rdf4j.sail | RDF Storage And Inference Layer (RDF Sail): a set of interfaces defining an SPI for RDF databases.
  org.eclipse.rdf4j.sail.base | Base functionality for Sail implementations that require multi-versioned concurrency control (MVCC).
  org.eclipse.rdf4j.sail.federation.algebra |
  org.eclipse.rdf4j.sail.federation.evaluation |
  org.eclipse.rdf4j.sail.federation.optimizers |
  org.eclipse.rdf4j.sail.helpers | Abstract base implementation and internal helper classes for Sail implementations.
  org.eclipse.rdf4j.sail.inferencer |
  org.eclipse.rdf4j.sail.lucene | A Sail implementation that supports full-text indexing via the Lucene API.
  org.eclipse.rdf4j.sail.spin | See discussion at https://github.com/eclipse/rdf4j/issues/1262

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

    Methods in org.eclipse.rdf4j.federated with parameters of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `protected CloseableIteration<? extends BindingSet,QueryEvaluationException>` | FedXConnection.`evaluateInternal(TupleExpr query, Dataset dataset, BindingSet bindings, boolean includeInferred)`
    `Explanation` | FedXConnection.`explain(Explanation.Level level, TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred, int timeoutSeconds)`

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

    Subinterfaces of TupleExpr in org.eclipse.rdf4j.federated.algebra
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `ExclusiveTupleExpr` Interface representing nodes that can exclusively be evaluated at a single `StatementSource`.
    `interface` | `ExclusiveTupleExprRenderer` A specialization of `ExclusiveTupleExpr` which provides definitions how the expressions can be rendered to a sub-query.
    `interface` | `FedXTupleExpr` Interface marking known FedX algebra nodes.
    `interface` | `StatementTupleExpr` Interface for any expression that can be evaluated

    Classes in org.eclipse.rdf4j.federated.algebra that implement TupleExpr
    Modifier and Type | Class and Description
    --- | ---
    `class` | `CheckStatementPattern` A statement pattern with no free variables when provided with some particular BindingSet in evaluate.
    `class` | `EmptyNJoin` Algebra construct representing an empty join.
    `class` | `EmptyNUnion` Algebra construct representing an empty union.
    `class` | `EmptyStatementPattern` EmptyStatementPattern represents a statement that cannot produce any results for the registered endpoints.
    `class` | `ExclusiveArbitraryLengthPath` An `ArbitraryLengthPath` node which can be evaluated at a single node.
    `class` | `ExclusiveGroup` Represents a group of `ExclusiveTupleExpr` that can only produce results at a single endpoint, the `StatementSource`.
    `class` | `ExclusiveStatement` Represents a StatementPattern that can only produce results at a single endpoint, the owner.
    `class` | `FedXLeftJoin` Abstraction of `LeftJoin` to maintain the `QueryInfo`.
    `class` | `FedXService`
    `class` | `FedXStatementPattern` Base class providing all common functionality for FedX StatementPatterns
    `class` | `NJoin` A tuple expression that represents an nary-Join.
    `class` | `NTuple` Base class for any nary-tuple expression
    `class` | `NUnion` A tuple expression that represents an nary-Union.
    `class` | `PassThroughTupleExpr` Marker `TupleExpr` that is used from `FedXTupleQuery.evaluate(TupleQueryResultHandler)` to allow for passing through of results to the handler.
    `class` | `PrecompiledQueryNode` Node representing a precompiled query.
    `class` | `SingleSourceQuery` A query which has a single relevant source.
    `class` | `StatementSourcePattern` Represents statements that can produce results at a some particular endpoints, the statement sources.
    `class` | `TrueStatementPattern` A TrueStatementPattern represents a stmt with no free variables which in addition is available at one of the provided sources.

    Fields in org.eclipse.rdf4j.federated.algebra with type parameters of type TupleExpr
    Modifier and Type | Field and Description
    --- | ---
    `protected List<TupleExpr>` | NTuple.`args`

    Methods in org.eclipse.rdf4j.federated.algebra that return TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `TupleExpr` | NTuple.`getArg(int i)`
    `TupleExpr` | PassThroughTupleExpr.`getExpr()`
    `TupleExpr` | PrecompiledQueryNode.`getQuery()`
    `TupleExpr` | ExclusiveArbitraryLengthPath.`toQueryAlgebra(Set<String> varNames, BindingSet bindings)`
    `TupleExpr` | ExclusiveTupleExprRenderer.`toQueryAlgebra(Set<String> varNames, BindingSet bindings)` Returns a SPARQL algebra representation of this expression that can be inserted into a SELECT `TupleExpr`

    Methods in org.eclipse.rdf4j.federated.algebra that return types with arguments of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `List<TupleExpr>` | NTuple.`getArgs()`

    Constructors in org.eclipse.rdf4j.federated.algebra with parameters of type TupleExpr
    Constructor and Description
    `PassThroughTupleExpr(TupleExpr parsedQuery, TupleQueryResultHandler resultHandler)`
    `PrecompiledQueryNode(TupleExpr query)`
    `SingleSourceQuery(TupleExpr parsedQuery, Endpoint source, QueryInfo queryInfo)`

    Constructor parameters in org.eclipse.rdf4j.federated.algebra with type arguments of type TupleExpr
    Constructor and Description
    `EmptyNUnion(List<TupleExpr> args, 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.

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

    Methods in org.eclipse.rdf4j.federated.evaluation that return TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `TupleExpr` | FederationEvalStrategy.`optimize(TupleExpr expr, EvaluationStatistics evaluationStatistics, BindingSet bindings)`

    Methods in org.eclipse.rdf4j.federated.evaluation with parameters of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `CloseableIteration<BindingSet,QueryEvaluationException>` | FederationEvalStrategy.`evaluate(TupleExpr expr, BindingSet bindings)`
    `protected CloseableIteration<BindingSet,QueryEvaluationException>` | FederationEvalStrategy.`evaluateAtStatementSources(TupleExpr preparedQuery, List<StatementSource> statementSources, QueryInfo queryInfo)`
    `CloseableIteration<BindingSet,QueryEvaluationException>` | SparqlFederationEvalStrategy.`executeJoin(ControlledWorkerScheduler<BindingSet> joinScheduler, CloseableIteration<BindingSet,QueryEvaluationException> leftIter, TupleExpr rightArg, Set<String> joinVars, BindingSet bindings, QueryInfo queryInfo)`
    `CloseableIteration<BindingSet,QueryEvaluationException>` | SailFederationEvalStrategy.`executeJoin(ControlledWorkerScheduler<BindingSet> joinScheduler, CloseableIteration<BindingSet,QueryEvaluationException> leftIter, TupleExpr rightArg, Set<String> joinVars, BindingSet bindings, 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>` | SailTripleSource.`getStatements(TupleExpr preparedQuery, BindingSet bindings, FilterValueExpr filterExpr, QueryInfo queryInfo)`
    `CloseableIteration<BindingSet,QueryEvaluationException>` | SparqlTripleSource.`getStatements(TupleExpr preparedQuery, BindingSet bindings, FilterValueExpr filterExpr, QueryInfo queryInfo)`
    `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.
    `TupleExpr` | FederationEvalStrategy.`optimize(TupleExpr expr, EvaluationStatistics evaluationStatistics, BindingSet bindings)`
    `protected void` | FederationEvalStrategy.`optimizeExclusiveExpressions(TupleExpr query, QueryInfo queryInfo, GenericInfoOptimizer info)` Optimize `ExclusiveTupleExpr`, e.g.
    `protected void` | FederationEvalStrategy.`optimizeJoinOrder(TupleExpr query, QueryInfo queryInfo, GenericInfoOptimizer info)`

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

    Fields in org.eclipse.rdf4j.federated.evaluation.join declared as TupleExpr
    Modifier and Type | Field and Description
    --- | ---
    `protected TupleExpr` | ParallelJoinTask.`expr`
    `protected TupleExpr` | JoinExecutorBase.`rightArg`

    Constructors in org.eclipse.rdf4j.federated.evaluation.join with parameters of type TupleExpr
    Constructor and 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)`
    `HashJoin(FederationEvalStrategy strategy, CloseableIteration<BindingSet,QueryEvaluationException> leftIter, TupleExpr rightArg, Set<String> joinVars, BindingSet bindings, QueryInfo queryInfo)`
    `JoinExecutorBase(FederationEvalStrategy strategy, CloseableIteration<T,QueryEvaluationException> leftIter, TupleExpr rightArg, BindingSet bindings, QueryInfo queryInfo)`
    `ParallelJoinTask(ParallelExecutor<BindingSet> joinControl, FederationEvalStrategy strategy, TupleExpr expr, BindingSet bindings)`
    `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 TupleExpr in org.eclipse.rdf4j.federated.evaluation.union

    Fields in org.eclipse.rdf4j.federated.evaluation.union declared as TupleExpr
    Modifier and Type | Field and Description
    --- | ---
    `protected TupleExpr` | ParallelUnionOperatorTask.`expr`
    `protected TupleExpr` | ParallelPreparedAlgebraUnionTask.`preparedQuery`

    Constructors in org.eclipse.rdf4j.federated.evaluation.union with parameters of type TupleExpr
    Constructor and Description
    `ParallelPreparedAlgebraUnionTask(ParallelExecutor<BindingSet> unionControl, TupleExpr preparedQuery, Endpoint endpoint, BindingSet bindings, FilterValueExpr filterExpr, QueryInfo queryInfo)`
    `ParallelUnionOperatorTask(ParallelExecutor<BindingSet> unionControl, FederationEvalStrategy strategy, TupleExpr expr, BindingSet bindings)`

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

    Methods in org.eclipse.rdf4j.federated.monitoring with parameters of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `void` | NoopMonitoringImpl.`logQueryPlan(TupleExpr tupleExpr)`
    `void` | MonitoringImpl.`logQueryPlan(TupleExpr tupleExpr)`
    `void` | Monitoring.`logQueryPlan(TupleExpr tupleExpr)`
    `static void` | QueryPlanLog.`setQueryPlan(TupleExpr query)`

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

    Methods in org.eclipse.rdf4j.federated.optimizer that return TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `protected TupleExpr` | ServiceOptimizer.`optimizeService(Service service)`

    Methods in org.eclipse.rdf4j.federated.optimizer that return types with arguments of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `protected List<TupleExpr>` | StatementGroupAndJoinOptimizer.`formGroups(List<TupleExpr> originalArgs)` Group `ExclusiveStatement`s having the same source into an `ExclusiveGroup`.
    `protected List<TupleExpr>` | StatementGroupAndJoinOptimizer.`optimizeJoinOrder(List<TupleExpr> joinArgs)` Join Order Optimizer Group -> Statements according to number of free Variables Additional Heuristics: - ExclusiveGroups are cheaper than any other subquery - owned statements are cheaper if they have a single free variable

    Methods in org.eclipse.rdf4j.federated.optimizer with parameters of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `protected static void` | OptimizerUtil.`collectJoinArgs(TupleExpr node, List<TupleExpr> joinArgs)` Collect join arguments by descending the query tree (recursively).
    `int` | NaryJoinArgumentsComparator.`compare(TupleExpr a, TupleExpr b)`
    `double` | DefaultFedXCostModel.`estimateCost(TupleExpr tupleExpr, Set<String> joinVars)`
    `protected double` | StatementGroupAndJoinOptimizer.`estimateCost(TupleExpr tupleExpr, Set<String> joinVars)`
    `double` | FedXCostModel.`estimateCost(TupleExpr tupleExpr, Set<String> joinVars)` Return the estimated cost for the given `TupleExpr`
    `void` | ExclusiveTupleExprOptimizer.`optimize(TupleExpr tupleExpr)`
    `void` | FilterOptimizer.`optimize(TupleExpr tupleExpr)`
    `void` | StatementGroupAndJoinOptimizer.`optimize(TupleExpr tupleExpr)`
    `void` | ServiceOptimizer.`optimize(TupleExpr tupleExpr)`
    `void` | UnionOptimizer.`optimize(TupleExpr tupleExpr)`
    `void` | LimitOptimizer.`optimize(TupleExpr tupleExpr)`
    `void` | FedXOptimizer.`optimize(TupleExpr tupleExpr)` Optimize the provided tuple expression
    `void` | GenericInfoOptimizer.`optimize(TupleExpr tupleExpr)`

    Method parameters in org.eclipse.rdf4j.federated.optimizer with type arguments of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `protected static void` | OptimizerUtil.`collectJoinArgs(TupleExpr node, List<TupleExpr> joinArgs)` Collect join arguments by descending the query tree (recursively).
    `protected List<TupleExpr>` | StatementGroupAndJoinOptimizer.`formGroups(List<TupleExpr> originalArgs)` Group `ExclusiveStatement`s having the same source into an `ExclusiveGroup`.
    `protected void` | UnionOptimizer.`handleUnionArgs(Union union, List<TupleExpr> args)` Add the union arguments to the args list, includes a recursion step for nested unions.
    `protected List<TupleExpr>` | StatementGroupAndJoinOptimizer.`optimizeJoinOrder(List<TupleExpr> joinArgs)` Join Order Optimizer Group -> Statements according to number of free Variables Additional Heuristics: - ExclusiveGroups are cheaper than any other subquery - owned statements are cheaper if they have a single free variable

  - ### Uses of TupleExpr in org.eclipse.rdf4j.federated.util

    Methods in org.eclipse.rdf4j.federated.util that return TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `protected static TupleExpr` | QueryAlgebraUtil.`constructStatementCheckId(StatementPattern stmt, int varID, Set<String> varNames, BindingSet bindings)` Construct the statement string, i.e.
    `static TupleExpr` | QueryAlgebraUtil.`selectQuery(ExclusiveGroup group, BindingSet bindings, FilterValueExpr filterExpr, AtomicBoolean evaluated)` Construct a SELECT query for the provided `ExclusiveGroup`.
    `static TupleExpr` | QueryAlgebraUtil.`selectQuery(StatementPattern stmt, BindingSet bindings, FilterValueExpr filterExpr, AtomicBoolean evaluated)` Construct a SELECT query for the provided statement.
    `static TupleExpr` | QueryAlgebraUtil.`selectQueryBoundUnion(StatementPattern stmt, List<BindingSet> unionBindings, FilterValueExpr filterExpr, Boolean evaluated)` Construct a SELECT query expression for a bound union.
    `static TupleExpr` | QueryAlgebraUtil.`selectQueryStringBoundCheck(StatementPattern stmt, List<BindingSet> unionBindings)` Construct a SELECT query for a grouped bound check.
    `static TupleExpr` | QueryAlgebraUtil.`toTupleExpr(ArbitraryLengthPath node, Set<String> varNames, BindingSet bindings)` Convert the given `ArbitraryLengthPath` to a fresh `TupleExpr` where all provided bindings are bound.

    Methods in org.eclipse.rdf4j.federated.util with parameters of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `static Collection<String>` | QueryAlgebraUtil.`getFreeVars(TupleExpr tupleExpr)` Computes the collection of free variables in the given `TupleExpr`.

  - ### Uses of TupleExpr in org.eclipse.rdf4j.query.algebra

    Classes in org.eclipse.rdf4j.query.algebra that implement TupleExpr
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ArbitraryLengthPath` A tuple expression that matches a path of arbitrary length against an RDF graph.
    `class` | `BinaryTupleOperator` An abstract superclass for binary tuple operators which, by definition, has two arguments.
    `class` | `BindingSetAssignment`
    `class` | `DescribeOperator`
    `class` | `Difference` The MINUS set operator, which returns the result of the left tuple expression, except for the results that are also returned by the right tuple expression.
    `class` | `Distinct`
    `class` | `EmptySet` A tuple expression that contains zero solutions.
    `class` | `Extension` An extension operator that can be used to add bindings to solutions whose values are defined by `value expressions`.
    `class` | `Filter` The FILTER operator, as defined in SPARQL Query Language for RDF.
    `class` | `Group` A tuple operator that groups tuples that have a specific set of equivalent variable bindings, and that can apply aggregate functions on the grouped results.
    `class` | `Intersection` The INTERSECT set operator, which returns the intersection of the result sets of two tuple expressions.
    `class` | `Join` A natural join between two tuple expressions.
    `class` | `LeftJoin` The LeftJoin operator, as defined in SPARQL Query Language for RDF.
    `class` | `MultiProjection` A "multi-projection" that can produce multiple solutions from a single set of bindings.
    `class` | `Order` An order operator that can be used to order bindings as specified by a set of value expressions.
    `class` | `Projection` A generalized projection (allowing the bindings to be renamed) on a tuple expression.
    `class` | `QueryRoot` A semantics-less query model node that is used as the root of query model trees.
    `class` | `Reduced`
    `class` | `Service` The SERVICE keyword as defined in SERVICE definition.
    `class` | `SingletonSet` A tuple expression that contains exactly one solution with zero bindings.
    `class` | `Slice` The SLICE operator, as defined in SPARQL Query Language for RDF.
    `class` | `StatementPattern` A tuple expression that matches a statement pattern against an RDF graph.
    `class` | `TripleRef` Triple lookup reference.
    `class` | `TupleFunctionCall` A call to a TupleFunction.
    `class` | `UnaryTupleOperator` An abstract superclass for unary tuple operators which, by definition, has one argument.
    `class` | `Union` The UNION set operator, which return the union of the result sets of two tuple expressions.
    `class` | `ZeroLengthPath` A tuple expression that matches a path of length zero against an RDF graph.

    Fields in org.eclipse.rdf4j.query.algebra declared as TupleExpr
    Modifier and Type | Field and Description
    --- | ---
    `protected TupleExpr` | UnaryTupleOperator.`arg` The operator's argument.
    `protected TupleExpr` | BinaryTupleOperator.`leftArg` The operator's left argument.
    `protected TupleExpr` | BinaryTupleOperator.`rightArg` The operator's right argument.
    `protected TupleExpr` | SubQueryValueOperator.`subQuery`

    Methods in org.eclipse.rdf4j.query.algebra that return TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `TupleExpr` | TupleExpr.`clone()`
    `TupleExpr` | UnaryTupleOperator.`getArg()` Gets the argument of this unary tuple operator.
    `TupleExpr` | Modify.`getDeleteExpr()`
    `TupleExpr` | Modify.`getInsertExpr()`
    `TupleExpr` | BinaryTupleOperator.`getLeftArg()` Gets the left argument of this binary tuple operator.
    `TupleExpr` | ArbitraryLengthPath.`getPathExpression()`
    `TupleExpr` | BinaryTupleOperator.`getRightArg()` Gets the right argument of this binary tuple operator.
    `TupleExpr` | Service.`getServiceExpr()`
    `TupleExpr` | SubQueryValueOperator.`getSubQuery()`
    `TupleExpr` | Modify.`getWhereExpr()`

    Methods in org.eclipse.rdf4j.query.algebra with parameters of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `void` | UnaryTupleOperator.`setArg(TupleExpr arg)` Sets the argument of this unary tuple operator.
    `void` | Modify.`setDeleteExpr(TupleExpr deleteExpr)`
    `void` | Modify.`setInsertExpr(TupleExpr insertExpr)`
    `void` | BinaryTupleOperator.`setLeftArg(TupleExpr leftArg)` Sets the left argument of this binary tuple operator.
    `void` | ArbitraryLengthPath.`setPathExpression(TupleExpr pathExpression)`
    `void` | BinaryTupleOperator.`setRightArg(TupleExpr rightArg)` Sets the right argument of this binary tuple operator.
    `void` | SubQueryValueOperator.`setSubQuery(TupleExpr subQuery)`
    `void` | Modify.`setWhereExpr(TupleExpr whereExpr)`

    Constructors in org.eclipse.rdf4j.query.algebra with parameters of type TupleExpr
    Constructor and Description
    `ArbitraryLengthPath(StatementPattern.Scope scope, Var subject, TupleExpr pathExpression, Var object, long minLength)` Creates a arbitrary-length path that matches a subject-, predicate- and object variable against statements from the specified context scope.
    `ArbitraryLengthPath(StatementPattern.Scope scope, Var subjVar, TupleExpr pathExpression, Var objVar, Var conVar, long minLength)` Creates a arbitrary-length path that matches a subject-, predicate-, object- and context variable against statements from the specified context scope.
    `ArbitraryLengthPath(Var subject, TupleExpr pathExpression, Var object, long minLength)` Creates a arbitrary-length path that matches a subject-, predicate- and object variable against statements from all contexts.
    `ArbitraryLengthPath(Var subject, TupleExpr pathExpression, Var object, Var context, long minLength)` Creates a arbitrary-length path that matches a subject-, predicate-, object- and context variable against statements from all contexts.
    `BinaryTupleOperator(TupleExpr leftArg, TupleExpr rightArg)` Creates a new binary tuple operator.
    `CompareAll(ValueExpr valueExpr, TupleExpr subQuery, Compare.CompareOp operator)`
    `CompareAny(ValueExpr valueExpr, TupleExpr subQuery, Compare.CompareOp operator)`
    `CompareSubQueryValueOperator(ValueExpr valueExpr, TupleExpr subQuery)`
    `DescribeOperator(TupleExpr arg)`
    `Difference(TupleExpr leftArg, TupleExpr rightArg)` Creates a new minus operator that operates on the two specified arguments.
    `Distinct(TupleExpr arg)`
    `Exists(TupleExpr subQuery)`
    `Extension(TupleExpr arg)`
    `Extension(TupleExpr arg, ExtensionElem... elements)`
    `Extension(TupleExpr arg, Iterable<ExtensionElem> elements)`
    `Filter(TupleExpr arg, ValueExpr condition)`
    `Group(TupleExpr arg)`
    `Group(TupleExpr arg, Iterable<String> groupBindingNames)`
    `Group(TupleExpr arg, Iterable<String> groupBindingNames, Iterable<GroupElem> groupElements)`
    `In(ValueExpr valueExpr, TupleExpr subQuery)`
    `Intersection(TupleExpr leftArg, TupleExpr rightArg)` Creates a new intersection operator that operates on the two specified arguments.
    `Join(TupleExpr leftArg, TupleExpr rightArg)` Creates a new natural join operator.
    `LeftJoin(TupleExpr leftArg, TupleExpr rightArg)`
    `LeftJoin(TupleExpr leftArg, TupleExpr rightArg, ValueExpr condition)`
    `Modify(TupleExpr deleteExpr, TupleExpr insertExpr)`
    `Modify(TupleExpr deleteExpr, TupleExpr insertExpr, TupleExpr whereExpr)`
    `MultiProjection(TupleExpr arg)`
    `MultiProjection(TupleExpr arg, Iterable<ProjectionElemList> projections)`
    `Order(TupleExpr arg)`
    `Order(TupleExpr arg, Iterable<OrderElem> elements)`
    `Order(TupleExpr arg, OrderElem... elements)`
    `Projection(TupleExpr arg)`
    `Projection(TupleExpr arg, ProjectionElemList elements)`
    `Projection(TupleExpr arg, ProjectionElemList elements, boolean subquery)`
    `QueryRoot(TupleExpr tupleExpr)`
    `Reduced(TupleExpr arg)`
    `Service(Var serviceRef, TupleExpr serviceExpr, String serviceExpressionString, Map<String,String> prefixDeclarations, String baseURI, boolean silent)`
    `Slice(TupleExpr arg)`
    `Slice(TupleExpr arg, long offset2, long limit2)`
    `SubQueryValueOperator(TupleExpr subQuery)`
    `UnaryTupleOperator(TupleExpr arg)` Creates a new unary tuple operator.
    `Union(TupleExpr leftArg, TupleExpr rightArg)` Creates a new union operator that operates on the two specified arguments.

  - ### Uses of TupleExpr in org.eclipse.rdf4j.query.algebra.evaluation

    Methods in org.eclipse.rdf4j.query.algebra.evaluation that return TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `TupleExpr` | EvaluationStrategy.`optimize(TupleExpr expr, EvaluationStatistics evaluationStatistics, BindingSet bindings)` Execute the `QueryOptimizerPipeline` on the given `TupleExpr` to optimize its execution plan.

    Methods in org.eclipse.rdf4j.query.algebra.evaluation with parameters of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `CloseableIteration<BindingSet,QueryEvaluationException>` | EvaluationStrategy.`evaluate(TupleExpr expr, BindingSet bindings)` Evaluates the tuple expression against the supplied triple source with the specified set of variable bindings as input.
    `protected abstract CloseableIteration<? extends BindingSet,QueryEvaluationException>` | AbstractQueryPreparer.`evaluate(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred, int maxExecutionTime)`
    `void` | QueryOptimizer.`optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)`
    `TupleExpr` | EvaluationStrategy.`optimize(TupleExpr expr, EvaluationStatistics evaluationStatistics, BindingSet bindings)` Execute the `QueryOptimizerPipeline` on the given `TupleExpr` to optimize its execution plan.

  - ### Uses of TupleExpr in org.eclipse.rdf4j.query.algebra.evaluation.federation

    Constructors in org.eclipse.rdf4j.query.algebra.evaluation.federation with parameters of type TupleExpr
    Constructor and Description
    `JoinExecutorBase(CloseableIteration<T,QueryEvaluationException> leftIter, TupleExpr rightArg, BindingSet bindings)` Deprecated.

  - ### Uses of TupleExpr in org.eclipse.rdf4j.query.algebra.evaluation.impl

    Classes in org.eclipse.rdf4j.query.algebra.evaluation.impl that implement TupleExpr
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ExternalSet` Deprecated. since 3.0.

    Fields in org.eclipse.rdf4j.query.algebra.evaluation.impl declared as TupleExpr
    Modifier and Type | Field and Description
    --- | ---
    `protected TupleExpr` | ConjunctiveConstraintSplitter.ConstraintVisitor.`tupleExpr`
    `protected TupleExpr` | FilterOptimizer.FilterFinder.`tupleExpr`

    Methods in org.eclipse.rdf4j.query.algebra.evaluation.impl with type parameters of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `protected <L extends List<TupleExpr>> L` | QueryJoinOptimizer.JoinVisitor.`getJoinArgs(TupleExpr tupleExpr, L joinArgs)` Deprecated.

    Methods in org.eclipse.rdf4j.query.algebra.evaluation.impl that return TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `TupleExpr` | StrictEvaluationStrategy.`optimize(TupleExpr expr, EvaluationStatistics evaluationStatistics, BindingSet bindings)` Execute the `QueryOptimizerPipeline` on the given `TupleExpr` to optimize its execution plan.
    `protected TupleExpr` | QueryJoinOptimizer.JoinVisitor.`selectNextTupleExpr(List<TupleExpr> expressions, Map<TupleExpr,Double> cardinalityMap, Map<TupleExpr,List<Var>> varsMap, Map<Var,Integer> varFreqMap, Set<String> boundVars)` Deprecated. Selects from a list of tuple expressions the next tuple expression that should be evaluated.

    Methods in org.eclipse.rdf4j.query.algebra.evaluation.impl that return types with arguments of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `protected List<TupleExpr>` | QueryJoinOptimizer.JoinVisitor.`getSubSelects(List<TupleExpr> expressions)` Deprecated.
    `protected List<TupleExpr>` | QueryJoinOptimizer.JoinVisitor.`reorderSubselects(List<TupleExpr> subselects)` Deprecated. Determines an optimal ordering of subselect join arguments, based on variable bindings.

    Methods in org.eclipse.rdf4j.query.algebra.evaluation.impl with parameters of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `CloseableIteration<BindingSet,QueryEvaluationException>` | TupleFunctionEvaluationStrategy.`evaluate(TupleExpr expr, BindingSet bindings)`
    `CloseableIteration<BindingSet,QueryEvaluationException>` | StrictEvaluationStrategy.`evaluate(TupleExpr expr, BindingSet bindings)`
    `double` | EvaluationStatistics.`getCardinality(TupleExpr expr)`
    `protected <L extends List<TupleExpr>> L` | QueryJoinOptimizer.JoinVisitor.`getJoinArgs(TupleExpr tupleExpr, L joinArgs)` Deprecated.
    `protected List<Var>` | QueryJoinOptimizer.JoinVisitor.`getStatementPatternVars(TupleExpr tupleExpr)` Deprecated.
    `protected double` | QueryJoinOptimizer.JoinVisitor.`getTupleExprCardinality(TupleExpr tupleExpr, Map<TupleExpr,Double> cardinalityMap, Map<TupleExpr,List<Var>> varsMap, Map<Var,Integer> varFreqMap, Set<String> boundVars)` Deprecated.
    `protected double` | QueryJoinOptimizer.JoinVisitor.`getTupleExprCost(TupleExpr tupleExpr, Map<TupleExpr,Double> cardinalityMap, Map<TupleExpr,List<Var>> varsMap, Map<Var,Integer> varFreqMap, Set<String> boundVars)` Deprecated.
    `void` | OrderLimitOptimizer.`optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)`
    `void` | SameTermFilterOptimizer.`optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)` Applies generally applicable optimizations to the supplied query: variable assignments are inlined.
    `void` | QueryModelNormalizer.`optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)`
    `void` | DisjunctiveConstraintOptimizer.`optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)`
    `void` | ConjunctiveConstraintSplitter.`optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)`
    `void` | CompareOptimizer.`optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)` Applies generally applicable optimizations to the supplied query: variable assignments are inlined.
    `void` | ConstantOptimizer.`optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)` Applies generally applicable optimizations to the supplied query: variable assignments are inlined.
    `void` | QueryModelPruner.`optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)` Deprecated. Applies generally applicable optimizations: path expressions are sorted from more to less specific.
    `void` | IterativeEvaluationOptimizer.`optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)`
    `void` | QueryJoinOptimizer.`optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)` Applies generally applicable optimizations: path expressions are sorted from more to less specific.
    `void` | RegexAsStringFunctionOptimizer.`optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)` Applies generally applicable optimizations to the supplied query: variable assignments are inlined.
    `void` | FilterOptimizer.`optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)`
    `void` | BindingAssigner.`optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)`
    `TupleExpr` | StrictEvaluationStrategy.`optimize(TupleExpr expr, EvaluationStatistics evaluationStatistics, BindingSet bindings)` Execute the `QueryOptimizerPipeline` on the given `TupleExpr` to optimize its execution plan.
    `protected void` | FilterOptimizer.FilterRelocator.`relocate(Filter filter, TupleExpr newFilterArg)`

    Method parameters in org.eclipse.rdf4j.query.algebra.evaluation.impl with type arguments of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `protected List<Extension>` | QueryJoinOptimizer.JoinVisitor.`getExtensions(List<TupleExpr> expressions)` Deprecated.
    `protected List<TupleExpr>` | QueryJoinOptimizer.JoinVisitor.`getSubSelects(List<TupleExpr> expressions)` Deprecated.
    `protected double` | QueryJoinOptimizer.JoinVisitor.`getTupleExprCardinality(TupleExpr tupleExpr, Map<TupleExpr,Double> cardinalityMap, Map<TupleExpr,List<Var>> varsMap, Map<Var,Integer> varFreqMap, Set<String> boundVars)` Deprecated.
    `protected double` | QueryJoinOptimizer.JoinVisitor.`getTupleExprCardinality(TupleExpr tupleExpr, Map<TupleExpr,Double> cardinalityMap, Map<TupleExpr,List<Var>> varsMap, Map<Var,Integer> varFreqMap, Set<String> boundVars)` Deprecated.
    `protected double` | QueryJoinOptimizer.JoinVisitor.`getTupleExprCost(TupleExpr tupleExpr, Map<TupleExpr,Double> cardinalityMap, Map<TupleExpr,List<Var>> varsMap, Map<Var,Integer> varFreqMap, Set<String> boundVars)` Deprecated.
    `protected double` | QueryJoinOptimizer.JoinVisitor.`getTupleExprCost(TupleExpr tupleExpr, Map<TupleExpr,Double> cardinalityMap, Map<TupleExpr,List<Var>> varsMap, Map<Var,Integer> varFreqMap, Set<String> boundVars)` Deprecated.
    `protected List<TupleExpr>` | QueryJoinOptimizer.JoinVisitor.`reorderSubselects(List<TupleExpr> subselects)` Deprecated. Determines an optimal ordering of subselect join arguments, based on variable bindings.
    `protected TupleExpr` | QueryJoinOptimizer.JoinVisitor.`selectNextTupleExpr(List<TupleExpr> expressions, Map<TupleExpr,Double> cardinalityMap, Map<TupleExpr,List<Var>> varsMap, Map<Var,Integer> varFreqMap, Set<String> boundVars)` Deprecated. Selects from a list of tuple expressions the next tuple expression that should be evaluated.
    `protected TupleExpr` | QueryJoinOptimizer.JoinVisitor.`selectNextTupleExpr(List<TupleExpr> expressions, Map<TupleExpr,Double> cardinalityMap, Map<TupleExpr,List<Var>> varsMap, Map<Var,Integer> varFreqMap, Set<String> boundVars)` Deprecated. Selects from a list of tuple expressions the next tuple expression that should be evaluated.
    `protected TupleExpr` | QueryJoinOptimizer.JoinVisitor.`selectNextTupleExpr(List<TupleExpr> expressions, Map<TupleExpr,Double> cardinalityMap, Map<TupleExpr,List<Var>> varsMap, Map<Var,Integer> varFreqMap, Set<String> boundVars)` Deprecated. Selects from a list of tuple expressions the next tuple expression that should be evaluated.

    Constructors in org.eclipse.rdf4j.query.algebra.evaluation.impl with parameters of type TupleExpr
    Constructor and Description
    `ConstraintVisitor(TupleExpr tupleExpr)`
    `FilterFinder(TupleExpr tupleExpr)`

  - ### Uses of TupleExpr in org.eclipse.rdf4j.query.algebra.evaluation.iterator

    Constructors in org.eclipse.rdf4j.query.algebra.evaluation.iterator with parameters of type TupleExpr
    Constructor and Description
    `HashJoinIteration(EvaluationStrategy strategy, TupleExpr left, TupleExpr right, BindingSet bindings, boolean leftJoin)`
    `PathIteration(StrictEvaluationStrategy evaluationStrategyImpl, StatementPattern.Scope scope, Var startVar, TupleExpr pathExpression, Var endVar, Var contextVar, long minLength, BindingSet bindings)`

  - ### Uses of TupleExpr in org.eclipse.rdf4j.query.algebra.evaluation.limited.iterator

    Constructors in org.eclipse.rdf4j.query.algebra.evaluation.limited.iterator with parameters of type TupleExpr
    Constructor and Description
    `LimitedSizePathIterator(StrictEvaluationStrategy evaluationStrategyImpl, StatementPattern.Scope scope, Var startVar, TupleExpr pathExpression, Var endVar, Var contextVar, long minLength, BindingSet bindings, AtomicLong used, long maxSize)`

  - ### Uses of TupleExpr in org.eclipse.rdf4j.query.algebra.evaluation.util

    Methods in org.eclipse.rdf4j.query.algebra.evaluation.util with parameters of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `void` | QueryOptimizerList.`optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)`

  - ### Uses of TupleExpr in org.eclipse.rdf4j.query.algebra.helpers

    Methods in org.eclipse.rdf4j.query.algebra.helpers that return types with arguments of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `static List<TupleExpr>` | TupleExprs.`getChildren(TupleExpr t)` Returns `TupleExpr` children of the given node.

    Methods in org.eclipse.rdf4j.query.algebra.helpers with parameters of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | TupleExprs.`containsProjection(TupleExpr t)` Deprecated. since 2.0. Use `TupleExprs.containsSubquery(TupleExpr)` instead.
    `static boolean` | TupleExprs.`containsSubquery(TupleExpr t)` Verifies if the supplied `TupleExpr` contains a `Projection` with the subquery flag set to true (default).
    `static List<TupleExpr>` | TupleExprs.`getChildren(TupleExpr t)` Returns `TupleExpr` children of the given node.
    `static boolean` | TupleExprs.`isFilterExistsFunction(TupleExpr expr)` Verifies if the supplied expression is a FILTER (NOT) EXISTS operation
    `static boolean` | TupleExprs.`isGraphPatternGroup(TupleExpr expr)` Deprecated. since 3.2. Use `TupleExprs.isVariableScopeChange(TupleExpr)` instead.
    `static boolean` | TupleExprs.`isVariableScopeChange(TupleExpr expr)` Verifies if the supplied `TupleExpr` represents a variable scope change.

  - ### Uses of TupleExpr in org.eclipse.rdf4j.query.parser

    Methods in org.eclipse.rdf4j.query.parser that return TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `TupleExpr` | ParsedQuery.`getTupleExpr()` Gets the tuple expression underlying this operation.

    Methods in org.eclipse.rdf4j.query.parser with parameters of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `void` | ParsedQuery.`setTupleExpr(TupleExpr tupleExpr)` Gets the tuple expression underlying this operation.

    Constructors in org.eclipse.rdf4j.query.parser with parameters of type TupleExpr
    Constructor and Description
    `ParsedBooleanQuery(String sourceString, TupleExpr tupleExpr)` Creates a new boolean query for the supplied tuple expression.
    `ParsedBooleanQuery(TupleExpr tupleExpr)` Creates a new boolean query for the supplied tuple expression.
    `ParsedDescribeQuery(String sourceString, TupleExpr tupleExpr)` Creates a new graph query for the supplied tuple expression.
    `ParsedDescribeQuery(String sourceString, TupleExpr tupleExpr, Map<String,String> namespaces)` Creates a new graph query.
    `ParsedDescribeQuery(TupleExpr tupleExpr)` Creates a new graph query for the supplied tuple expression.
    `ParsedDescribeQuery(TupleExpr tupleExpr, Map<String,String> namespaces)` Creates a new graph query.
    `ParsedGraphQuery(String sourceString, TupleExpr tupleExpr)` Creates a new graph query for the supplied tuple expression.
    `ParsedGraphQuery(String sourceString, TupleExpr tupleExpr, Map<String,String> namespaces)` Creates a new graph query.
    `ParsedGraphQuery(TupleExpr tupleExpr)` Creates a new graph query for the supplied tuple expression.
    `ParsedGraphQuery(TupleExpr tupleExpr, Map<String,String> namespaces)` Creates a new graph query.
    `ParsedQuery(String sourceString, TupleExpr tupleExpr)` Creates a new query object.
    `ParsedQuery(String sourceString, TupleExpr tupleExpr, Dataset dataset)` Creates a new query object.
    `ParsedQuery(TupleExpr tupleExpr)` Creates a new query object.
    `ParsedQuery(TupleExpr tupleExpr, Dataset dataset)` Creates a new query object.
    `ParsedTupleQuery(String sourceString, TupleExpr tupleExpr)` Creates a new tuple query for the supplied tuple expression.
    `ParsedTupleQuery(TupleExpr tupleExpr)` Creates a new tuple query for the supplied tuple expression.

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

    Methods in org.eclipse.rdf4j.query.parser.sparql that return TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `TupleExpr` | ConstructorBuilder.`buildConstructor(TupleExpr bodyExpr, boolean distinct, boolean reduced)`
    `TupleExpr` | ConstructorBuilder.`buildConstructor(TupleExpr bodyExpr, TupleExpr constructExpr, boolean distinct, boolean reduced)`
    `TupleExpr` | GraphPattern.`buildTupleExpr()` Builds a combined tuple expression from the tuple expressions and constraints in this graph pattern.
    `TupleExpr` | TupleExprBuilder.`visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTAskQuery node, Object data)`
    `TupleExpr` | TupleExprBuilder.`visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTConstruct node, Object data)`
    `TupleExpr` | TupleExprBuilder.`visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTConstructQuery node, Object data)`
    `TupleExpr` | UpdateExprBuilder.`visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTDeleteClause node, Object data)`
    `TupleExpr` | TupleExprBuilder.`visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTDescribe node, Object data)`
    `TupleExpr` | TupleExprBuilder.`visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTDescribeQuery node, Object data)`
    `TupleExpr` | TupleExprBuilder.`visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTGraphPatternGroup node, Object data)`
    `TupleExpr` | UpdateExprBuilder.`visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTInsertClause node, Object data)`
    `TupleExpr` | TupleExprBuilder.`visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTPathAlternative pathAltNode, Object data)`
    `TupleExpr` | TupleExprBuilder.`visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTPathElt pathElement, Object data)`
    `TupleExpr` | TupleExprBuilder.`visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTPathSequence pathSeqNode, Object data)`
    `TupleExpr` | UpdateExprBuilder.`visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTQuadsNotTriples node, Object data)`
    `TupleExpr` | TupleExprBuilder.`visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTQueryContainer node, Object data)`
    `TupleExpr` | TupleExprBuilder.`visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTSelect node, Object data)`
    `TupleExpr` | TupleExprBuilder.`visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTSelectQuery node, Object data)`
    `TupleExpr` | UpdateExprBuilder.`visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTTripleRef node, Object data)`
    `TupleExpr` | TupleExprBuilder.`visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTTripleRef node, Object data)`

    Methods in org.eclipse.rdf4j.query.parser.sparql that return types with arguments of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `List<Map.Entry<TupleExpr,List<ValueExpr>>>` | GraphPattern.`getOptionalTEs()` Retrieves the optional tuple expressions as a list of tuples with the tuple expression as the key and the list of value expressions as the value.
    `List<TupleExpr>` | GraphPattern.`getRequiredTEs()`

    Methods in org.eclipse.rdf4j.query.parser.sparql with parameters of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `void` | GraphPattern.`addOptionalTE(TupleExpr te, List<ValueExpr> constraints)` add the supplied tuple expression as an optional expression, with a list of constraints that hold as conditions.
    `void` | GraphPattern.`addRequiredTE(TupleExpr te)`
    `TupleExpr` | ConstructorBuilder.`buildConstructor(TupleExpr bodyExpr, boolean distinct, boolean reduced)`
    `TupleExpr` | ConstructorBuilder.`buildConstructor(TupleExpr bodyExpr, TupleExpr constructExpr, boolean distinct, boolean reduced)`

  - ### Uses of TupleExpr in org.eclipse.rdf4j.queryrender

    Methods in org.eclipse.rdf4j.queryrender with parameters of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `abstract String` | BaseTupleExprRenderer.`render(TupleExpr theExpr)` Render the TupleExpr as a query or query fragment depending on what kind of TupleExpr it is

  - ### Uses of TupleExpr in org.eclipse.rdf4j.queryrender.builder

    Methods in org.eclipse.rdf4j.queryrender.builder that return TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `TupleExpr` | BasicGroup.`expr()` Deprecated.
    `TupleExpr` | UnionBuilder.`expr()` Deprecated.
    `TupleExpr` | SupportsExpr.`expr()` Deprecated.

    Methods in org.eclipse.rdf4j.queryrender.builder with parameters of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `void` | BasicGroup.`add(TupleExpr theExpr)` Deprecated.

    Method parameters in org.eclipse.rdf4j.queryrender.builder with type arguments of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `void` | BasicGroup.`addAll(Collection<? extends TupleExpr> theTupleExprs)` Deprecated.

  - ### Uses of TupleExpr in org.eclipse.rdf4j.queryrender.sparql

    Methods in org.eclipse.rdf4j.queryrender.sparql with parameters of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `String` | SparqlTupleExprRenderer.`render(TupleExpr theExpr)`

  - ### Uses of TupleExpr in org.eclipse.rdf4j.repository.sparql.federation

    Fields in org.eclipse.rdf4j.repository.sparql.federation declared as TupleExpr
    Modifier and Type | Field and Description
    --- | ---
    `protected TupleExpr` | JoinExecutorBase.`rightArg`

    Constructors in org.eclipse.rdf4j.repository.sparql.federation with parameters of type TupleExpr
    Constructor and Description
    `JoinExecutorBase(CloseableIteration<T,QueryEvaluationException> leftIter, TupleExpr rightArg, BindingSet bindings)`

  - ### Uses of TupleExpr in org.eclipse.rdf4j.sail

    Methods in org.eclipse.rdf4j.sail that return types with arguments of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `default Optional<TupleExpr>` | SailConnection.`prepareQuery(QueryLanguage ql, Query.QueryType type, String query, String baseURI)` Allows the SailConnection to bypass the standard query parser and provide its own internal `TupleExpr` implementation.

    Methods in org.eclipse.rdf4j.sail with parameters of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `CloseableIteration<? extends BindingSet,QueryEvaluationException>` | SailConnection.`evaluate(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred)` Evaluates the supplied TupleExpr on the data contained in this Sail object, using the (optional) dataset and supplied bindings as input parameters.
    `default Explanation` | SailConnection.`explain(Explanation.Level level, TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred, int timeoutSeconds)` Explain how the TupleExpr will be (or has been) executed/evaluated by returning a TupleExpr (which may or may not be the provided TupleExpr) that has gone through zero or more of the stages prior to and also including execution as specified by the provided level.

  - ### Uses of TupleExpr in org.eclipse.rdf4j.sail.base

    Methods in org.eclipse.rdf4j.sail.base with parameters of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `protected CloseableIteration<? extends BindingSet,QueryEvaluationException>` | SailSourceConnection.`evaluateInternal(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred)`
    `Explanation` | SailSourceConnection.`explain(Explanation.Level level, TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred, int timeoutSeconds)`

  - ### Uses of TupleExpr in org.eclipse.rdf4j.sail.federation.algebra

    Classes in org.eclipse.rdf4j.sail.federation.algebra that implement TupleExpr
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractNaryTupleOperator` An abstract superclass for n-ary tuple operators which have one or more arguments.
    `class` | `NaryJoin` A natural join between two tuple expressions.
    `class` | `OwnedTupleExpr` Indicates that the argument should be evaluated in a particular member.

    Constructors in org.eclipse.rdf4j.sail.federation.algebra with parameters of type TupleExpr
    Constructor and Description
    `AbstractNaryTupleOperator(TupleExpr... args)` Creates a new n-ary tuple operator.
    `NaryJoin(TupleExpr... args)` Creates a new natural join operator.
    `OwnedTupleExpr(RepositoryConnection owner, TupleExpr arg)`

    Constructor parameters in org.eclipse.rdf4j.sail.federation.algebra with type arguments of type TupleExpr
    Constructor and Description
    `AbstractNaryTupleOperator(List<? extends TupleExpr> args)` Creates a new n-ary tuple operator.
    `NaryJoin(List<TupleExpr> args)` Creates a new natural join operator.

  - ### Uses of TupleExpr in org.eclipse.rdf4j.sail.federation.evaluation

    Methods in org.eclipse.rdf4j.sail.federation.evaluation with parameters of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `CloseableIteration<BindingSet,QueryEvaluationException>` | FederationStrategy.`evaluate(TupleExpr expr, BindingSet bindings)`

    Constructors in org.eclipse.rdf4j.sail.federation.evaluation with parameters of type TupleExpr
    Constructor and Description
    `ParallelJoinCursor(EvaluationStrategy strategy, CloseableIteration<BindingSet,QueryEvaluationException> leftIter, TupleExpr rightArg)`

  - ### Uses of TupleExpr in org.eclipse.rdf4j.sail.federation.optimizers

    Methods in org.eclipse.rdf4j.sail.federation.optimizers with type parameters of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `protected <L extends List<TupleExpr>> L` | QueryMultiJoinOptimizer.JoinVisitor.`getJoinArgs(TupleExpr tupleExpr, L joinArgs)`

    Methods in org.eclipse.rdf4j.sail.federation.optimizers that return TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `protected TupleExpr` | QueryMultiJoinOptimizer.JoinVisitor.`selectNextTupleExpr(List<TupleExpr> expressions, Map<TupleExpr,Double> cardinalityMap, Map<TupleExpr,List<Var>> varsMap, Map<Var,Integer> varFreqMap, Set<String> boundVars)` Selects from a list of tuple expressions the next tuple expression that should be evaluated.

    Methods in org.eclipse.rdf4j.sail.federation.optimizers with parameters of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `double` | EvaluationStatistics.`getCardinality(TupleExpr expr)`
    `protected <L extends List<TupleExpr>> L` | QueryMultiJoinOptimizer.JoinVisitor.`getJoinArgs(TupleExpr tupleExpr, L joinArgs)`
    `protected List<Var>` | QueryMultiJoinOptimizer.JoinVisitor.`getStatementPatternVars(TupleExpr tupleExpr)`
    `protected double` | QueryMultiJoinOptimizer.JoinVisitor.`getTupleExprCost(TupleExpr tupleExpr, Map<TupleExpr,Double> cardinalityMap, Map<TupleExpr,List<Var>> varsMap, Map<Var,Integer> varFreqMap, Set<String> boundVars)`
    `void` | QueryMultiJoinOptimizer.JoinVisitor.`meetJoin(TupleExpr node)`
    `void` | QueryModelPruner.`optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)` Applies generally applicable optimizations: path expressions are sorted from more to less specific.
    `void` | PrepareOwnedTupleExpr.`optimize(TupleExpr query, Dataset dataset, BindingSet bindings)`
    `void` | OwnedTupleExprPruner.`optimize(TupleExpr query, Dataset dataset, BindingSet bindings)`
    `void` | FederationJoinOptimizer.`optimize(TupleExpr query, Dataset dataset, BindingSet bindings)` Deprecated.
    `void` | EmptyPatternOptimizer.`optimize(TupleExpr query, Dataset dataset, BindingSet bindings)`
    `void` | QueryMultiJoinOptimizer.`optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)` Applies generally applicable optimizations: path expressions are sorted from more to less specific.

    Method parameters in org.eclipse.rdf4j.sail.federation.optimizers with type arguments of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `protected double` | QueryMultiJoinOptimizer.JoinVisitor.`getTupleExprCost(TupleExpr tupleExpr, Map<TupleExpr,Double> cardinalityMap, Map<TupleExpr,List<Var>> varsMap, Map<Var,Integer> varFreqMap, Set<String> boundVars)`
    `protected double` | QueryMultiJoinOptimizer.JoinVisitor.`getTupleExprCost(TupleExpr tupleExpr, Map<TupleExpr,Double> cardinalityMap, Map<TupleExpr,List<Var>> varsMap, Map<Var,Integer> varFreqMap, Set<String> boundVars)`
    `protected TupleExpr` | QueryMultiJoinOptimizer.JoinVisitor.`selectNextTupleExpr(List<TupleExpr> expressions, Map<TupleExpr,Double> cardinalityMap, Map<TupleExpr,List<Var>> varsMap, Map<Var,Integer> varFreqMap, Set<String> boundVars)` Selects from a list of tuple expressions the next tuple expression that should be evaluated.
    `protected TupleExpr` | QueryMultiJoinOptimizer.JoinVisitor.`selectNextTupleExpr(List<TupleExpr> expressions, Map<TupleExpr,Double> cardinalityMap, Map<TupleExpr,List<Var>> varsMap, Map<Var,Integer> varFreqMap, Set<String> boundVars)` Selects from a list of tuple expressions the next tuple expression that should be evaluated.
    `protected TupleExpr` | QueryMultiJoinOptimizer.JoinVisitor.`selectNextTupleExpr(List<TupleExpr> expressions, Map<TupleExpr,Double> cardinalityMap, Map<TupleExpr,List<Var>> varsMap, Map<Var,Integer> varFreqMap, Set<String> boundVars)` Selects from a list of tuple expressions the next tuple expression that should be evaluated.

  - ### Uses of TupleExpr in org.eclipse.rdf4j.sail.helpers

    Methods in org.eclipse.rdf4j.sail.helpers that return types with arguments of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `Optional<TupleExpr>` | SailConnectionWrapper.`prepareQuery(QueryLanguage ql, Query.QueryType type, String query, String baseURI)`

    Methods in org.eclipse.rdf4j.sail.helpers with parameters of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `CloseableIteration<? extends BindingSet,QueryEvaluationException>` | AbstractSailConnection.`evaluate(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred)`
    `CloseableIteration<? extends BindingSet,QueryEvaluationException>` | SailConnectionWrapper.`evaluate(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred)`
    `protected abstract CloseableIteration<? extends BindingSet,QueryEvaluationException>` | AbstractSailConnection.`evaluateInternal(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred)`
    `Explanation` | SailConnectionWrapper.`explain(Explanation.Level level, TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred, int timeoutSeconds)`

  - ### Uses of TupleExpr in org.eclipse.rdf4j.sail.inferencer

    Methods in org.eclipse.rdf4j.sail.inferencer with parameters of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `CloseableIteration<? extends BindingSet,QueryEvaluationException>` | InferencerConnectionWrapper.`evaluate(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred)` Calls `InferencerConnectionWrapper.flushUpdates()` before forwarding the call to the wrapped connection.

  - ### Uses of TupleExpr in org.eclipse.rdf4j.sail.lucene

    Methods in org.eclipse.rdf4j.sail.lucene with parameters of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `CloseableIteration<? extends BindingSet,QueryEvaluationException>` | LuceneSailConnection.`evaluate(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred)`
    `Set<QuerySpec>` | QuerySpecBuilder.`process(TupleExpr tupleExpr, BindingSet bindings)` Deprecated.
    `void` | QuerySpecBuilder.`process(TupleExpr tupleExpr, BindingSet bindings, Collection<SearchQueryEvaluator> result)` Appends a set of QuerySpecs embodying all necessary information to perform the Lucene query embedded in a TupleExpr.
    `void` | GeoRelationQuerySpecBuilder.`process(TupleExpr tupleExpr, BindingSet bindings, Collection<SearchQueryEvaluator> results)`
    `void` | SearchQueryInterpreter.`process(TupleExpr tupleExpr, BindingSet bindings, Collection<SearchQueryEvaluator> specs)` Processes a TupleExpr into a set of SearchQueryEvaluators.
    `void` | DistanceQuerySpecBuilder.`process(TupleExpr tupleExpr, BindingSet bindings, Collection<SearchQueryEvaluator> results)`

  - ### Uses of TupleExpr in org.eclipse.rdf4j.sail.spin

    Methods in org.eclipse.rdf4j.sail.spin with parameters of type TupleExpr
    Modifier and Type | Method and Description
    --- | ---
    `void` | SpinFunctionInterpreter.`optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)`
    `void` | SpinMagicPropertyInterpreter.`optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)`

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