Class VarSpecificCardinalityEstimationImpl
java.lang.Object
se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.cardinality.VarSpecificCardinalityEstimationImpl
- All Implemented Interfaces:
VarSpecificCardinalityEstimation
public class VarSpecificCardinalityEstimationImpl
extends Object
implements VarSpecificCardinalityEstimation
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final VarSpecificCardinalityEstimationImpl.MyCacheprotected final CardinalityEstimation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CompletableFuture<Integer>_initiateCardinalityEstimation(PhysicalPlan plan, org.apache.jena.sparql.core.Var v) protected CompletableFuture<Integer>_initiateJoinCardinalityEstimation(PhysicalPlan plan1, PhysicalPlan plan2, org.apache.jena.sparql.core.Var v) protected CompletableFuture<Integer>_initiateMultiwayUnionCardinalityEstimation(PhysicalPlan plan, org.apache.jena.sparql.core.Var v) initiateCardinalityEstimation(PhysicalPlan plan, org.apache.jena.sparql.core.Var v) Asynchronous method that initiates a process to estimate the the variable-specific cardinality of the result that will be produced by the given plan.
-
Field Details
-
cache
-
cardEstimator
-
-
Constructor Details
-
VarSpecificCardinalityEstimationImpl
-
-
Method Details
-
initiateCardinalityEstimation
public CompletableFuture<Integer> initiateCardinalityEstimation(PhysicalPlan plan, org.apache.jena.sparql.core.Var v) Description copied from interface:VarSpecificCardinalityEstimationAsynchronous method that initiates a process to estimate the the variable-specific cardinality of the result that will be produced by the given plan. The actual estimate can then be obtained by using theget()method of the returned CompletableFuture.- Specified by:
initiateCardinalityEstimationin interfaceVarSpecificCardinalityEstimation
-
_initiateCardinalityEstimation
protected CompletableFuture<Integer> _initiateCardinalityEstimation(PhysicalPlan plan, org.apache.jena.sparql.core.Var v) -
_initiateJoinCardinalityEstimation
protected CompletableFuture<Integer> _initiateJoinCardinalityEstimation(PhysicalPlan plan1, PhysicalPlan plan2, org.apache.jena.sparql.core.Var v) -
_initiateMultiwayUnionCardinalityEstimation
protected CompletableFuture<Integer> _initiateMultiwayUnionCardinalityEstimation(PhysicalPlan plan, org.apache.jena.sparql.core.Var v)
-