result = cost;
}
}
else if (index instanceof MultiIndexIntersectScan) {
MultiIndexIntersectScan multiIndex = (MultiIndexIntersectScan) index;
result = costEstimator.costIndexIntersection(multiIndex, new IndexIntersectionCoster() {
@Override
public CostEstimate singleIndexScanCost(SingleIndexScan scan, CostEstimator costEstimator) {
return getScanOnlyCost(scan);
}
});