Class CascadesCostModel
- java.lang.Object
-
- com.apple.foundationdb.record.query.plan.temp.CascadesCostModel
-
- All Implemented Interfaces:
Comparator<RelationalExpression>
@API(EXPERIMENTAL) public class CascadesCostModel extends Object implements Comparator<RelationalExpression>
A comparator implementing the current heuristic cost model for theCascadesPlanner
.
-
-
Constructor Summary
Constructors Constructor Description CascadesCostModel(RecordQueryPlannerConfiguration configuration, PlanContext planContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(RelationalExpression a, RelationalExpression b)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Constructor Detail
-
CascadesCostModel
public CascadesCostModel(@Nonnull RecordQueryPlannerConfiguration configuration, @Nonnull PlanContext planContext)
-
-
Method Detail
-
compare
public int compare(@Nonnull RelationalExpression a, @Nonnull RelationalExpression b)
- Specified by:
compare
in interfaceComparator<RelationalExpression>
-
-