Class UsersRequestExecutor

java.lang.Object
org.heigit.ohsome.ohsomeapi.executor.UsersRequestExecutor

public class UsersRequestExecutor extends Object
Includes the execute methods for requests mapped to /users.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final DecimalFormat
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Response
    countGroupByKey(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, boolean isDensity)
    Performs a count calculation grouped by the key.
    static Response
    countGroupByTag(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, boolean isDensity)
    Performs a count calculation grouped by the tag.
    static Response
    countGroupByType(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, boolean isDensity)
    Performs a count calculation grouped by the OSM type.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Method Details

    • countGroupByType

      public static Response countGroupByType(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, boolean isDensity) throws Exception
      Performs a count calculation grouped by the OSM type.
      Throws:
      Exception
    • countGroupByTag

      public static Response countGroupByTag(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, boolean isDensity) throws Exception
      Performs a count calculation grouped by the tag.
      Throws:
      BadRequestException - if the groupByKey parameter is not given.
      Exception
    • countGroupByKey

      public static Response countGroupByKey(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, boolean isDensity) throws Exception
      Performs a count calculation grouped by the key.
      Throws:
      BadRequestException - if the groupByKeys parameter is not given.
      Exception