String workspaceName,
String providerName,
Collection<JoinCondition> joinConditions,
int costEstimate,
long cardinalityEstimate ) {
IndexPlan indexPlan = new IndexPlan(name, workspaceName, providerName, null, joinConditions,
costEstimate, cardinalityEstimate, 1.0f, null);
indexPlans.add(indexPlan);
}
@Override
public void addIndex( String name,
String workspaceName,
String providerName,
Collection<Constraint> constraints,
int costEstimate,
long cardinalityEstimate,
Float selectivityEstimate,
Map<String, Object> parameters ) {
// Add a plan node for this index ...
IndexPlan indexPlan = new IndexPlan(name, workspaceName, providerName, constraints, null, costEstimate,
cardinalityEstimate, selectivityEstimate, parameters);
indexPlans.add(indexPlan);
}
@Override