Class PoiCategoryRangeQueryGenerator


  • public final class PoiCategoryRangeQueryGenerator
    extends java.lang.Object
    This class generates a prepared SQL query for retrieving POIs filtered by a given PoiCategoryFilter.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getSQLSelectString​(PoiCategoryFilter filter, int count, int version)
      Gets the SQL query that looks up POI entries.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getSQLSelectString

        public static java.lang.String getSQLSelectString​(PoiCategoryFilter filter,
                                                          int count,
                                                          int version)
        Gets the SQL query that looks up POI entries.
        Parameters:
        filter - The filter object for determining all wanted categories.
        count - Count of patterns to search in points of interest names (may be 0).
        version - POI specification version.
        Returns:
        The SQL query.