class EarliestByOffset {

  @UdafFactory(description = "return the earliest N values of an integer column",
      aggregateSchema = "ARRAY<STRUCT<SEQ BIGINT, VAL INT>>")
  public static Udaf<Integer, List<Struct>, List<Integer>> earliestIntegers(final int earliestN) {
    return earliestIntegers(earliestN, true);
  }

  private  EarliestByOffset();

}