Package org.elasticsearch.xpack.esql.expression.function.scalar.date
package org.elasticsearch.xpack.esql.expression.function.scalar.date
-
ClassDescriptionSubtract the second argument from the third argument and return their difference in multiples of the unit specified in the first argument.Represents units that can be used for DATE_DIFF function and how the difference between 2 dates is calculatedCounts how many
toUnitvalues fit into onefromUnitinterval for the given date.RANGE_CONTAINS(a, b) -> boolean Returns true if the first argument contains the second.RANGE_INTERSECTS(a, b) -> boolean Returns true if the two arguments overlap.RANGE_WITHIN(value, range) -> boolean Returns true if the first argument is within the second (the range).Constructs a range value from two scalar boundary values.In a single-parameter mode, the function always uses the current time as the end of the range.