class UrlExtractQuery {

  @Udf
  public String extractQuery(
      @UdfParameter(description = "a valid URL to extract a query from") final String input) {
    return UrlParser.extract(input, URI::getQuery);
  }

}