OsmAnd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Static Public Attributes
net.osmand.plus.AmenityIndexRepositoryOdb Class Reference
Inheritance diagram for net.osmand.plus.AmenityIndexRepositoryOdb:
net.osmand.plus.AmenityIndexRepository

List of all members.

Public Member Functions

List< Amenity > searchAmenities (int stop, int sleft, int sbottom, int sright, int zoom, PoiFilter filter, List< Amenity > amenities, ResultMatcher< Amenity > matcher)
synchronized void clearCache ()
void evaluateCachedAmenities (double topLatitude, double leftLongitude, double bottomLatitude, double rightLongitude, int zoom, PoiFilter filter, ResultMatcher< Amenity > matcher)
synchronized boolean checkCachedAmenities (double topLatitude, double leftLongitude, double bottomLatitude, double rightLongitude, int zoom, String filterId, List< Amenity > toFill, boolean fillFound)
boolean checkCachedAmenities (double topLatitude, double leftLongitude, double bottomLatitude, double rightLongitude, int zoom, String filterId, List< Amenity > toFill)
boolean initialize (final IProgress progress, File file)
boolean addAmenity (Amenity a)
boolean updateAmenity (Amenity a)
boolean deleteAmenities (long id)
boolean updateAmenities (List< Amenity > amenities, double leftLon, double topLat, double rightLon, double bottomLat)

Static Public Member Functions

static void createAmenityIndexRepository (File file)
static boolean loadingPOIs (List< Amenity > amenities, double leftLon, double topLat, double righLon, double bottomLat)

Static Public Attributes

static final int LIMIT_AMENITIES = 500

Member Function Documentation

synchronized boolean net.osmand.plus.AmenityIndexRepositoryOdb.checkCachedAmenities ( double  topLatitude,
double  leftLongitude,
double  bottomLatitude,
double  rightLongitude,
int  zoom,
String  filterId,
List< Amenity >  toFill,
boolean  fillFound 
)
boolean net.osmand.plus.AmenityIndexRepositoryOdb.checkCachedAmenities ( double  topLatitude,
double  leftLongitude,
double  bottomLatitude,
double  rightLongitude,
int  zoom,
String  filterId,
List< Amenity >  toFill 
)
void net.osmand.plus.AmenityIndexRepositoryOdb.evaluateCachedAmenities ( double  topLatitude,
double  leftLongitude,
double  bottomLatitude,
double  rightLongitude,
int  zoom,
PoiFilter  filter,
ResultMatcher< Amenity >  matcher 
)
boolean net.osmand.plus.AmenityIndexRepositoryOdb.initialize ( final IProgress  progress,
File  file 
)
static boolean net.osmand.plus.AmenityIndexRepositoryOdb.loadingPOIs ( List< Amenity >  amenities,
double  leftLon,
double  topLat,
double  righLon,
double  bottomLat 
) [static]
List<Amenity> net.osmand.plus.AmenityIndexRepositoryOdb.searchAmenities ( int  stop,
int  sleft,
int  sbottom,
int  sright,
int  zoom,
PoiFilter  filter,
List< Amenity >  amenities,
ResultMatcher< Amenity >  matcher 
)

Search amenities in the specified box doesn't cache results

Implements net.osmand.plus.AmenityIndexRepository.

boolean net.osmand.plus.AmenityIndexRepositoryOdb.updateAmenities ( List< Amenity >  amenities,
double  leftLon,
double  topLat,
double  rightLon,
double  bottomLat 
)

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines