Class UsersRequestExecutor
java.lang.Object
org.heigit.ohsome.ohsomeapi.executor.UsersRequestExecutor
Includes the execute methods for requests mapped to /users.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
Field Details
-
df
-
-
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
-