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 DefaultFedXCostModel
INSTANCE
-
Constructor Summary
Constructors Constructor Description DefaultFedXCostModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
estimateCost(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:FedXCostModel
Return the estimated cost for the givenTupleExpr
- Specified by:
estimateCost
in interfaceFedXCostModel
- Returns:
- the cost associated to the tupleExpr
-
-