Uses of Interface
org.eclipse.rdf4j.query.algebra.TupleExpr
Packages that use TupleExpr
Package
Description
Abstract Query Algebra model.
Implementations of
relevant to query evaluation.
invalid reference
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.
Helper and utility classes for the
SailRepository
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.
See discussion at https://github.com/eclipse/rdf4j/issues/1262
-
Uses of TupleExpr in org.eclipse.rdf4j.query.algebra
Classes in org.eclipse.rdf4j.query.algebra that implement TupleExprModifier 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.Fields in org.eclipse.rdf4j.query.algebra declared as TupleExprModifier and TypeFieldDescriptionprotected TupleExpr
UnaryTupleOperator.arg
The operator's argument.private TupleExpr
Modify.deleteExpr
private TupleExpr
Modify.insertExpr
protected TupleExpr
BinaryTupleOperator.leftArg
The operator's left argument.private TupleExpr
ArbitraryLengthPath.pathExpression
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.private TupleExpr
Modify.whereExpr
Methods in org.eclipse.rdf4j.query.algebra that return TupleExprModifier 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()
Methods in org.eclipse.rdf4j.query.algebra with parameters of type TupleExprModifier and TypeMethodDescriptionService.computeServiceVars
(TupleExpr serviceExpression) Compute the variable names occurring in the service expression using tree traversal, since these are necessary for building the SPARQL query.void
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) Constructors in org.eclipse.rdf4j.query.algebra with parameters of type TupleExprModifierConstructorDescriptionArbitraryLengthPath
(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
Methods in org.eclipse.rdf4j.query.algebra.evaluation that return TupleExprModifier and TypeMethodDescriptionEvaluationStrategy.optimize
(TupleExpr expr, EvaluationStatistics evaluationStatistics, BindingSet bindings) Execute theQueryOptimizerPipeline
on the givenTupleExpr
to optimize its execution plan.Methods in org.eclipse.rdf4j.query.algebra.evaluation with parameters of type TupleExprModifier 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
Constructors in org.eclipse.rdf4j.query.algebra.evaluation.federation with parameters of type TupleExprModifierConstructorDescriptionJoinExecutorBase
(CloseableIteration<T, QueryEvaluationException> leftIter, TupleExpr rightArg, BindingSet bindings) Deprecated. -
Uses of TupleExpr in org.eclipse.rdf4j.query.algebra.evaluation.impl
Fields in org.eclipse.rdf4j.query.algebra.evaluation.impl declared as TupleExprModifier 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.Methods in org.eclipse.rdf4j.query.algebra.evaluation.impl with type parameters of type TupleExprModifier and TypeMethodDescriptionQueryJoinOptimizer.JoinVisitor.getJoinArgs
(TupleExpr tupleExpr, L joinArgs) Deprecated.Methods in org.eclipse.rdf4j.query.algebra.evaluation.impl that return TupleExprModifier and TypeMethodDescriptionprivate TupleExpr
DisjunctiveConstraintOptimizer.OrSameTermOptimizer.findNotFilter
(TupleExpr node) Deprecated, for removal: This API element is subject to removal in a future version.private TupleExpr
QueryJoinOptimizer.JoinVisitor.getNextSubselect
(List<TupleExpr> currentList, List<TupleExpr> joinArgs) Deprecated.DefaultEvaluationStrategy.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.Methods in org.eclipse.rdf4j.query.algebra.evaluation.impl that return types with arguments of type TupleExprModifier 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.Methods in org.eclipse.rdf4j.query.algebra.evaluation.impl with parameters of type TupleExprModifier 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.private TupleExpr
DisjunctiveConstraintOptimizer.OrSameTermOptimizer.findNotFilter
(TupleExpr node) 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.private boolean
ConjunctiveConstraintSplitter.ConstraintVisitor.isWithinBindingScope
(ValueExpr condition, TupleExpr node) Deprecated, for removal: This API element is subject to removal in a future version.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.private void
QueryJoinOptimizer.JoinVisitor.optimizePriorityJoin
(Set<String> origBoundVars, TupleExpr join) Deprecated.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.private QueryEvaluationStep
DefaultEvaluationStrategy.trackResultSize
(TupleExpr expr, QueryEvaluationStep qes) private QueryEvaluationStep
DefaultEvaluationStrategy.trackTime
(TupleExpr expr, QueryEvaluationStep qes) Method parameters in org.eclipse.rdf4j.query.algebra.evaluation.impl with type arguments of type TupleExprModifier and TypeMethodDescriptionQueryJoinOptimizer.JoinVisitor.getExtensions
(List<TupleExpr> expressions) Deprecated.private TupleExpr
QueryJoinOptimizer.JoinVisitor.getNextSubselect
(List<TupleExpr> currentList, List<TupleExpr> joinArgs) 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.Constructors in org.eclipse.rdf4j.query.algebra.evaluation.impl with parameters of type TupleExprModifierConstructorDescriptionConstraintVisitor
(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.impl.evaluationsteps
Methods in org.eclipse.rdf4j.query.algebra.evaluation.impl.evaluationsteps with parameters of type TupleExprModifier and TypeMethodDescriptionprivate static boolean
JoinQueryEvaluationStep.isOutOfScopeForLeftArgBindings
(TupleExpr expr) -
Uses of TupleExpr in org.eclipse.rdf4j.query.algebra.evaluation.iterator
Fields in org.eclipse.rdf4j.query.algebra.evaluation.iterator declared as TupleExprConstructors in org.eclipse.rdf4j.query.algebra.evaluation.iterator with parameters of type TupleExprModifierConstructorDescriptionHashJoinIteration
(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
Fields in org.eclipse.rdf4j.query.algebra.evaluation.optimizer declared as TupleExprModifier and TypeFieldDescriptionprotected final TupleExpr
ConjunctiveConstraintSplitterOptimizer.ConstraintVisitor.tupleExpr
private final TupleExpr
QueryJoinOptimizer.JoinVisitor.StatementPatternVarCollector.tupleExpr
Methods in org.eclipse.rdf4j.query.algebra.evaluation.optimizer with type parameters of type TupleExprModifier and TypeMethodDescriptionQueryJoinOptimizer.JoinVisitor.getJoinArgs
(TupleExpr tupleExpr, L joinArgs) Methods in org.eclipse.rdf4j.query.algebra.evaluation.optimizer that return TupleExprModifier and TypeMethodDescriptionprivate TupleExpr
DisjunctiveConstraintOptimizer.OrSameTermOptimizer.findNotFilter
(TupleExpr node) private TupleExpr
QueryJoinOptimizer.JoinVisitor.getNextSubselect
(List<TupleExpr> currentList, List<TupleExpr> joinArgs) protected TupleExpr
QueryJoinOptimizer.JoinVisitor.selectNextTupleExpr
(List<TupleExpr> expressions, Map<TupleExpr, Double> cardinalityMap, Map<TupleExpr, List<Var>> varsMap, Map<Var, Integer> varFreqMap) Selects from a list of tuple expressions the next tuple expression that should be evaluated.Methods in org.eclipse.rdf4j.query.algebra.evaluation.optimizer that return types with arguments of type TupleExprModifier and TypeMethodDescriptionQueryJoinOptimizer.JoinVisitor.getExtensionTupleExprs
(List<TupleExpr> expressions) QueryJoinOptimizer.JoinVisitor.getSubSelects
(List<TupleExpr> expressions) QueryJoinOptimizer.JoinVisitor.reorderSubselects
(List<TupleExpr> subSelects) Determines an optimal ordering of subselect join arguments, based on variable bindings.Methods in org.eclipse.rdf4j.query.algebra.evaluation.optimizer with parameters of type TupleExprModifier and TypeMethodDescriptionprivate TupleExpr
DisjunctiveConstraintOptimizer.OrSameTermOptimizer.findNotFilter
(TupleExpr node) QueryJoinOptimizer.JoinVisitor.getJoinArgs
(TupleExpr tupleExpr, L joinArgs) QueryJoinOptimizer.JoinVisitor.getStatementPatternVars
(TupleExpr tupleExpr) protected double
QueryJoinOptimizer.JoinVisitor.getTupleExprCost
(TupleExpr tupleExpr, Map<TupleExpr, Double> cardinalityMap, Map<TupleExpr, List<Var>> varsMap, Map<Var, Integer> varFreqMap) private static boolean
QueryJoinOptimizer.hasCachedCardinality
(TupleExpr tupleExpr) private boolean
ConjunctiveConstraintSplitterOptimizer.ConstraintVisitor.isWithinBindingScope
(ValueExpr condition, TupleExpr node) void
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) private void
QueryJoinOptimizer.JoinVisitor.optimizePriorityJoin
(Set<String> origBoundVars, TupleExpr join) private void
Method parameters in org.eclipse.rdf4j.query.algebra.evaluation.optimizer with type arguments of type TupleExprModifier and TypeMethodDescriptionQueryJoinOptimizer.JoinVisitor.getExtensions
(List<TupleExpr> expressions) QueryJoinOptimizer.JoinVisitor.getExtensionTupleExprs
(List<TupleExpr> expressions) private TupleExpr
QueryJoinOptimizer.JoinVisitor.getNextSubselect
(List<TupleExpr> currentList, List<TupleExpr> joinArgs) QueryJoinOptimizer.JoinVisitor.getSubSelects
(List<TupleExpr> expressions) protected double
QueryJoinOptimizer.JoinVisitor.getTupleExprCost
(TupleExpr tupleExpr, Map<TupleExpr, Double> cardinalityMap, Map<TupleExpr, List<Var>> varsMap, Map<Var, Integer> varFreqMap) QueryJoinOptimizer.JoinVisitor.reorderSubselects
(List<TupleExpr> subSelects) 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) 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) Selects from a list of tuple expressions the next tuple expression that should be evaluated.Constructors in org.eclipse.rdf4j.query.algebra.evaluation.optimizer with parameters of type TupleExprModifierConstructorDescriptionConstraintVisitor
(TupleExpr tupleExpr) StatementPatternVarCollector
(TupleExpr tupleExpr) -
Uses of TupleExpr in org.eclipse.rdf4j.query.algebra.evaluation.util
Methods in org.eclipse.rdf4j.query.algebra.evaluation.util with parameters of type TupleExprModifier 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
Fields in org.eclipse.rdf4j.query.algebra.helpers with type parameters of type TupleExprMethods in org.eclipse.rdf4j.query.algebra.helpers that return types with arguments of type TupleExprModifier and TypeMethodDescriptionTupleExprs.getChildren
(TupleExpr t) ReturnsTupleExpr
children of the given node.TupleExprs.TupleExprChildrenVisitor.getChildren()
Methods in org.eclipse.rdf4j.query.algebra.helpers with parameters of type TupleExprModifier 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
Fields in org.eclipse.rdf4j.query.parser declared as TupleExprMethods in org.eclipse.rdf4j.query.parser that return TupleExprModifier and TypeMethodDescriptionParsedQuery.getTupleExpr()
Gets the tuple expression underlying this operation.Methods in org.eclipse.rdf4j.query.parser with parameters of type TupleExprModifier and TypeMethodDescriptionvoid
ParsedQuery.setTupleExpr
(TupleExpr tupleExpr) Gets the tuple expression underlying this operation.Constructors in org.eclipse.rdf4j.query.parser with parameters of type TupleExprModifierConstructorDescriptionParsedBooleanQuery
(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
Fields in org.eclipse.rdf4j.query.parser.sparql declared as TupleExprFields in org.eclipse.rdf4j.query.parser.sparql with type parameters of type TupleExprModifier and TypeFieldDescriptionGraphPattern.optionalTEs
The optional tuple expressions in this graph pattern, as a list of Key-Value pairs with the tuple expression as the key and a list of constraints applicable to the tuple expression as the value.GraphPattern.requiredTEs
The required tuple expressions in this graph pattern.Methods in org.eclipse.rdf4j.query.parser.sparql that return TupleExprModifier and TypeMethodDescriptionConstructorBuilder.buildConstructor
(TupleExpr bodyExpr, boolean distinct, boolean reduced) ConstructorBuilder.buildConstructor
(TupleExpr bodyExpr, TupleExpr constructExpr, boolean distinct, boolean reduced) private TupleExpr
ConstructorBuilder.buildConstructor
(TupleExpr bodyExpr, TupleExpr constructExpr, boolean explicitConstructor, boolean distinct, boolean reduced) (package private) TupleExpr
GraphPattern.buildJoinFromRequiredTEs()
Build a single tuple expression representing _only_ the basic graph pattern, by joining the required TEsGraphPattern.buildOptionalTE
(TupleExpr result) Build optionals to the supplied TEprivate TupleExpr
SPARQLParser.buildQueryModel
(Node qc) GraphPattern.buildTupleExpr()
Builds a combined tuple expression from the tuple expressions and constraints in this graph pattern.private TupleExpr
TupleExprBuilder.createTupleExprForNegatedPropertySets
(List<PropertySetElem> nps, TupleExprBuilder.PathSequenceContext pathSequenceContext) private TupleExpr
TupleExprBuilder.handlePathModifiers
(StatementPattern.Scope scope, Var subjVar, TupleExpr te, Var endVar, Var contextVar, long lowerBound, long upperBound) private TupleExpr
TupleExprBuilder.processHavingClause
(ASTHavingClause havingNode, TupleExpr tupleExpr, Group group) private TupleExpr
TupleExprBuilder.processOrderClause
(ASTOrderClause orderNode, TupleExpr tupleExpr, Group group) TupleExprBuilder.visit
(ASTAskQuery node, Object data) TupleExprBuilder.visit
(ASTConstructQuery node, Object data) TupleExprBuilder.visit
(ASTConstruct node, Object data) TupleExprBuilder.visit
(ASTDescribeQuery node, Object data) TupleExprBuilder.visit
(ASTDescribe node, Object data) TupleExprBuilder.visit
(ASTGraphPatternGroup node, Object data) TupleExprBuilder.visit
(ASTPathAlternative pathAltNode, Object data) TupleExprBuilder.visit
(ASTPathElt pathElement, Object data) TupleExprBuilder.visit
(ASTPathSequence pathSeqNode, Object data) TupleExprBuilder.visit
(ASTQueryContainer node, Object data) TupleExprBuilder.visit
(ASTSelectQuery node, Object data) TupleExprBuilder.visit
(ASTTripleRef node, Object data) UpdateExprBuilder.visit
(ASTDeleteClause node, Object data) UpdateExprBuilder.visit
(ASTInsertClause node, Object data) UpdateExprBuilder.visit
(ASTQuadsNotTriples node, Object data) UpdateExprBuilder.visit
(ASTTripleRef node, Object data) Methods in org.eclipse.rdf4j.query.parser.sparql that return types with arguments of type TupleExprModifier 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()
Methods in org.eclipse.rdf4j.query.parser.sparql with parameters of type TupleExprModifier 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) private TupleExpr
ConstructorBuilder.buildConstructor
(TupleExpr bodyExpr, TupleExpr constructExpr, boolean explicitConstructor, boolean distinct, boolean reduced) GraphPattern.buildOptionalTE
(TupleExpr result) Build optionals to the supplied TEprivate TupleExpr
TupleExprBuilder.handlePathModifiers
(StatementPattern.Scope scope, Var subjVar, TupleExpr te, Var endVar, Var contextVar, long lowerBound, long upperBound) private TupleExpr
TupleExprBuilder.processHavingClause
(ASTHavingClause havingNode, TupleExpr tupleExpr, Group group) private TupleExpr
TupleExprBuilder.processOrderClause
(ASTOrderClause orderNode, TupleExpr tupleExpr, Group group) -
Uses of TupleExpr in org.eclipse.rdf4j.queryrender
Methods in org.eclipse.rdf4j.queryrender with parameters of type TupleExpr -
Uses of TupleExpr in org.eclipse.rdf4j.queryrender.sparql
Fields in org.eclipse.rdf4j.queryrender.sparql with type parameters of type TupleExprModifier and TypeFieldDescriptionContextCollector.mContexts
Maps TupleExpr to contexts.SparqlTupleExprRenderer.mContexts
Methods in org.eclipse.rdf4j.queryrender.sparql that return types with arguments of type TupleExprMethods in org.eclipse.rdf4j.queryrender.sparql with parameters of type TupleExprModifier and TypeMethodDescriptionprivate void
ContextCollector.binaryOpMeet
(TupleExpr theCurrentExpr, TupleExpr theLeftExpr, TupleExpr theRightExpr) ContextCollector.collectContexts
(TupleExpr theTupleExpr) private void
private void
Render the TupleExpr as a query or query fragment depending on what kind of TupleExpr it isprivate String
SparqlTupleExprRenderer.renderTupleExpr
(TupleExpr theExpr) Renders the tuple expression as a query string.private String
SparqlValueExprRenderer.renderTupleExpr
(TupleExpr theExpr) Renders the tuple expression as a query string.private void
ContextCollector.sameCtxCheck
(TupleExpr theCurrentExpr, TupleExpr theLeftExpr, Var theLeftCtx, TupleExpr theRightExpr, Var theRightCtx) -
Uses of TupleExpr in org.eclipse.rdf4j.queryrender.sparql.experimental
Fields in org.eclipse.rdf4j.queryrender.sparql.experimental declared as TupleExprMethods in org.eclipse.rdf4j.queryrender.sparql.experimental with parameters of type TupleExprModifier and TypeMethodDescriptionvoid
PreprocessedQuerySerializer.meetWhereClause
(TupleExpr whereClause) Serializes the TupleExpr serving as a WHERE clause of the query.ParsedQueryPreprocessor.transformToSerialize
(TupleExpr tupleExpr) Processes the incoming parsedTupleExpr
collecting the information required for rendering. -
Uses of TupleExpr in org.eclipse.rdf4j.repository.sail.helpers
Methods in org.eclipse.rdf4j.repository.sail.helpers with parameters of type TupleExprModifier and TypeMethodDescriptionprivate void
SailUpdateExecutor.deleteBoundTriples
(BindingSet whereBinding, TupleExpr deleteClause, UpdateContext uc) private CloseableIteration
<? extends BindingSet, QueryEvaluationException> SailUpdateExecutor.evaluateWhereClause
(TupleExpr whereClause, UpdateContext uc, int maxExecutionTime) private void
SailUpdateExecutor.insertBoundTriples
(BindingSet whereBinding, TupleExpr insertClause, UpdateContext uc) -
Uses of TupleExpr in org.eclipse.rdf4j.repository.sparql.federation
Fields in org.eclipse.rdf4j.repository.sparql.federation declared as TupleExprConstructors in org.eclipse.rdf4j.repository.sparql.federation with parameters of type TupleExprModifierConstructorDescriptionprotected
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 TupleExprModifier 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.Methods in org.eclipse.rdf4j.sail with parameters of type TupleExprModifier 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
Methods in org.eclipse.rdf4j.sail.base with parameters of type TupleExprModifier 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) private boolean
SailSourceConnection.runQueryForExplain
(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred, int timeoutSeconds) -
Uses of TupleExpr in org.eclipse.rdf4j.sail.helpers
Fields in org.eclipse.rdf4j.sail.helpers declared as TupleExprModifier and TypeFieldDescriptionprivate final TupleExpr
TupleExprWrapperIteration.tupleExpr
private final TupleExpr
TupleExprWrapperIteration.tupleExprClone
Methods in org.eclipse.rdf4j.sail.helpers that return TupleExprModifier and TypeMethodDescriptionTupleExprWrapperIteration.getTupleExpr()
TupleExprWrapperIteration.getTupleExprClone()
Methods in org.eclipse.rdf4j.sail.helpers that return types with arguments of type TupleExprModifier and TypeMethodDescriptionSailConnectionWrapper.prepareQuery
(QueryLanguage ql, Query.QueryType type, String query, String baseURI) Methods in org.eclipse.rdf4j.sail.helpers with parameters of type TupleExprModifier 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) Constructors in org.eclipse.rdf4j.sail.helpers with parameters of type TupleExprModifierConstructorDescriptionTupleExprWrapperIteration
(CloseableIteration<T, X> delegate, TupleExpr tupleExpr) -
Uses of TupleExpr in org.eclipse.rdf4j.sail.inferencer
Methods in org.eclipse.rdf4j.sail.inferencer with parameters of type TupleExprModifier 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
Methods in org.eclipse.rdf4j.sail.lucene with parameters of type TupleExprModifier and TypeMethodDescriptionCloseableIteration
<? extends BindingSet, QueryEvaluationException> LuceneSailConnection.evaluate
(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred) private CloseableIteration
<? extends BindingSet, QueryEvaluationException> LuceneSailConnection.evaluateInternal
(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. -
Uses of TupleExpr in org.eclipse.rdf4j.sail.shacl.ast
Fields in org.eclipse.rdf4j.sail.shacl.ast with type parameters of type TupleExprMethods in org.eclipse.rdf4j.sail.shacl.ast that return TupleExpr -
Uses of TupleExpr in org.eclipse.rdf4j.sail.shacl.ast.planNodes
Fields in org.eclipse.rdf4j.sail.shacl.ast.planNodes declared as TupleExprModifier and TypeFieldDescriptionprivate TupleExpr
BulkedExternalInnerJoin.parsedQuery
private TupleExpr
BulkedExternalLeftOuterJoin.parsedQuery
private final TupleExpr
ExternalFilterByQuery.query
Methods in org.eclipse.rdf4j.sail.shacl.ast.planNodes that return TupleExprModifier and TypeMethodDescriptionprivate TupleExpr
BindSelect.getParsedQuery
(int targetChainSize) (package private) TupleExpr
AbstractBulkJoinPlanNode.parseQuery
(String query) Methods in org.eclipse.rdf4j.sail.shacl.ast.planNodes with parameters of type TupleExprModifier and TypeMethodDescriptionprivate void
AbstractBulkJoinPlanNode.executeQuery
(ArrayDeque<ValidationTuple> right, SailConnection connection, Dataset dataset, TupleExpr parsedQuery) (package private) void
AbstractBulkJoinPlanNode.runQuery
(ArrayDeque<ValidationTuple> left, ArrayDeque<ValidationTuple> right, SailConnection connection, TupleExpr parsedQuery, Dataset dataset, Resource[] dataGraph, boolean skipBasedOnPreviousConnection, SailConnection previousStateConnection) private void
AbstractBulkJoinPlanNode.updateQuery
(TupleExpr parsedQuery, List<BindingSet> newBindindingSet) private void
BindSelect.updateQuery
(TupleExpr parsedQuery, List<BindingSet> newBindindingset, int expectedSize) -
Uses of TupleExpr in org.eclipse.rdf4j.spin
Fields in org.eclipse.rdf4j.spin declared as TupleExprModifier and TypeFieldDescription(package private) TupleExpr
SpinParser.SpinVisitor.tupleNode
(package private) TupleExpr
SpinParser.SpinVisitor.tupleRoot
Methods in org.eclipse.rdf4j.spin that return TupleExprModifier and TypeMethodDescriptionSpinParser.SpinVisitor.getTupleExpr()
private TupleExpr
SpinParser.makeQueryRootIfNeeded
(TupleExpr tupleExpr) SpinParser.SpinVisitor.visitGroupGraphPattern
(Resource group) private TupleExpr
SpinParser.SpinVisitor.visitHaving
(Resource having) SpinParser.SpinVisitor.visitWhere
(Resource query) Methods in org.eclipse.rdf4j.spin with parameters of type TupleExprModifier and TypeMethodDescriptionprivate TupleExpr
SpinParser.makeQueryRootIfNeeded
(TupleExpr tupleExpr) private SpinRenderer.ExtensionContext
SpinRenderer.SpinVisitor.meetExtension
(TupleExpr expr) private void
SpinParser.SpinVisitor.visitPattern
(Resource r, Set<IRI> types, TupleExpr currentGroupExpr) private void
SpinRenderer.SpinVisitor.visitWhere
(TupleExpr where)
TupleExprs.containsSubquery(TupleExpr)
instead.