Package org.mapsforge.poi.storage
Class PoiCategoryRangeQueryGenerator
java.lang.Object
org.mapsforge.poi.storage.PoiCategoryRangeQueryGenerator
This class generates a prepared SQL query for retrieving POIs filtered by a given
PoiCategoryFilter.-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetSQLSelectString(PoiCategoryFilter filter, int count, org.mapsforge.core.model.LatLong orderBy) Gets the SQL query that looks up POI entries.
-
Method Details
-
getSQLSelectString
public static String getSQLSelectString(PoiCategoryFilter filter, int count, org.mapsforge.core.model.LatLong orderBy) 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).orderBy-LatLonglocation of the sort.- Returns:
- The SQL query.
-