|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openstreetmap.osmosis.core.customdb.v0_6.impl.DatasetStore
public class DatasetStore
Provides a file based storage mechanism for implementing a dataset.
| Constructor Summary | |
|---|---|
DatasetStore(DatasetStoreFileManager fileManager,
boolean enableWayTileIndex)
Creates a new instance. |
|
| Method Summary | |
|---|---|
void |
complete()
Ensures that all information is fully persisted. |
DatasetContext |
createReader()
Creates a new reader instance providing access to the data within this set. |
void |
process(BoundContainer bound)
Process the bound. |
void |
process(EntityContainer entityContainer)
Process the entity. |
void |
process(NodeContainer nodeContainer)
Process the node. |
void |
process(RelationContainer relationContainer)
Process the relation. |
void |
process(WayContainer wayContainer)
Process the way. |
protected void |
processImpl(EntityContainer entityContainer)
The entity processing implementation. |
void |
release()
Performs resource cleanup tasks such as closing files, or database connections. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DatasetStore(DatasetStoreFileManager fileManager,
boolean enableWayTileIndex)
fileManager - The manager providing access to store files.enableWayTileIndex - If true a tile index is created for ways, otherwise a node-way
index is used.| Method Detail |
|---|
public void process(EntityContainer entityContainer)
process in interface SinkentityContainer - The entity to be processed.protected void processImpl(EntityContainer entityContainer)
entityContainer - The entity to be processed.public void process(BoundContainer bound)
process in interface EntityProcessorbound - The bound to be processed.public void process(NodeContainer nodeContainer)
process in interface EntityProcessornodeContainer - The node to be processed.public void process(WayContainer wayContainer)
process in interface EntityProcessorwayContainer - The way to be processed.public void process(RelationContainer relationContainer)
process in interface EntityProcessorrelationContainer - The relation to be processed.public void complete()
complete in interface Completablepublic DatasetContext createReader()
createReader in interface Datasetpublic void release()
release in interface Releasable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||