AnyLogic
Expand
Font size
  • java.lang.Object
    • com.anylogic.engine.gis.AnyLogicMapDB

@AnyLogicInternalAPI
public class AnyLogicMapDB
extends java.lang.Object

Field Summary

Fields 
static java.lang.String CACHE_PATH  
static java.lang.String databaseFolder  
static java.lang.String databaseName  
static java.lang.String nominatimSearchCache  
Modifier and Type Field Description

Constructor Summary

Constructors 
AnyLogicMapDB()  
Constructor Description

Method Summary

All Methods Static Methods Concrete Methods 
static org.mapdb.DB createDB​(java.io.File file)  
static org.mapdb.DB getDatabase()  
static org.mapdb.HTreeMap<double[],​double[]> getDistanceCache​(org.mapdb.DB database, java.lang.String id)  
static org.mapdb.BTreeMap<org.mapdb.Fun.Tuple5<java.lang.Boolean,​java.lang.Boolean,​java.lang.Boolean,​java.lang.Integer,​java.lang.String>,​java.util.List<GISMarkupDescriptor>> getNominatimSearchCache​(org.mapdb.DB database)  
static org.mapdb.HTreeMap<double[],​double[]> getRouteCache​(org.mapdb.DB database, java.lang.String id)  
static org.mapdb.HTreeMap<int[],​byte[]> getTileCache​(org.mapdb.DB database, java.lang.String tileProvider)  
Modifier and Type Method Description

Methods inherited from class java.lang.Object

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

Field Detail

databaseFolder

public static final java.lang.String databaseFolder
See Also:
Constant Field Values

databaseName

public static final java.lang.String databaseName
See Also:
Constant Field Values

nominatimSearchCache

public static final java.lang.String nominatimSearchCache
See Also:
Constant Field Values

CACHE_PATH

public static final java.lang.String CACHE_PATH
See Also:
Constant Field Values

Constructor Detail

AnyLogicMapDB

public AnyLogicMapDB()

Method Detail

getDatabase

public static org.mapdb.DB getDatabase()

createDB

public static org.mapdb.DB createDB​(java.io.File file)

getTileCache

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

getNominatimSearchCache

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

getRouteCache

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

getDistanceCache

public static org.mapdb.HTreeMap<double[],​double[]> getDistanceCache​(org.mapdb.DB database,
                                                                           java.lang.String id)
How can we improve this article?