Class IntegerRangeComparisonIterator

All Implemented Interfaces:
Serializable, AtMostOneLocalRuntimePlan<Item>, LocalRuntimePlan<Item>

public final class IntegerRangeComparisonIterator extends AbstractAtMostOneItemRuntimePlan
General comparison of an integer singleton with a direct integer range. General comparisons are existential: x < (a to b) asks whether any range value exceeds x. For a nonempty range this is simply x < b, so no range items or Spark join are needed. The compiler selects this plan only for integer singletons; other numeric types retain the ordinary comparison path and its numeric-promotion rules.
See Also: