Class DefaultFedXCostModel
- java.lang.Object
-
- org.eclipse.rdf4j.federated.optimizer.DefaultFedXCostModel
-
- All Implemented Interfaces:
FedXCostModel
public class DefaultFedXCostModel extends Object implements FedXCostModel
Default implementation of theFedXCostModel- Author:
- Andreas Schwarte
-
-
Field Summary
Fields Modifier and Type Field Description static DefaultFedXCostModelINSTANCE
-
Constructor Summary
Constructors Constructor Description DefaultFedXCostModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleestimateCost(TupleExpr tupleExpr, Set<String> joinVars)Return the estimated cost for the givenTupleExpr
-
-
-
Field Detail
-
INSTANCE
public static DefaultFedXCostModel INSTANCE
-
-
Method Detail
-
estimateCost
public double estimateCost(TupleExpr tupleExpr, Set<String> joinVars)
Description copied from interface:FedXCostModelReturn the estimated cost for the givenTupleExpr- Specified by:
estimateCostin interfaceFedXCostModel- Returns:
- the cost associated to the tupleExpr
-
-