Package | Description |
---|---|
com.graphhopper.storage |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDataAccess |
class |
MMapDataAccess
A DataAccess implementation using a memory-mapped file, i.e.
|
class |
RAMDataAccess
This is an in-memory byte-based data structure with the possibility to be stored on flush().
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,DataAccess> |
GHDirectory.map |
Modifier and Type | Method and Description |
---|---|
DataAccess |
AbstractDataAccess.copyTo(DataAccess da) |
DataAccess |
DataAccess.copyTo(DataAccess da)
Copies the content from this object into the specified one.
|
DataAccess |
RAMDataAccess.copyTo(DataAccess da) |
DataAccess |
MMapDataAccess.copyTo(DataAccess da) |
DataAccess |
DataAccess.create(long bytes)
The first time you use a DataAccess object after configuring it you need to call this method.
|
DataAccess |
Directory.find(String name)
Tries to find the object with that name if not existent it creates one and associates the
location with it.
|
DataAccess |
GHDirectory.find(String name) |
DataAccess |
Directory.find(String name,
DAType type) |
DataAccess |
GHDirectory.find(String name,
DAType type) |
DataAccess |
AbstractDataAccess.setSegmentSize(int bytes) |
DataAccess |
DataAccess.setSegmentSize(int bytes)
In order to increase allocated space one needs to layout the underlying storage in segments.
|
Modifier and Type | Method and Description |
---|---|
Collection<DataAccess> |
Directory.getAll()
Returns all created directories.
|
Collection<DataAccess> |
GHDirectory.getAll() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractDataAccess.copyHeader(DataAccess da) |
DataAccess |
AbstractDataAccess.copyTo(DataAccess da) |
DataAccess |
DataAccess.copyTo(DataAccess da)
Copies the content from this object into the specified one.
|
DataAccess |
RAMDataAccess.copyTo(DataAccess da) |
DataAccess |
MMapDataAccess.copyTo(DataAccess da) |
void |
Directory.remove(DataAccess da)
Removes the specified object from the directory.
|
void |
GHDirectory.remove(DataAccess da) |
Constructor and Description |
---|
TurnCostStorage(com.graphhopper.storage.BaseGraph baseGraph,
DataAccess turnCosts) |
Copyright © 2012–2020. All rights reserved.