Uses of Interface
org.eclipse.rdf4j.query.algebra.TupleExpr
-
-
Uses of TupleExpr in org.eclipse.rdf4j.federated
Methods in org.eclipse.rdf4j.federated with parameters of type TupleExpr Modifier and Type Method Description protected CloseableIteration<? extends BindingSet,QueryEvaluationException>FedXConnection. evaluateInternal(TupleExpr query, Dataset dataset, BindingSet bindings, boolean includeInferred)ExplanationFedXConnection. 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 Description interfaceExclusiveTupleExprInterface representing nodes that can exclusively be evaluated at a singleStatementSource.interfaceExclusiveTupleExprRendererA specialization ofExclusiveTupleExprwhich provides definitions how the expressions can be rendered to a sub-query.interfaceFedXTupleExprInterface marking known FedX algebra nodes.interfaceStatementTupleExprInterface for any expression that can be evaluatedClasses in org.eclipse.rdf4j.federated.algebra that implement TupleExpr Modifier and Type Class Description classCheckStatementPatternA statement pattern with no free variables when provided with some particular BindingSet in evaluate.classEmptyNJoinAlgebra construct representing an empty join.classEmptyNUnionAlgebra construct representing an empty union.classEmptyStatementPatternEmptyStatementPattern represents a statement that cannot produce any results for the registered endpoints.classExclusiveArbitraryLengthPathAnArbitraryLengthPathnode which can be evaluated at a single node.classExclusiveGroupRepresents a group ofExclusiveTupleExprthat can only produce results at a single endpoint, theStatementSource.classExclusiveStatementRepresents a StatementPattern that can only produce results at a single endpoint, the owner.classFederatedDescribeOperatorSpecializedDescribeOperatorNode for maintainingQueryInfo.classFedXLeftJoinclassFedXServiceclassFedXStatementPatternBase class providing all common functionality for FedX StatementPatternsclassNJoinA tuple expression that represents an nary-Join.classNTupleBase class for any nary-tuple expressionclassNUnionA tuple expression that represents an nary-Union.classPassThroughTupleExprMarkerTupleExprthat is used fromFedXTupleQuery.evaluate(TupleQueryResultHandler)to allow for passing through of results to the handler.classPrecompiledQueryNodeNode representing a precompiled query.classSingleSourceQueryA query which has a single relevant source.classStatementSourcePatternRepresents statements that can produce results at a some particular endpoints, the statement sources.classTrueStatementPatternA 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 Description protected List<TupleExpr>NTuple. argsMethods in org.eclipse.rdf4j.federated.algebra that return TupleExpr Modifier and Type Method Description TupleExprNTuple. getArg(int i)TupleExprPassThroughTupleExpr. getExpr()TupleExprPrecompiledQueryNode. getQuery()TupleExprExclusiveArbitraryLengthPath. toQueryAlgebra(Set<String> varNames, BindingSet bindings)TupleExprExclusiveTupleExprRenderer. toQueryAlgebra(Set<String> varNames, BindingSet bindings)Returns a SPARQL algebra representation of this expression that can be inserted into a SELECTTupleExprMethods in org.eclipse.rdf4j.federated.algebra that return types with arguments of type TupleExpr Modifier and Type Method Description List<TupleExpr>NTuple. getArgs()Constructors in org.eclipse.rdf4j.federated.algebra with parameters of type TupleExpr Constructor Description FederatedDescribeOperator(TupleExpr arg, QueryInfo queryInfo)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 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 Description TupleExprFederationEvalStrategy. optimize(TupleExpr expr, EvaluationStatistics evaluationStatistics, BindingSet bindings) -
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 Description protected TupleExprParallelJoinTask. exprprotected TupleExprJoinExecutorBase. rightArg -
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 Description protected TupleExprParallelPreparedAlgebraUnionTask. preparedQueryConstructors in org.eclipse.rdf4j.federated.evaluation.union with parameters of type TupleExpr Constructor Description ParallelPreparedAlgebraUnionTask(ParallelExecutor<BindingSet> unionControl, TupleExpr preparedQuery, Endpoint endpoint, BindingSet bindings, FilterValueExpr filterExpr, QueryInfo queryInfo) -
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 Description voidMonitoring. logQueryPlan(TupleExpr tupleExpr)voidMonitoringImpl. logQueryPlan(TupleExpr tupleExpr)voidNoopMonitoringImpl. logQueryPlan(TupleExpr tupleExpr)static voidQueryPlanLog. 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 Description protected TupleExprServiceOptimizer. optimizeService(Service service)Methods in org.eclipse.rdf4j.federated.optimizer that return types with arguments of type TupleExpr Modifier and Type Method Description protected List<TupleExpr>StatementGroupAndJoinOptimizer. formGroups(List<TupleExpr> originalArgs)GroupExclusiveStatements having the same source into anExclusiveGroup.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 variableMethods in org.eclipse.rdf4j.federated.optimizer with parameters of type TupleExpr Modifier and Type Method Description protected static voidOptimizerUtil. collectJoinArgs(TupleExpr node, List<TupleExpr> joinArgs)Collect join arguments by descending the query tree (recursively).intNaryJoinArgumentsComparator. compare(TupleExpr a, TupleExpr b)doubleDefaultFedXCostModel. estimateCost(TupleExpr tupleExpr, Set<String> joinVars)doubleFedXCostModel. estimateCost(TupleExpr tupleExpr, Set<String> joinVars)Return the estimated cost for the givenTupleExprprotected doubleStatementGroupAndJoinOptimizer. estimateCost(TupleExpr tupleExpr, Set<String> joinVars)booleanFilterOptimizer.FilterBindingFinder. isFilterOnAssignedBinding(TupleExpr expr, Set<String> filterArgs)voidExclusiveTupleExprOptimizer. optimize(TupleExpr tupleExpr)voidFedXOptimizer. optimize(TupleExpr tupleExpr)Optimize the provided tuple expressionvoidFilterOptimizer. optimize(TupleExpr tupleExpr)voidGenericInfoOptimizer. optimize(TupleExpr tupleExpr)voidLimitOptimizer. optimize(TupleExpr tupleExpr)voidServiceOptimizer. optimize(TupleExpr tupleExpr)voidStatementGroupAndJoinOptimizer. optimize(TupleExpr tupleExpr)voidUnionOptimizer. optimize(TupleExpr tupleExpr)Method parameters in org.eclipse.rdf4j.federated.optimizer with type arguments of type TupleExpr Modifier and Type Method Description protected static voidOptimizerUtil. collectJoinArgs(TupleExpr node, List<TupleExpr> joinArgs)Collect join arguments by descending the query tree (recursively).protected List<TupleExpr>StatementGroupAndJoinOptimizer. formGroups(List<TupleExpr> originalArgs)GroupExclusiveStatements having the same source into anExclusiveGroup.protected voidUnionOptimizer. 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 Description protected static TupleExprQueryAlgebraUtil. constructStatementCheckId(StatementPattern stmt, int varID, Set<String> varNames, BindingSet bindings)Construct the statement string, i.e.static TupleExprQueryAlgebraUtil. selectQuery(ExclusiveGroup group, BindingSet bindings, FilterValueExpr filterExpr, AtomicBoolean evaluated)Construct a SELECT query for the providedExclusiveGroup.static TupleExprQueryAlgebraUtil. selectQuery(StatementPattern stmt, BindingSet bindings, FilterValueExpr filterExpr, AtomicBoolean evaluated)Construct a SELECT query for the provided statement.static TupleExprQueryAlgebraUtil. selectQueryBoundUnion(StatementPattern stmt, List<BindingSet> unionBindings, FilterValueExpr filterExpr, Boolean evaluated)Construct a SELECT query expression for a bound union.static TupleExprQueryAlgebraUtil. selectQueryStringBoundCheck(StatementPattern stmt, List<BindingSet> unionBindings)Construct a SELECT query for a grouped bound check.static TupleExprQueryAlgebraUtil. toTupleExpr(ArbitraryLengthPath node, Set<String> varNames, BindingSet bindings)Convert the givenArbitraryLengthPathto a freshTupleExprwhere all provided bindings are bound.Methods in org.eclipse.rdf4j.federated.util with parameters of type TupleExpr Modifier and Type Method Description static Collection<String>QueryAlgebraUtil. getFreeVars(TupleExpr tupleExpr)Computes the collection of free variables in the givenTupleExpr. -
Uses of TupleExpr in org.eclipse.rdf4j.query.algebra
Classes in org.eclipse.rdf4j.query.algebra that implement TupleExpr Modifier and Type Class Description classArbitraryLengthPathA tuple expression that matches a path of arbitrary length against an RDF graph.classBinaryTupleOperatorAn abstract superclass for binary tuple operators which, by definition, has two arguments.classBindingSetAssignmentclassDescribeOperatorclassDifferenceThe 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.classDistinctclassEmptySetA tuple expression that contains zero solutions.classExtensionAn extension operator that can be used to add bindings to solutions whose values are defined byvalue expressions.classFilterThe FILTER operator, as defined in SPARQL Query Language for RDF.classGroupA tuple operator that groups tuples that have a specific set of equivalent variable bindings, and that can apply aggregate functions on the grouped results.classIntersectionThe INTERSECT set operator, which returns the intersection of the result sets of two tuple expressions.classJoinA natural join between two tuple expressions.classLeftJoinThe LeftJoin operator, as defined in SPARQL Query Language for RDF.classMultiProjectionA "multi-projection" that can produce multiple solutions from a single set of bindings.classOrderAn order operator that can be used to order bindings as specified by a set of value expressions.classProjectionA generalized projection (allowing the bindings to be renamed) on a tuple expression.classQueryRootA semantics-less query model node that is used as the root of query model trees.classReducedclassServiceThe SERVICE keyword as defined in SERVICE definition.classSingletonSetA tuple expression that contains exactly one solution with zero bindings.classSliceThe SLICE operator, as defined in SPARQL Query Language for RDF.classStatementPatternA tuple expression that matches a statement pattern against an RDF graph.classTripleRefTriple lookup reference.classTupleFunctionCallA call to a TupleFunction.classUnaryTupleOperatorAn abstract superclass for unary tuple operators which, by definition, has one argument.classUnionThe UNION set operator, which return the union of the result sets of two tuple expressions.classZeroLengthPathA 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 Description protected TupleExprUnaryTupleOperator. argThe operator's argument.protected TupleExprBinaryTupleOperator. leftArgThe operator's left argument.protected TupleExprBinaryTupleOperator. rightArgThe operator's right argument.protected TupleExprSubQueryValueOperator. subQueryDeprecated, for removal: This API element is subject to removal in a future version.Methods in org.eclipse.rdf4j.query.algebra that return TupleExpr Modifier and Type Method Description TupleExprTupleExpr. clone()TupleExprUnaryTupleOperator. getArg()Gets the argument of this unary tuple operator.TupleExprModify. getDeleteExpr()TupleExprModify. getInsertExpr()TupleExprBinaryTupleOperator. getLeftArg()Gets the left argument of this binary tuple operator.TupleExprArbitraryLengthPath. getPathExpression()TupleExprBinaryTupleOperator. getRightArg()Gets the right argument of this binary tuple operator.TupleExprService. getServiceExpr()TupleExprSubQueryValueOperator. getSubQuery()Deprecated, for removal: This API element is subject to removal in a future version.TupleExprModify. getWhereExpr()Methods in org.eclipse.rdf4j.query.algebra with parameters of type TupleExpr Modifier and Type Method Description voidUnaryTupleOperator. setArg(TupleExpr arg)Sets the argument of this unary tuple operator.voidModify. setDeleteExpr(TupleExpr deleteExpr)voidModify. setInsertExpr(TupleExpr insertExpr)voidBinaryTupleOperator. setLeftArg(TupleExpr leftArg)Sets the left argument of this binary tuple operator.voidArbitraryLengthPath. setPathExpression(TupleExpr pathExpression)voidBinaryTupleOperator. setRightArg(TupleExpr rightArg)Sets the right argument of this binary tuple operator.voidSubQueryValueOperator. setSubQuery(TupleExpr subQuery)Deprecated, for removal: This API element is subject to removal in a future version.voidModify. setWhereExpr(TupleExpr whereExpr)Constructors in org.eclipse.rdf4j.query.algebra with parameters of type TupleExpr Constructor 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)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.CompareSubQueryValueOperator(ValueExpr valueExpr, TupleExpr subQuery)Deprecated, for removal: This API element is subject to removal in a future version.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, Iterable<ExtensionElem> elements)Extension(TupleExpr arg, 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)Deprecated, for removal: This API element is subject to removal in a future version.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 Description TupleExprEvaluationStrategy. optimize(TupleExpr expr, EvaluationStatistics evaluationStatistics, BindingSet bindings)Execute theQueryOptimizerPipelineon the givenTupleExprto optimize its execution plan.Methods in org.eclipse.rdf4j.query.algebra.evaluation with parameters of type TupleExpr Modifier and Type Method Description protected abstract CloseableIteration<? extends BindingSet,QueryEvaluationException>AbstractQueryPreparer. evaluate(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred, int maxExecutionTime)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.static QueryEvaluationStepQueryEvaluationStep. minimal(EvaluationStrategy strategy, TupleExpr expr)A fall back implementation that wraps a pre-existing evaluate method on a strategyTupleExprEvaluationStrategy. optimize(TupleExpr expr, EvaluationStatistics evaluationStatistics, BindingSet bindings)Execute theQueryOptimizerPipelineon the givenTupleExprto optimize its execution plan.voidQueryOptimizer. optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)default QueryEvaluationStepEvaluationStrategy. 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 QueryEvaluationStepEvaluationStrategy. 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 TupleExpr Constructor Description JoinExecutorBase(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 TupleExpr Modifier and Type Field Description protected TupleExprConjunctiveConstraintSplitter.ConstraintVisitor. tupleExprDeprecated, for removal: This API element is subject to removal in a future version.protected TupleExprFilterOptimizer.FilterFinder. tupleExprDeprecated, 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 TupleExpr Modifier and Type Method Description protected <L extends List<TupleExpr>>
LQueryJoinOptimizer.JoinVisitor. getJoinArgs(TupleExpr tupleExpr, L joinArgs)Deprecated.Methods in org.eclipse.rdf4j.query.algebra.evaluation.impl that return TupleExpr Modifier and Type Method Description TupleExprDefaultEvaluationStrategy. optimize(TupleExpr expr, EvaluationStatistics evaluationStatistics, BindingSet bindings)Execute theQueryOptimizerPipelineon the givenTupleExprto optimize its execution plan.protected TupleExprQueryJoinOptimizer.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 Description protected List<TupleExpr>QueryJoinOptimizer.JoinVisitor. getExtensions(List<TupleExpr> expressions)Deprecated.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 Description CloseableIteration<BindingSet,QueryEvaluationException>DefaultEvaluationStrategy. evaluate(TupleExpr expr, BindingSet bindings)Deprecated, for removal: This API element is subject to removal in a future version.CloseableIteration<BindingSet,QueryEvaluationException>TupleFunctionEvaluationStrategy. evaluate(TupleExpr expr, BindingSet bindings)Deprecated, for removal: This API element is subject to removal in a future version.doubleEvaluationStatistics. getCardinality(TupleExpr expr)protected <L extends List<TupleExpr>>
LQueryJoinOptimizer.JoinVisitor. getJoinArgs(TupleExpr tupleExpr, L joinArgs)Deprecated.protected List<Var>QueryJoinOptimizer.JoinVisitor. getStatementPatternVars(TupleExpr tupleExpr)Deprecated.protected doubleQueryJoinOptimizer.JoinVisitor. getTupleExprCardinality(TupleExpr tupleExpr, Map<TupleExpr,Double> cardinalityMap, Map<TupleExpr,List<Var>> varsMap, Map<Var,Integer> varFreqMap, Set<String> boundVars)Deprecated.protected doubleQueryJoinOptimizer.JoinVisitor. getTupleExprCost(TupleExpr tupleExpr, Map<TupleExpr,Double> cardinalityMap, Map<TupleExpr,List<Var>> varsMap, Map<Var,Integer> varFreqMap, Set<String> boundVars)Deprecated.TupleExprDefaultEvaluationStrategy. optimize(TupleExpr expr, EvaluationStatistics evaluationStatistics, BindingSet bindings)Execute theQueryOptimizerPipelineon the givenTupleExprto optimize its execution plan.voidQueryJoinOptimizer. optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)Deprecated, for removal: This API element is subject to removal in a future version.voidQueryModelNormalizer. optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)Deprecated, for removal: This API element is subject to removal in a future version.voidQueryModelPruner. optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)Deprecated.Applies generally applicable optimizations: path expressions are sorted from more to less specific.QueryEvaluationStepDefaultEvaluationStrategy. precompile(TupleExpr expr)QueryEvaluationStepDefaultEvaluationStrategy. precompile(TupleExpr expr, QueryEvaluationContext context)QueryEvaluationStepTupleFunctionEvaluationStrategy. precompile(TupleExpr expr, QueryEvaluationContext context)Deprecated, for removal: This API element is subject to removal in a future version.protected voidFilterOptimizer.FilterRelocator. relocate(Filter filter, TupleExpr newFilterArg)Deprecated, for removal: This API element is subject to removal in a future version.Method parameters in org.eclipse.rdf4j.query.algebra.evaluation.impl with type arguments of type TupleExpr Modifier and Type Method Description protected List<TupleExpr>QueryJoinOptimizer.JoinVisitor. getExtensions(List<TupleExpr> expressions)Deprecated.protected List<TupleExpr>QueryJoinOptimizer.JoinVisitor. getSubSelects(List<TupleExpr> expressions)Deprecated.protected doubleQueryJoinOptimizer.JoinVisitor. getTupleExprCardinality(TupleExpr tupleExpr, Map<TupleExpr,Double> cardinalityMap, Map<TupleExpr,List<Var>> varsMap, Map<Var,Integer> varFreqMap, Set<String> boundVars)Deprecated.protected doubleQueryJoinOptimizer.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 TupleExprQueryJoinOptimizer.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 TupleExprQueryJoinOptimizer.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 Description ConstraintVisitor(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
Constructors in org.eclipse.rdf4j.query.algebra.evaluation.iterator with parameters of type TupleExpr Constructor Description HashJoinIteration(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
Methods in org.eclipse.rdf4j.query.algebra.evaluation.optimizer with parameters of type TupleExpr Modifier and Type Method Description voidBindingAssignerOptimizer. optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)voidBindingSetAssignmentInlinerOptimizer. optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)voidCompareOptimizer. optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)Applies generally applicable optimizations to the supplied query: variable assignments are inlined.voidConjunctiveConstraintSplitterOptimizer. optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)voidConstantOptimizer. optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)Applies generally applicable optimizations to the supplied query: variable assignments are inlined.voidDisjunctiveConstraintOptimizer. optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)voidFilterOptimizer. optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)voidIterativeEvaluationOptimizer. optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)voidOrderLimitOptimizer. optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)voidParentReferenceChecker. optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)voidParentReferenceCleaner. optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)voidProjectionRemovalOptimizer. optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)voidQueryJoinOptimizer. optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)Applies generally applicable optimizations: path expressions are sorted from more to less specific.voidQueryModelNormalizerOptimizer. optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)voidRegexAsStringFunctionOptimizer. optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)Applies generally applicable optimizations to the supplied query: variable assignments are inlined.voidSameTermFilterOptimizer. optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)Applies generally applicable optimizations to the supplied query: variable assignments are inlined.voidUnionScopeChangeOptimizer. optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings) -
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 Description voidQueryOptimizerList. 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
Methods in org.eclipse.rdf4j.query.algebra.helpers that return types with arguments of type TupleExpr Modifier and Type Method Description static List<TupleExpr>TupleExprs. getChildren(TupleExpr t)ReturnsTupleExprchildren of the given node.Methods in org.eclipse.rdf4j.query.algebra.helpers with parameters of type TupleExpr Modifier and Type Method Description static booleanTupleExprs. containsExtension(TupleExpr t)static booleanTupleExprs. containsProjection(TupleExpr t)Deprecated.UseTupleExprs.containsSubquery(TupleExpr)instead.static booleanTupleExprs. containsSubquery(TupleExpr t)Verifies if the suppliedTupleExprcontains aProjectionwith the subquery flag set to true (default).static List<TupleExpr>TupleExprs. getChildren(TupleExpr t)ReturnsTupleExprchildren of the given node.static booleanTupleExprs. isFilterExistsFunction(TupleExpr expr)Verifies if the supplied expression is a FILTER (NOT) EXISTS operationstatic booleanTupleExprs. isGraphPatternGroup(TupleExpr expr)Deprecated.UseTupleExprs.isVariableScopeChange(TupleExpr)instead.static booleanTupleExprs. isVariableScopeChange(TupleExpr expr)Verifies if the suppliedTupleExprrepresents 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 Description TupleExprParsedQuery. getTupleExpr()Gets the tuple expression underlying this operation.Methods in org.eclipse.rdf4j.query.parser with parameters of type TupleExpr Modifier and Type Method Description voidParsedQuery. setTupleExpr(TupleExpr tupleExpr)Gets the tuple expression underlying this operation.Constructors in org.eclipse.rdf4j.query.parser with parameters of type TupleExpr Constructor 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 Description TupleExprConstructorBuilder. buildConstructor(TupleExpr bodyExpr, boolean distinct, boolean reduced)TupleExprConstructorBuilder. buildConstructor(TupleExpr bodyExpr, TupleExpr constructExpr, boolean distinct, boolean reduced)TupleExprGraphPattern. buildTupleExpr()Builds a combined tuple expression from the tuple expressions and constraints in this graph pattern.TupleExprTupleExprBuilder. visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTAskQuery node, Object data)TupleExprTupleExprBuilder. visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTConstructQuery node, Object data)TupleExprTupleExprBuilder. visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTConstruct node, Object data)TupleExprTupleExprBuilder. visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTDescribeQuery node, Object data)TupleExprTupleExprBuilder. visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTDescribe node, Object data)TupleExprTupleExprBuilder. visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTGraphPatternGroup node, Object data)TupleExprTupleExprBuilder. visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTPathAlternative pathAltNode, Object data)TupleExprTupleExprBuilder. visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTPathElt pathElement, Object data)TupleExprTupleExprBuilder. visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTPathSequence pathSeqNode, Object data)TupleExprTupleExprBuilder. visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTQueryContainer node, Object data)TupleExprTupleExprBuilder. visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTSelectQuery node, Object data)TupleExprTupleExprBuilder. visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTSelect node, Object data)TupleExprTupleExprBuilder. visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTTripleRef node, Object data)TupleExprUpdateExprBuilder. visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTDeleteClause node, Object data)TupleExprUpdateExprBuilder. visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTInsertClause node, Object data)TupleExprUpdateExprBuilder. visit(org.eclipse.rdf4j.query.parser.sparql.ast.ASTQuadsNotTriples node, Object data)TupleExprUpdateExprBuilder. 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 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 Description voidGraphPattern. addOptionalTE(TupleExpr te, List<ValueExpr> constraints)add the supplied tuple expression as an optional expression, with a list of constraints that hold as conditions.voidGraphPattern. addRequiredTE(TupleExpr te)TupleExprConstructorBuilder. buildConstructor(TupleExpr bodyExpr, boolean distinct, boolean reduced)TupleExprConstructorBuilder. 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 Description abstract StringBaseTupleExprRenderer. 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.sparql
Methods in org.eclipse.rdf4j.queryrender.sparql with parameters of type TupleExpr Modifier and Type Method Description StringSparqlTupleExprRenderer. 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.sparql.experimental
Methods in org.eclipse.rdf4j.queryrender.sparql.experimental with parameters of type TupleExpr Modifier and Type Method Description StringSparqlQueryRenderer. 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 Description protected TupleExprJoinExecutorBase. rightArgConstructors in org.eclipse.rdf4j.repository.sparql.federation with parameters of type TupleExpr Constructor 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 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 internalTupleExprimplementation.Methods in org.eclipse.rdf4j.sail with parameters of type TupleExpr Modifier and Type Method 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 ExplanationSailConnection. 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 Description protected CloseableIteration<? extends BindingSet,QueryEvaluationException>SailSourceConnection. evaluateInternal(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred)ExplanationSailSourceConnection. explain(Explanation.Level level, TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred, int timeoutSeconds) -
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 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 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)ExplanationSailConnectionWrapper. 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 Description CloseableIteration<? 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 TupleExpr Modifier and Type Method Description CloseableIteration<? extends BindingSet,QueryEvaluationException>LuceneSailConnection. evaluate(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings, boolean includeInferred)voidDistanceQuerySpecBuilder. process(TupleExpr tupleExpr, BindingSet bindings, Collection<SearchQueryEvaluator> results)voidGeoRelationQuerySpecBuilder. process(TupleExpr tupleExpr, BindingSet bindings, Collection<SearchQueryEvaluator> results)Set<QuerySpec>QuerySpecBuilder. process(TupleExpr tupleExpr, BindingSet bindings)Deprecated.voidQuerySpecBuilder. 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.voidSearchQueryInterpreter. process(TupleExpr tupleExpr, BindingSet bindings, Collection<SearchQueryEvaluator> specs)Processes a TupleExpr into a set of SearchQueryEvaluators.
-