Uses of Interface
se.liu.ida.hefquin.engine.queryproc.QueryProcContext
Packages that use QueryProcContext
Package
Description
-
Uses of QueryProcContext in se.liu.ida.hefquin.engine
Methods in se.liu.ida.hefquin.engine with parameters of type QueryProcContextModifier and TypeMethodDescriptionprotected QueryProcessingStatsAndExceptionsHeFQUINEngine._execAndPrint(org.apache.jena.query.Query query, org.apache.jena.sparql.resultset.ResultsFormat outputFormat, PrintStream output, QueryProcContext ctx) HeFQUINEngine.executeQueryAndPrintResult(org.apache.jena.query.Query query, org.apache.jena.sparql.resultset.ResultsFormat outputFormat, PrintStream output, QueryProcContext ctx) Executes the given query and prints the result to the given output, in the given format.HeFQUINEngine.executeSelectQuery(org.apache.jena.query.Query query, QueryProcContext ctx) Assuming the given query is a SELECT query, this function executes that query and returns an output object from which the query result can be obtained as aResultSet. -
Uses of QueryProcContext in se.liu.ida.hefquin.engine.queryproc
Subinterfaces of QueryProcContext in se.liu.ida.hefquin.engine.queryprocMethods in se.liu.ida.hefquin.engine.queryproc that return QueryProcContextMethods in se.liu.ida.hefquin.engine.queryproc with parameters of type QueryProcContextModifier and TypeMethodDescriptionvoidCardinalityEstimator.addCardinalities(QueryProcContext ctx, LogicalPlan... plans) Annotates each of the given plans (including, recursively, each of their subplans) with estimates regarding their result cardinalities.voidCardinalityEstimator.addCardinalities(QueryProcContext ctx, PhysicalPlan... plans) Annotates each of the given plans (including, recursively, each of their subplans) with estimates regarding their result cardinalities.SourcePlanner.createSourceAssignment(Query query, QueryProcContext ctxt) The logical plan returned by this method is a source assignment (see Definition 8 of our FedQPL paper); that is, the only types of operators that it contains are request operators (), multiway joins (invalid reference
LogicalOpRequest), and multiway unions (invalid reference
LogicalOpMultiwayJoin).invalid reference
LogicalOpMultiwayUnionLogicalOptimizer.optimize(LogicalPlan inputPlan, boolean keepNaryOperators, QueryProcContext ctxt) QueryProcessor.processQuery(Query query, QueryResultSink resultSink, QueryProcContext ctx) -
Uses of QueryProcContext in se.liu.ida.hefquin.engine.queryproc.impl
Classes in se.liu.ida.hefquin.engine.queryproc.impl that implement QueryProcContextFields in se.liu.ida.hefquin.engine.queryproc.impl declared as QueryProcContextModifier and TypeFieldDescriptionprotected final QueryProcContextQueryProcessorImpl.MyQueryProcContextExt.wrappedMethods in se.liu.ida.hefquin.engine.queryproc.impl with parameters of type QueryProcContextModifier and TypeMethodDescriptionQueryProcessorImpl.processQuery(Query query, QueryResultSink resultSink, QueryProcContext ctx) Constructors in se.liu.ida.hefquin.engine.queryproc.impl with parameters of type QueryProcContext -
Uses of QueryProcContext in se.liu.ida.hefquin.engine.queryproc.impl.cardinality
Methods in se.liu.ida.hefquin.engine.queryproc.impl.cardinality with parameters of type QueryProcContextModifier and TypeMethodDescriptionvoidRequestBasedCardinalityEstimator.addCardinalities(QueryProcContext ctx, LogicalPlan... plans) voidRequestBasedCardinalityEstimator.addCardinalities(QueryProcContext ctx, PhysicalPlan... plans) protected voidRequestBasedCardinalityEstimator.addCardinalitiesForRequests(List<LogicalOpRequest<?, ?>> reqOps, List<QueryPlanningInfo> infoObjs, QueryProcContext ctx) voidRequestBasedCardinalityEstimator.addCardinalitiesForRequests(QueryProcContext ctx, LogicalPlan... plans) Makes sure that every nullary subplan within each of the given plans is annotated with cardinality estimates (which are determined by issuing cardinality requests).voidRequestBasedCardinalityEstimator.addCardinalitiesForRequests(QueryProcContext ctx, PhysicalPlan... plans) Makes sure that every nullary subplan within each of the given plans is annotated with cardinality estimates (which are determined by issuing cardinality requests). -
Uses of QueryProcContext in se.liu.ida.hefquin.engine.queryproc.impl.loptimizer
Methods in se.liu.ida.hefquin.engine.queryproc.impl.loptimizer with parameters of type QueryProcContextModifier and TypeMethodDescriptionApplyVocabularyMappings.apply(LogicalPlan inputPlan, QueryProcContext ctxt2) HeuristicForLogicalOptimization.apply(LogicalPlan inputPlan, QueryProcContext ctxt) Applies this heuristics to the given plan and returns the resulting, potentially rewritten plan.HeuristicsBasedLogicalOptimizerImpl.optimize(LogicalPlan inputPlan, boolean keepNaryOperators, QueryProcContext ctxt) -
Uses of QueryProcContext in se.liu.ida.hefquin.engine.queryproc.impl.loptimizer.heuristics
Methods in se.liu.ida.hefquin.engine.queryproc.impl.loptimizer.heuristics with parameters of type QueryProcContextModifier and TypeMethodDescriptionCardinalityBasedJoinOrderingBase.apply(LogicalPlan inputPlan, QueryProcContext ctx) FilterPushDown.apply(LogicalPlan inputPlan, QueryProcContext ctxt2) GreedyBasedReordering.apply(LogicalPlan inputPlan, QueryProcContext ctxt2) MergeRequests.apply(LogicalPlan inputPlan, QueryProcContext ctxt2) ProjectPushDown.apply(LogicalPlan inputPlan, QueryProcContext ctxt2) PullUpLtgOverJoin.apply(LogicalPlan inputPlan, QueryProcContext ctxt2) PullUpLtgOverUnion.apply(LogicalPlan inputPlan, QueryProcContext ctxt2) PushJoinUnderUnionWithRequests.apply(LogicalPlan inputPlan, QueryProcContext ctxt2) RemovePairsOfG2lAndL2g.apply(LogicalPlan inputPlan, QueryProcContext ctxt2) RemoveSubPlansWithEmptyResults.apply(LogicalPlan inputPlan, QueryProcContext ctx) RemoveUnnecessaryL2gAndG2l.apply(LogicalPlan inputPlan, QueryProcContext ctxt2) UnionPullUp.apply(LogicalPlan inputPlan, QueryProcContext ctxt2) -
Uses of QueryProcContext in se.liu.ida.hefquin.engine.queryproc.impl.poptimizer
Methods in se.liu.ida.hefquin.engine.queryproc.impl.poptimizer with parameters of type QueryProcContextModifier and TypeMethodDescriptionCardinalityEstimation.initiateCardinalityEstimation(PhysicalPlan plan, QueryProcContext ctx) Asynchronous method that initiates a process to estimate the cardinality of the result that will be produced by the given plan.CostModel.initiateCostEstimation(PhysicalPlan p, QueryProcContext ctx) -
Uses of QueryProcContext in se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.cardinality
Fields in se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.cardinality declared as QueryProcContextModifier and TypeFieldDescriptionprotected final QueryProcContextCardinalityEstimationImpl.WorkerForSubquery.ctxprotected final QueryProcContextMinBasedCardinalityEstimationImpl.WorkerForJoin.ctxprotected final QueryProcContextMinBasedCardinalityEstimationImpl.WorkerForUnion.ctxMethods in se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.cardinality with parameters of type QueryProcContextModifier and TypeMethodDescriptionCardinalityEstimationImpl._initiateCardinalityEstimation(PhysicalPlan plan, QueryProcContext ctx) MinBasedCardinalityEstimationImpl._initiateCardinalityEstimation(PhysicalPlan plan, QueryProcContext ctx) protected CompletableFuture<Integer> VarSpecificCardinalityEstimationImpl._initiateCardinalityEstimation(PhysicalPlan plan, org.apache.jena.sparql.core.Var v, QueryProcContext ctx) protected CompletableFuture<Integer> VarSpecificCardinalityEstimationImpl._initiateJoinCardinalityEstimation(PhysicalPlan plan1, PhysicalPlan plan2, org.apache.jena.sparql.core.Var v, QueryProcContext ctx) protected CompletableFuture<Integer> VarSpecificCardinalityEstimationImpl._initiateMultiwayUnionCardinalityEstimation(PhysicalPlan plan, org.apache.jena.sparql.core.Var v, QueryProcContext ctx) final CompletableFuture<Integer> CardinalityEstimationImpl.initiateCardinalityEstimation(PhysicalPlan plan, QueryProcContext ctx) VarSpecificCardinalityEstimation.initiateCardinalityEstimation(PhysicalPlan plan, org.apache.jena.sparql.core.Var v, QueryProcContext ctx) Asynchronous method that initiates a process to estimate the the variable-specific cardinality of the result that will be produced by the given plan.VarSpecificCardinalityEstimationImpl.initiateCardinalityEstimation(PhysicalPlan plan, org.apache.jena.sparql.core.Var v, QueryProcContext ctx) Constructors in se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.cardinality with parameters of type QueryProcContextModifierConstructorDescriptionWorkerForJoin(CardinalityEstimation cardEstimate, PhysicalPlan plan1, PhysicalPlan plan2, QueryProcContext ctx) WorkerForSubquery(PhysicalPlan plan, QueryProcContext ctx) WorkerForUnion(CardinalityEstimation cardEstimate, PhysicalPlan plan, QueryProcContext ctx) -
Uses of QueryProcContext in se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.costmodel
Methods in se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.costmodel with parameters of type QueryProcContextModifier and TypeMethodDescriptionprotected CompletableFuture<Double> CostModelImpl._initiateCostEstimation(PhysicalPlan plan, QueryProcContext ctx) CFRBasedCostFunctionForPlan.aggregateValueForAllSubPlans(Set<PhysicalPlan> visitedPlan, CompletableFuture<Integer> futureForRoot, PhysicalPlan plan, QueryProcContext ctx) CFRBasedParallelismCostFunctionForPlan.aggregateValueForAllSubPlans(Set<PhysicalPlan> visitedPlans, CompletableFuture<Integer> futureForRoot, PhysicalPlan plan, QueryProcContext ctx) protected CompletableFuture<Integer> CFRBase.initiateCardinalityEstimation(PhysicalPlan plan, QueryProcContext ctx) CFRBasedCostFunctionForPlan.initiateCostEstimation(Set<PhysicalPlan> visitedPlans, PhysicalPlan plan, QueryProcContext ctx) CFRNumberOfProcessedSolMaps.initiateCostEstimation(PhysicalPlan plan, QueryProcContext ctx) CFRNumberOfRequests.initiateCostEstimation(PhysicalPlan plan, QueryProcContext ctx) CFRNumberOfTermsShippedInRequests.initiateCostEstimation(PhysicalPlan plan, QueryProcContext ctx) CFRNumberOfTermsShippedInResponses.initiateCostEstimation(PhysicalPlan plan, QueryProcContext ctx) CFRNumberOfVarsShippedInRequests.initiateCostEstimation(PhysicalPlan plan, QueryProcContext ctx) CFRNumberOfVarsShippedInResponses.initiateCostEstimation(PhysicalPlan plan, QueryProcContext ctx) CostFunctionForPlan.initiateCostEstimation(Set<PhysicalPlan> visitedPlans, PhysicalPlan plan, QueryProcContext ctx) A function for estimating the cost of a plan.CostFunctionForRootOp.initiateCostEstimation(PhysicalPlan plan, QueryProcContext ctx) CostModelImpl.initiateCostEstimation(PhysicalPlan plan, QueryProcContext ctx) -
Uses of QueryProcContext in se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.utils
Methods in se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.utils with parameters of type QueryProcContextModifier and TypeMethodDescriptionstatic List<PhysicalPlanWithCost> PhysicalPlanWithCostUtils.annotatePlansWithCost(CostModel cost, List<PhysicalPlan> plans, QueryProcContext ctx) static PhysicalPlanWithCostPhysicalPlanWithCostUtils.annotatePlanWithCost(CostModel cm, PhysicalPlan plan, QueryProcContext ctx) static Integer[]CardinalityEstimationUtils.getEstimates(CardinalityEstimation cardEstimate, QueryProcContext ctx, List<PhysicalPlan> plans) Initiates the cardinality estimation processes for all the plans in the given list and, afterwards, waits for the resulting estimates and returns them.static Integer[]CardinalityEstimationUtils.getEstimates(CardinalityEstimation cardEstimate, QueryProcContext ctx, PhysicalPlan... plans) Initiates the cardinality estimation processes for all the given plans and, afterwards, waits for the resulting estimates and returns them.static Double[]CostEstimationUtils.getEstimates(CostModel costModel, QueryProcContext ctx, List<PhysicalPlan> plans) Initiates the cost estimation processes for all the plans in the given list and, afterwards, waits for the resulting estimates and returns them.static Double[]CostEstimationUtils.getEstimates(CostModel costModel, QueryProcContext ctx, PhysicalPlan... plans) Initiates the cost estimation processes for all the given plans and, afterwards, waits for the resulting estimates and returns them. -
Uses of QueryProcContext in se.liu.ida.hefquin.engine.queryproc.impl.srcsel
Methods in se.liu.ida.hefquin.engine.queryproc.impl.srcsel with parameters of type QueryProcContextModifier and TypeMethodDescriptionprotected LogicalPlanExhaustiveSourcePlannerImpl.createPlan(org.apache.jena.sparql.algebra.Op jenaOp, boolean mayReduce, QueryProcContext ctx) protected LogicalPlanServiceClauseBasedSourcePlannerImpl.createPlan(org.apache.jena.sparql.algebra.Op jenaOp, boolean mayReduce, QueryProcContext ctx) protected LogicalPlanExhaustiveSourcePlannerImpl.createPlanForBGP(org.apache.jena.sparql.algebra.op.OpBGP bgpOp, boolean mayReduce, QueryProcContext ctx) protected LogicalPlanServiceClauseBasedSourcePlannerImpl.createPlanForBind(org.apache.jena.sparql.algebra.op.OpExtend jenaOp, boolean mayReduce, QueryProcContext ctx) protected LogicalPlanServiceClauseBasedSourcePlannerImpl.createPlanForDistinct(org.apache.jena.sparql.algebra.op.OpDistinct jenaOp, QueryProcContext ctx) protected LogicalPlanServiceClauseBasedSourcePlannerImpl.createPlanForFilter(org.apache.jena.sparql.algebra.op.OpFilter jenaOp, boolean mayReduce, QueryProcContext ctx) protected LogicalPlanServiceClauseBasedSourcePlannerImpl.createPlanForJoin(List<org.apache.jena.sparql.algebra.Op> ops, boolean mayReduce, QueryProcContext ctx) protected LogicalPlanServiceClauseBasedSourcePlannerImpl.createPlanForJoin(org.apache.jena.sparql.algebra.op.OpJoin jenaOp, boolean mayReduce, QueryProcContext ctx) protected LogicalPlanServiceClauseBasedSourcePlannerImpl.createPlanForLeftJoin(org.apache.jena.sparql.algebra.op.OpConditional jenaOp, boolean mayReduce, QueryProcContext ctx) protected LogicalPlanServiceClauseBasedSourcePlannerImpl.createPlanForLeftJoin(org.apache.jena.sparql.algebra.op.OpLeftJoin jenaOp, boolean mayReduce, QueryProcContext ctx) protected LogicalPlanServiceClauseBasedSourcePlannerImpl.createPlanForMinus(org.apache.jena.sparql.algebra.op.OpMinus jenaOp, boolean mayReduce, QueryProcContext ctx) protected LogicalPlanServiceClauseBasedSourcePlannerImpl.createPlanForProject(org.apache.jena.sparql.algebra.op.OpProject jenaOp, boolean mayReduce, QueryProcContext ctx) protected LogicalPlanServiceClauseBasedSourcePlannerImpl.createPlanForSequence(org.apache.jena.sparql.algebra.op.OpSequence jenaOp, boolean mayReduce, QueryProcContext ctx) protected LogicalPlanServiceClauseBasedSourcePlannerImpl.createPlanForServicePattern(org.apache.jena.sparql.algebra.op.OpService jenaOp, boolean mayReduce, QueryProcContext ctx) This function assumes that the given operator comes from a SERVICE clause that did not have a PARAMS part (or an empty one), and it produces a plan with a request operator as root.protected LogicalPlanServiceClauseBasedSourcePlannerImpl.createPlanForServiceWithParams(OpServiceWithParams jenaOp, boolean mayReduce, LogicalPlan subplan, QueryProcContext ctx) This function assumes that the given operator comes from a SERVICE clause that had a nonempty PARAMS part, and it produces a plan with a gpAdd operator as root and the given subplan as input to this root operator.protected LogicalPlanServiceClauseBasedSourcePlannerImpl.createPlanForUnfold(org.apache.jena.sparql.algebra.op.OpUnfold jenaOp, boolean mayReduce, QueryProcContext ctx) protected LogicalPlanServiceClauseBasedSourcePlannerImpl.createPlanForUnion(org.apache.jena.sparql.algebra.op.OpUnion jenaOp, boolean mayReduce, QueryProcContext ctx) protected LogicalPlanServiceClauseBasedSourcePlannerImpl.createPlanForValues(org.apache.jena.sparql.algebra.op.OpTable jenaOp, QueryProcContext ctx) protected Pair<LogicalPlan, SourcePlanningStats> ServiceClauseBasedSourcePlannerImpl.createSourceAssignment(org.apache.jena.sparql.algebra.Op jenaOp, QueryProcContext ctx) protected abstract Pair<LogicalPlan, SourcePlanningStats> SourcePlannerBase.createSourceAssignment(org.apache.jena.sparql.algebra.Op jenaOp, QueryProcContext ctx) final Pair<LogicalPlan, SourcePlanningStats> SourcePlannerBase.createSourceAssignment(Query query, QueryProcContext ctx) protected LogicalPlanExhaustiveSourcePlannerImpl.createSubPlanForTP(org.apache.jena.graph.Triple tp, boolean mayReduce, QueryProcContext ctx) -
Uses of QueryProcContext in se.liu.ida.hefquin.service
Methods in se.liu.ida.hefquin.service that return QueryProcContextModifier and TypeMethodDescriptionprotected QueryProcContextSparqlServlet.createQueryProcContext(SparqlServlet.QueryResponseBuffers queryResBuf, jakarta.servlet.http.HttpServletRequest request)