AnyLogic
Expand
Font size

@AnyLogicInternalAPI
public class AnyLogicMapDB
extends Object

Field Summary

Modifier and TypeFieldDescription
static final StringCACHE_PATH 
static final StringdatabaseFolder 
static final StringdatabaseName 
static final StringnominatimSearchCache 

Constructor Summary

ConstructorDescription
AnyLogicMapDB() 

Method Summary

Modifier and TypeMethodDescription
static org.mapdb.DBcreateDB(File file) 
static org.mapdb.DBgetDatabase() 
static org.mapdb.HTreeMap<double[],double[]>getDistanceCache(org.mapdb.DB database, String id) 
static org.mapdb.BTreeMap<org.mapdb.Fun.Tuple5<Boolean,Boolean,Boolean,Integer,String>,List<GISMarkupDescriptor>>getNominatimSearchCache(org.mapdb.DB database) 
static org.mapdb.HTreeMap<double[],double[]>getRouteCache(org.mapdb.DB database, String id) 
static org.mapdb.HTreeMap<int[],byte[]>getTileCache(org.mapdb.DB database, String tileProvider) 

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Details

databaseFolder

public static final String databaseFolder
See Also:
Constant Field Values

databaseName

public static final String databaseName
See Also:
Constant Field Values

nominatimSearchCache

public static final String nominatimSearchCache
See Also:
Constant Field Values

CACHE_PATH

public static final String CACHE_PATH
See Also:
Constant Field Values

Constructor Details

AnyLogicMapDB

public AnyLogicMapDB()

Method Details

getDatabase

public static org.mapdb.DB getDatabase()

createDB

public static org.mapdb.DB createDB(File file)

getTileCache

public static org.mapdb.HTreeMap<int[],byte[]> getTileCache(org.mapdb.DB database,
 String tileProvider)

getNominatimSearchCache

public static org.mapdb.BTreeMap<org.mapdb.Fun.Tuple5<Boolean,Boolean,Boolean,Integer,String>,List<GISMarkupDescriptor>> getNominatimSearchCache(org.mapdb.DB database)

getRouteCache

public static org.mapdb.HTreeMap<double[],double[]> getRouteCache(org.mapdb.DB database,
 String id)

getDistanceCache

public static org.mapdb.HTreeMap<double[],double[]> getDistanceCache(org.mapdb.DB database,
 String id)