|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openstreetmap.osmosis.core.customdb.v0_5.impl.WayTileAreaIndex
public class WayTileAreaIndex
A class for managing a way tile index of varying granularity allowing different sized tiles for different sized ways.
| Constructor Summary | |
|---|---|
WayTileAreaIndex(DatasetStoreFileManager fileManager)
Creates a new instance. |
|
| Method Summary | |
|---|---|
void |
complete()
Ensures that all information is fully persisted. |
WayTileAreaIndexReader |
createReader()
Creates a new reader capable of accessing the contents of this index. |
void |
release()
Performs resource cleanup tasks such as closing files, or database connections. |
void |
write(long wayId,
int minimumTile,
int maximumTile)
Writes a new way tile entry to the index. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WayTileAreaIndex(DatasetStoreFileManager fileManager)
fileManager - Manages and provides files for writing indexes to.| Method Detail |
|---|
public void write(long wayId,
int minimumTile,
int maximumTile)
wayId - The way to be added.minimumTile - The minimum tile of the way.maximumTile - The maximum tile of the way.public WayTileAreaIndexReader createReader()
public void complete()
complete in interface Completablepublic void release()
release in interface Releasable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||