class Len {

  @Udf
  public Integer len(
      @UdfParameter(description = "The input string") final String input) {
    if (input == null) {
      return null;
    }
    return input.length();
  }

}