All Implemented Interfaces:
NamedWriteable, Writeable, Resolvable, EvaluatorMapper

public class ToRange extends EsqlScalarFunction
Constructs a range value from two scalar boundary values. The first argument is the inclusive lower bound; the second is the exclusive upper bound, matching the ES|QL half-open [from, to) convention used for all range types. Currently supports date_range (from two datetime values). Future overloads will cover long_range, integer_range, ip_range, etc.