class GenerateSeries {

  @Udf
  public List<Long> generateSeriesLong(
      @UdfParameter(description = "The beginning of the series") final long start,
      @UdfParameter(description = "Marks the end of the series (inclusive)") final long end
  ) {
    return generateSeriesLong(start, end, end - start > 0 ? 1 : -1);
  }

}