Uses of Interface
org.eclipse.rdf4j.query.algebra.TupleExpr
Package
Description
Abstract Query Algebra model.
Implementations of
relevant to query evaluation.
invalid @link
Iteration
The rdf4j SPARQL 1.1 parser.
This package contains classes for working with RDF4J query objects.
This package contains classes for rendering RDF4J query objects as SPARQL queries.
RDF Storage And Inference Layer (RDF Sail): a set of interfaces defining an SPI for RDF databases.
Base functionality for Sail implementations that require multi-versioned concurrency control (MVCC).
Abstract base implementation and internal helper classes for Sail implementations.
A Sail implementation that supports full-text indexing via the Lucene API.
-
Uses of TupleExpr in org.eclipse.rdf4j.federated
Modifier and TypeMethodDescriptionprotected CloseableIteration<? extends BindingSet,
QueryEvaluationException> FedXConnection.evaluateInternal
(TupleExpr query, Dataset dataset, BindingSet bindings, boolean includeInferred) FedXConnection.explain
(Explanation.Level level, TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred, int timeoutSeconds) -
Uses of TupleExpr in org.eclipse.rdf4j.federated.algebra
Modifier and TypeInterfaceDescriptioninterface
Interface representing nodes that can exclusively be evaluated at a singleStatementSource
.interface
A specialization ofExclusiveTupleExpr
which provides definitions how the expressions can be rendered to a sub-query.interface
Interface marking known FedX algebra nodes.interface
Interface for any expression that can be evaluatedModifier and TypeClassDescriptionclass
A statement pattern with no free variables when provided with some particular BindingSet in evaluate.class
Algebra construct representing an empty join.class
Algebra construct representing an empty union.class
EmptyStatementPattern represents a statement that cannot produce any results for the registered endpoints.class
AnArbitraryLengthPath
node which can be evaluated at a single node.class
Represents a group ofExclusiveTupleExpr
that can only produce results at a single endpoint, theStatementSource
.class
Represents a StatementPattern that can only produce results at a single endpoint, the owner.class
SpecializedDescribeOperator
Node for maintainingQueryInfo
.class
class
class
Base class providing all common functionality for FedX StatementPatternsclass
A tuple expression that represents an nary-Join.class
Base class for any nary-tuple expressionclass
A tuple expression that represents an nary-Union.class
MarkerTupleExpr
that is used fromFedXTupleQuery.evaluate(TupleQueryResultHandler)
to allow for passing through of results to the handler.class
Node representing a precompiled query.class
A query which has a single relevant source.class
Represents statements that can produce results at a some particular endpoints, the statement sources.class
A TrueStatementPattern represents a stmt with no free variables which in addition is available at one of the provided sources.Modifier and TypeMethodDescriptionNTuple.getArg
(int i) PassThroughTupleExpr.getExpr()
PrecompiledQueryNode.getQuery()
ExclusiveArbitraryLengthPath.toQueryAlgebra
(Set<String> varNames, BindingSet bindings) ExclusiveTupleExprRenderer.toQueryAlgebra
(Set<String> varNames, BindingSet bindings) Returns a SPARQL algebra representation of this expression that can be inserted into a SELECTTupleExpr
ModifierConstructorDescriptionFederatedDescribeOperator
(TupleExpr arg, QueryInfo queryInfo) PassThroughTupleExpr
(TupleExpr parsedQuery, TupleQueryResultHandler resultHandler) PrecompiledQueryNode
(TupleExpr query) SingleSourceQuery
(TupleExpr parsedQuery, Endpoint source, QueryInfo queryInfo) ModifierConstructorDescriptionEmptyNUnion
(List<TupleExpr> args, QueryInfo queryInfo) Construct an nary-tuple.Construct an nary-tuple.Construct an nary-tuple. -
Uses of TupleExpr in org.eclipse.rdf4j.federated.evaluation
Modifier and TypeMethodDescriptionFederationEvalStrategy.optimize
(TupleExpr expr, EvaluationStatistics evaluationStatistics, BindingSet bindings) Modifier and TypeMethodDescriptionFederationEvalStrategy.evaluate
(TupleExpr expr, BindingSet bindings) 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.SailFederationEvalStrategy.executeJoin
(ControlledWorkerScheduler<BindingSet> joinScheduler, CloseableIteration<BindingSet, QueryEvaluationException> leftIter, TupleExpr rightArg, Set<String> joinVars, BindingSet bindings, QueryInfo queryInfo) SparqlFederationEvalStrategy.executeJoin
(ControlledWorkerScheduler<BindingSet> joinScheduler, CloseableIteration<BindingSet, QueryEvaluationException> leftIter, TupleExpr rightArg, Set<String> joinVars, BindingSet bindings, QueryInfo queryInfo) SailTripleSource.getStatements
(TupleExpr preparedQuery, BindingSet bindings, FilterValueExpr filterExpr, QueryInfo queryInfo) SparqlTripleSource.getStatements
(TupleExpr preparedQuery, BindingSet bindings, FilterValueExpr filterExpr, QueryInfo queryInfo) TripleSource.getStatements
(TupleExpr preparedQuery, BindingSet bindings, FilterValueExpr filterExpr, QueryInfo queryInfo) Evaluate the prepared query in its internal representation on the provided endpoint.FederationEvalStrategy.optimize
(TupleExpr expr, EvaluationStatistics evaluationStatistics, BindingSet bindings) protected void
FederationEvalStrategy.optimizeExclusiveExpressions
(TupleExpr query, QueryInfo queryInfo, GenericInfoOptimizer info) OptimizeExclusiveTupleExpr
, e.g.protected void
FederationEvalStrategy.optimizeJoinOrder
(TupleExpr query, QueryInfo queryInfo, GenericInfoOptimizer info) FederationEvalStrategy.precompile
(TupleExpr expr, QueryEvaluationContext context) -
Uses of TupleExpr in org.eclipse.rdf4j.federated.evaluation.join
Modifier and TypeFieldDescriptionprotected final TupleExpr
ParallelJoinTask.expr
protected final TupleExpr
JoinExecutorBase.rightArg
ModifierConstructorDescriptionControlledWorkerBoundJoin
(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, QueryEvaluationStep rightPrepared, 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
Modifier and TypeFieldDescriptionprotected final TupleExpr
ParallelPreparedAlgebraUnionTask.preparedQuery
ModifierConstructorDescriptionParallelPreparedAlgebraUnionTask
(ParallelExecutor<BindingSet> unionControl, TupleExpr preparedQuery, Endpoint endpoint, BindingSet bindings, FilterValueExpr filterExpr, QueryInfo queryInfo) -
Uses of TupleExpr in org.eclipse.rdf4j.federated.monitoring
Modifier and TypeMethodDescriptionvoid
Monitoring.logQueryPlan
(TupleExpr tupleExpr) void
MonitoringImpl.logQueryPlan
(TupleExpr tupleExpr) void
NoopMonitoringImpl.logQueryPlan
(TupleExpr tupleExpr) static void
QueryPlanLog.setQueryPlan
(TupleExpr query) -
Uses of TupleExpr in org.eclipse.rdf4j.federated.optimizer
Modifier and TypeMethodDescriptionprotected TupleExpr
ServiceOptimizer.optimizeService
(Service service) Modifier and TypeMethodDescriptionStatementGroupAndJoinOptimizer.formGroups
(List<TupleExpr> originalArgs) GroupExclusiveStatement
s having the same source into anExclusiveGroup
.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 variableModifier and TypeMethodDescriptionprotected static void
OptimizerUtil.collectJoinArgs
(TupleExpr node, List<TupleExpr> joinArgs) Collect join arguments by descending the query tree (recursively).int
double
DefaultFedXCostModel.estimateCost
(TupleExpr tupleExpr, Set<String> joinVars) double
FedXCostModel.estimateCost
(TupleExpr tupleExpr, Set<String> joinVars) Return the estimated cost for the givenTupleExpr
protected double
StatementGroupAndJoinOptimizer.estimateCost
(TupleExpr tupleExpr, Set<String> joinVars) boolean
FilterOptimizer.FilterBindingFinder.isFilterOnAssignedBinding
(TupleExpr expr, Set<String> filterArgs) void
void
Optimize the provided tuple expressionvoid
void
void
void
void
void
Modifier and TypeMethodDescriptionprotected static void
OptimizerUtil.collectJoinArgs
(TupleExpr node, List<TupleExpr> joinArgs) Collect join arguments by descending the query tree (recursively).StatementGroupAndJoinOptimizer.formGroups
(List<TupleExpr> originalArgs) GroupExclusiveStatement
s having the same source into anExclusiveGroup
.protected void
UnionOptimizer.handleUnionArgs
(Union union, List<TupleExpr> args) Add the union arguments to the args list, includes a recursion step for nested unions.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
Modifier and TypeMethodDescriptionprotected 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 providedExclusiveGroup
.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 givenArbitraryLengthPath
to a freshTupleExpr
where all provided bindings are bound.Modifier and TypeMethodDescriptionstatic Collection<String>
QueryAlgebraUtil.getFreeVars
(TupleExpr tupleExpr) Computes the collection of free variables in the givenTupleExpr
. -
Uses of TupleExpr in org.eclipse.rdf4j.query.algebra
Modifier and TypeClassDescriptionclass
A tuple expression that matches a path of arbitrary length against an RDF graph.class
An abstract superclass for binary tuple operators which, by definition, has two arguments.class
class
class
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
class
A tuple expression that contains zero solutions.class
An extension operator that can be used to add bindings to solutions whose values are defined byvalue expressions
.class
The FILTER operator, as defined in SPARQL Query Language for RDF.class
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
The INTERSECT set operator, which returns the intersection of the result sets of two tuple expressions.class
A natural join between two tuple expressions.class
The LeftJoin operator, as defined in SPARQL Query Language for RDF.class
A "multi-projection" that can produce multiple solutions from a single set of bindings.class
An order operator that can be used to order bindings as specified by a set of value expressions.class
A generalized projection (allowing the bindings to be renamed) on a tuple expression.class
A semantics-less query model node that is used as the root of query model trees.class
class
The SERVICE keyword as defined in SERVICE definition.class
A tuple expression that contains exactly one solution with zero bindings.class
The SLICE operator, as defined in SPARQL Query Language for RDF.class
A tuple expression that matches a statement pattern against an RDF graph.class
Triple lookup reference.class
A call to a TupleFunction.class
An abstract superclass for unary tuple operators which, by definition, has one argument.class
The UNION set operator, which return the union of the result sets of two tuple expressions.class
A tuple expression that matches a path of length zero against an RDF graph.Modifier and TypeFieldDescriptionprotected 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
Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescriptionTupleExpr.clone()
UnaryTupleOperator.getArg()
Gets the argument of this unary tuple operator.Modify.getDeleteExpr()
Modify.getInsertExpr()
BinaryTupleOperator.getLeftArg()
Gets the left argument of this binary tuple operator.ArbitraryLengthPath.getPathExpression()
BinaryTupleOperator.getRightArg()
Gets the right argument of this binary tuple operator.Service.getServiceExpr()
SubQueryValueOperator.getSubQuery()
Deprecated, for removal: This API element is subject to removal in a future version.Modify.getWhereExpr()
Modifier and TypeMethodDescriptionvoid
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) Deprecated, for removal: This API element is subject to removal in a future version.void
Modify.setWhereExpr
(TupleExpr whereExpr) ModifierConstructorDescriptionArbitraryLengthPath
(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.protected
BinaryTupleOperator
(TupleExpr leftArg, TupleExpr rightArg) Creates a new binary tuple operator.CompareAll
(ValueExpr valueExpr, TupleExpr subQuery, Compare.CompareOp operator) Deprecated, for removal: This API element is subject to removal in a future version.CompareAny
(ValueExpr valueExpr, TupleExpr subQuery, Compare.CompareOp operator) Deprecated, for removal: This API element is subject to removal in a future version.protected
CompareSubQueryValueOperator
(ValueExpr valueExpr, TupleExpr subQuery) Deprecated, for removal: This API element is subject to removal in a future version.Difference
(TupleExpr leftArg, TupleExpr rightArg) Creates a new minus operator that operates on the two specified arguments.Extension
(TupleExpr arg, Iterable<ExtensionElem> elements) Extension
(TupleExpr arg, ExtensionElem... elements) Intersection
(TupleExpr leftArg, TupleExpr rightArg) Creates a new intersection operator that operates on the two specified arguments.Creates a new natural join operator.MultiProjection
(TupleExpr arg) MultiProjection
(TupleExpr arg, Iterable<ProjectionElemList> projections) Projection
(TupleExpr arg) Projection
(TupleExpr arg, ProjectionElemList elements) Projection
(TupleExpr arg, ProjectionElemList elements, boolean subquery) Service
(Var serviceRef, TupleExpr serviceExpr, String serviceExpressionString, Map<String, String> prefixDeclarations, String baseURI, boolean silent) protected
SubQueryValueOperator
(TupleExpr subQuery) Deprecated, for removal: This API element is subject to removal in a future version.protected
Creates a new unary tuple operator.Creates a new union operator that operates on the two specified arguments. -
Uses of TupleExpr in org.eclipse.rdf4j.query.algebra.evaluation
Modifier and TypeMethodDescriptionEvaluationStrategy.optimize
(TupleExpr expr, EvaluationStatistics evaluationStatistics, BindingSet bindings) Execute theQueryOptimizerPipeline
on the givenTupleExpr
to optimize its execution plan.Modifier and TypeMethodDescriptionprotected abstract CloseableIteration<? extends BindingSet,
QueryEvaluationException> AbstractQueryPreparer.evaluate
(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred, int maxExecutionTime) EvaluationStrategy.evaluate
(TupleExpr expr, BindingSet bindings) Evaluates the tuple expression against the supplied triple source with the specified set of variable bindings as input.static QueryEvaluationStep
QueryEvaluationStep.minimal
(EvaluationStrategy strategy, TupleExpr expr) A fall back implementation that wraps a pre-existing evaluate method on a strategyEvaluationStrategy.optimize
(TupleExpr expr, EvaluationStatistics evaluationStatistics, BindingSet bindings) Execute theQueryOptimizerPipeline
on the givenTupleExpr
to optimize its execution plan.void
QueryOptimizer.optimize
(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings) default QueryEvaluationStep
EvaluationStrategy.precompile
(TupleExpr expr) Prepare a QueryEvaluationStep that tries to do as much work once per query avoiding repeated calls to the same code as much as possible.default QueryEvaluationStep
EvaluationStrategy.precompile
(TupleExpr expr, QueryEvaluationContext context) -
Uses of TupleExpr in org.eclipse.rdf4j.query.algebra.evaluation.federation
ModifierConstructorDescriptionJoinExecutorBase
(CloseableIteration<T, QueryEvaluationException> leftIter, TupleExpr rightArg, BindingSet bindings) Deprecated. -
Uses of TupleExpr in org.eclipse.rdf4j.query.algebra.evaluation.impl
Modifier and TypeFieldDescriptionprotected final TupleExpr
ConjunctiveConstraintSplitter.ConstraintVisitor.tupleExpr
Deprecated, for removal: This API element is subject to removal in a future version.protected final TupleExpr
FilterOptimizer.FilterFinder.tupleExpr
Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescriptionQueryJoinOptimizer.JoinVisitor.getJoinArgs
(TupleExpr tupleExpr, L joinArgs) Deprecated.Modifier and TypeMethodDescriptionDefaultEvaluationStrategy.optimize
(TupleExpr expr, EvaluationStatistics evaluationStatistics, BindingSet bindings) Execute theQueryOptimizerPipeline
on the givenTupleExpr
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.Modifier and TypeMethodDescriptionQueryJoinOptimizer.JoinVisitor.getExtensions
(List<TupleExpr> expressions) Deprecated.QueryJoinOptimizer.JoinVisitor.getSubSelects
(List<TupleExpr> expressions) Deprecated.QueryJoinOptimizer.JoinVisitor.reorderSubselects
(List<TupleExpr> subselects) Deprecated.Determines an optimal ordering of subselect join arguments, based on variable bindings.Modifier and TypeMethodDescriptionDefaultEvaluationStrategy.evaluate
(TupleExpr expr, BindingSet bindings) Deprecated, for removal: This API element is subject to removal in a future version.TupleFunctionEvaluationStrategy.evaluate
(TupleExpr expr, BindingSet bindings) Deprecated, for removal: This API element is subject to removal in a future version.double
EvaluationStatistics.getCardinality
(TupleExpr expr) QueryJoinOptimizer.JoinVisitor.getJoinArgs
(TupleExpr tupleExpr, L joinArgs) Deprecated.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.DefaultEvaluationStrategy.optimize
(TupleExpr expr, EvaluationStatistics evaluationStatistics, BindingSet bindings) Execute theQueryOptimizerPipeline
on the givenTupleExpr
to optimize its execution plan.void
QueryJoinOptimizer.optimize
(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings) Deprecated, for removal: This API element is subject to removal in a future version.void
QueryModelNormalizer.optimize
(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings) Deprecated, for removal: This API element is subject to removal in a future version.void
QueryModelPruner.optimize
(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings) Deprecated.Applies generally applicable optimizations: path expressions are sorted from more to less specific.DefaultEvaluationStrategy.precompile
(TupleExpr expr) DefaultEvaluationStrategy.precompile
(TupleExpr expr, QueryEvaluationContext context) TupleFunctionEvaluationStrategy.precompile
(TupleExpr expr, QueryEvaluationContext context) Deprecated, for removal: This API element is subject to removal in a future version.protected void
Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescriptionQueryJoinOptimizer.JoinVisitor.getExtensions
(List<TupleExpr> expressions) Deprecated.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.getTupleExprCost
(TupleExpr tupleExpr, Map<TupleExpr, Double> cardinalityMap, Map<TupleExpr, List<Var>> varsMap, Map<Var, Integer> varFreqMap, Set<String> boundVars) Deprecated.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.ModifierConstructorDescriptionConstraintVisitor
(TupleExpr tupleExpr) Deprecated, for removal: This API element is subject to removal in a future version.FilterFinder
(TupleExpr tupleExpr) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of TupleExpr in org.eclipse.rdf4j.query.algebra.evaluation.iterator
ModifierConstructorDescriptionHashJoinIteration
(EvaluationStrategy strategy, TupleExpr left, TupleExpr right, BindingSet bindings, boolean leftJoin) PathIteration
(EvaluationStrategy strategy, 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.optimizer
Modifier and TypeMethodDescriptionvoid
BindingAssignerOptimizer.optimize
(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings) void
BindingSetAssignmentInlinerOptimizer.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
ConjunctiveConstraintSplitterOptimizer.optimize
(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings) void
ConstantOptimizer.optimize
(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings) Applies generally applicable optimizations to the supplied query: variable assignments are inlined.void
DisjunctiveConstraintOptimizer.optimize
(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings) void
FilterOptimizer.optimize
(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings) void
IterativeEvaluationOptimizer.optimize
(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings) void
OrderLimitOptimizer.optimize
(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings) void
ParentReferenceChecker.optimize
(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings) void
ParentReferenceCleaner.optimize
(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings) void
ProjectionRemovalOptimizer.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
QueryModelNormalizerOptimizer.optimize
(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings) void
RegexAsStringFunctionOptimizer.optimize
(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings) Applies generally applicable optimizations to the supplied query: variable assignments are inlined.void
SameTermFilterOptimizer.optimize
(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings) Applies generally applicable optimizations to the supplied query: variable assignments are inlined.void
UnionScopeChangeOptimizer.optimize
(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings) -
Uses of TupleExpr in org.eclipse.rdf4j.query.algebra.evaluation.util
Modifier and TypeMethodDescriptionvoid
QueryOptimizerList.optimize
(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of TupleExpr in org.eclipse.rdf4j.query.algebra.helpers
Modifier and TypeMethodDescriptionTupleExprs.getChildren
(TupleExpr t) ReturnsTupleExpr
children of the given node.Modifier and TypeMethodDescriptionstatic boolean
TupleExprs.containsExtension
(TupleExpr t) static boolean
TupleExprs.containsProjection
(TupleExpr t) Deprecated.static boolean
TupleExprs.containsSubquery
(TupleExpr t) Verifies if the suppliedTupleExpr
contains aProjection
with the subquery flag set to true (default).TupleExprs.getChildren
(TupleExpr t) ReturnsTupleExpr
children of the given node.static boolean
TupleExprs.isFilterExistsFunction
(TupleExpr expr) Verifies if the supplied expression is a FILTER (NOT) EXISTS operationstatic boolean
TupleExprs.isGraphPatternGroup
(TupleExpr expr) Deprecated.UseTupleExprs.isVariableScopeChange(TupleExpr)
instead.static boolean
TupleExprs.isVariableScopeChange
(TupleExpr expr) Verifies if the suppliedTupleExpr
represents a variable scope change. -
Uses of TupleExpr in org.eclipse.rdf4j.query.parser
Modifier and TypeMethodDescriptionParsedQuery.getTupleExpr()
Gets the tuple expression underlying this operation.Modifier and TypeMethodDescriptionvoid
ParsedQuery.setTupleExpr
(TupleExpr tupleExpr) Gets the tuple expression underlying this operation.ModifierConstructorDescriptionParsedBooleanQuery
(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.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.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.protected
ParsedQuery
(String sourceString, TupleExpr tupleExpr) Creates a new query object.protected
ParsedQuery
(String sourceString, TupleExpr tupleExpr, Dataset dataset) Creates a new query object.protected
ParsedQuery
(TupleExpr tupleExpr) Creates a new query object.protected
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
Modifier and TypeMethodDescriptionConstructorBuilder.buildConstructor
(TupleExpr bodyExpr, boolean distinct, boolean reduced) ConstructorBuilder.buildConstructor
(TupleExpr bodyExpr, TupleExpr constructExpr, boolean distinct, boolean reduced) GraphPattern.buildTupleExpr()
Builds a combined tuple expression from the tuple expressions and constraints in this graph pattern.TupleExprBuilder.visit
(org.eclipse.rdf4j.query.parser.sparql.ast.ASTConstructQuery node, Object data) TupleExprBuilder.visit
(org.eclipse.rdf4j.query.parser.sparql.ast.ASTDescribeQuery node, Object data) TupleExprBuilder.visit
(org.eclipse.rdf4j.query.parser.sparql.ast.ASTGraphPatternGroup node, Object data) TupleExprBuilder.visit
(org.eclipse.rdf4j.query.parser.sparql.ast.ASTPathAlternative pathAltNode, Object data) TupleExprBuilder.visit
(org.eclipse.rdf4j.query.parser.sparql.ast.ASTPathElt pathElement, Object data) TupleExprBuilder.visit
(org.eclipse.rdf4j.query.parser.sparql.ast.ASTPathSequence pathSeqNode, Object data) TupleExprBuilder.visit
(org.eclipse.rdf4j.query.parser.sparql.ast.ASTQueryContainer node, Object data) UpdateExprBuilder.visit
(org.eclipse.rdf4j.query.parser.sparql.ast.ASTDeleteClause node, Object data) UpdateExprBuilder.visit
(org.eclipse.rdf4j.query.parser.sparql.ast.ASTInsertClause node, Object data) UpdateExprBuilder.visit
(org.eclipse.rdf4j.query.parser.sparql.ast.ASTQuadsNotTriples node, Object data) Modifier and TypeMethodDescriptionGraphPattern.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.GraphPattern.getRequiredTEs()
Modifier and TypeMethodDescriptionvoid
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) ConstructorBuilder.buildConstructor
(TupleExpr bodyExpr, boolean distinct, boolean reduced) ConstructorBuilder.buildConstructor
(TupleExpr bodyExpr, TupleExpr constructExpr, boolean distinct, boolean reduced) -
Uses of TupleExpr in org.eclipse.rdf4j.queryrender
-
Uses of TupleExpr in org.eclipse.rdf4j.queryrender.sparql
-
Uses of TupleExpr in org.eclipse.rdf4j.queryrender.sparql.experimental
-
Uses of TupleExpr in org.eclipse.rdf4j.repository.sparql.federation
ModifierConstructorDescriptionprotected
JoinExecutorBase
(CloseableIteration<T, QueryEvaluationException> leftIter, TupleExpr rightArg, BindingSet bindings) -
Uses of TupleExpr in org.eclipse.rdf4j.sail
Modifier and TypeMethodDescriptionSailConnection.prepareQuery
(QueryLanguage ql, Query.QueryType type, String query, String baseURI) Allows the SailConnection to bypass the standard query parser and provide its own internalTupleExpr
implementation.Modifier and TypeMethodDescriptionCloseableIteration<? 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
Modifier and TypeMethodDescriptionprotected CloseableIteration<? extends BindingSet,
QueryEvaluationException> SailSourceConnection.evaluateInternal
(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred) SailSourceConnection.explain
(Explanation.Level level, TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred, int timeoutSeconds) -
Uses of TupleExpr in org.eclipse.rdf4j.sail.helpers
Modifier and TypeMethodDescriptionSailConnectionWrapper.prepareQuery
(QueryLanguage ql, Query.QueryType type, String query, String baseURI) Modifier and TypeMethodDescriptionfinal 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) SailConnectionWrapper.explain
(Explanation.Level level, TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred, int timeoutSeconds) -
Uses of TupleExpr in org.eclipse.rdf4j.sail.inferencer
Modifier and TypeMethodDescriptionCloseableIteration<? extends BindingSet,
QueryEvaluationException> InferencerConnectionWrapper.evaluate
(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred) CallsInferencerConnectionWrapper.flushUpdates()
before forwarding the call to the wrapped connection. -
Uses of TupleExpr in org.eclipse.rdf4j.sail.lucene
Modifier and TypeMethodDescriptionCloseableIteration<? extends BindingSet,
QueryEvaluationException> LuceneSailConnection.evaluate
(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred) void
DistanceQuerySpecBuilder.process
(TupleExpr tupleExpr, BindingSet bindings, Collection<SearchQueryEvaluator> results) void
GeoRelationQuerySpecBuilder.process
(TupleExpr tupleExpr, BindingSet bindings, Collection<SearchQueryEvaluator> results) 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
SearchQueryInterpreter.process
(TupleExpr tupleExpr, BindingSet bindings, Collection<SearchQueryEvaluator> specs) Processes a TupleExpr into a set of SearchQueryEvaluators.
TupleExprs.containsSubquery(TupleExpr)
instead.