Class UsersRequestExecutor


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

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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <P extends org.locationtech.jts.geom.Geometry & org.locationtech.jts.geom.Polygonal>
      Response
      countGroupByBoundary​(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse, boolean isDensity)
      Performs a count calculation grouped by the boundary.
      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.
    • Method Detail

      • 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
      • countGroupByBoundary

        public static <P extends org.locationtech.jts.geom.Geometry & org.locationtech.jts.geom.Polygonal> Response countGroupByBoundary​(javax.servlet.http.HttpServletRequest servletRequest,
                                                                                                                                         javax.servlet.http.HttpServletResponse servletResponse,
                                                                                                                                         boolean isDensity)
                                                                                                                                  throws Exception
        Performs a count calculation grouped by the boundary.
        Throws:
        Exception