class UrlEncodeParam {

  @Udf
  public String encodeParam(
      @UdfParameter(description = "the value to encode") final String input) {
    final Escaper escaper = UrlEscapers.urlFormParameterEscaper();
    return escaper.escape(input);
  }

}