}
}
// Does this index apply to any of the join conditions ...
for (JoinCondition joinCondition : calculator.joinConditions()) {
if (planner.indexAppliesTo(joinCondition)) {
logger().trace("Index '{0}' in '{1}' provider applies to query in workspace '{2}' with constraint: {3}",
defn.getName(), getName(), workspaceName, joinCondition);
// The index does apply to this constraint, but the number of values corresponds to the total number of values
// in the index (this is a JOIN CONDITON for which there is no literal values) ...
long total = localIndex.estimateTotalCount();