All Implemented Interfaces:
NamedWriteable, Writeable, Resolvable, EvaluatorMapper, OptionalArgument, ConvertFunction, SurrogateExpression

public class ToIntegerSurrogate extends EsqlScalarFunction implements SurrogateExpression, OptionalArgument, ConvertFunction
In a single-parameter mode, the function converts the first parameter to an integer.
  • TO_INTEGER(value) - value supports ...

In two-parameter mode, the function parses the first string parameter into an integer using the second parameter as a base.
  • TO_INTEGER(string, base) - base supports integer, long and unsigned_long