Returns whether this Sarg is a collection of 1 or more points (and perhaps an IS NULL if nullAs == RexUnknownAs.TRUE). Such sargs could be translated as ref = value or ref IN (value1, ...).
()
| 232 | * <p>Such sargs could be translated as {@code ref = value} |
| 233 | * or {@code ref IN (value1, ...)}. */ |
| 234 | public boolean isPoints() { |
| 235 | return pointCount == rangeSet.asRanges().size(); |
| 236 | } |
| 237 | |
| 238 | /** Returns whether this Sarg, when negated, is a collection of 1 or more |
| 239 | * points (and perhaps an {@code IS NULL} if |
no test coverage detected