|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openstreetmap.osmosis.core.pgsql.v0_6.impl.EntityReader<Way>
org.openstreetmap.osmosis.core.pgsql.v0_6.impl.WayReader
public class WayReader
Reads all ways from a database ordered by their identifier. It combines the output of the way table readers to produce fully configured way objects.
| Constructor Summary | |
|---|---|
WayReader(DatabaseContext dbCtx)
Creates a new instance. |
|
WayReader(DatabaseContext dbCtx,
java.lang.String constraintTable)
Creates a new instance. |
|
| Method Summary | |
|---|---|
protected void |
populateEntityFeatures(Way entity)
Populates the entity with the its features. |
void |
release()
Performs resource cleanup tasks such as closing files, or database connections. |
| Methods inherited from class org.openstreetmap.osmosis.core.pgsql.v0_6.impl.EntityReader |
|---|
hasNext, next, remove |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WayReader(DatabaseContext dbCtx)
dbCtx - The database context to use for accessing the database.
public WayReader(DatabaseContext dbCtx,
java.lang.String constraintTable)
dbCtx - The database context to use for accessing the database.constraintTable - The table containing a column named id defining the list of
entities to be returned.| Method Detail |
|---|
protected void populateEntityFeatures(Way entity)
populateEntityFeatures in class EntityReader<Way>entity - The entity to be populated.public void release()
release in interface Releasablerelease in class EntityReader<Way>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||