rangeSelectivity method
Selectivity of range predicate low ≤ col ≤ high.
Implementation
double rangeSelectivity(dynamic low, dynamic high) {
if (minValue == null || maxValue == null) return 0.3; // fallback
final min = _toDouble(minValue);
final max = _toDouble(maxValue);
if (max == min) return 1.0;
final lo = low != null ? _toDouble(low).clamp(min, max) : min;
final hi = high != null ? _toDouble(high).clamp(min, max) : max;
return ((hi - lo) / (max - min)).clamp(0.0, 1.0);
}