|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.pgsql.common.BaseDao
org.openstreetmap.osmosis.core.pgsql.v0_6.impl.EntityDao<Node>
org.openstreetmap.osmosis.core.pgsql.v0_6.impl.NodeDao
public class NodeDao
Performs all node-specific db operations.
Constructor Summary | |
---|---|
NodeDao(DatabaseContext dbCtx,
ActionDao actionDao)
Creates a new instance. |
Method Summary | |
---|---|
ReleasableIterator<Node> |
iterate()
Returns an iterator providing access to all entities in the database. |
protected void |
loadFeatures(long entityId,
Node entity)
Adds the type specific features to the entity. |
void |
modifyEntity(Node entity)
Updates the specified entity details in the database. |
Methods inherited from class org.openstreetmap.osmosis.core.pgsql.v0_6.impl.EntityDao |
---|
addEntity, exists, getEntity, removeEntity |
Methods inherited from class org.openstreetmap.osmosis.core.pgsql.common.BaseDao |
---|
getDatabaseContext, prepareStatement, release |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodeDao(DatabaseContext dbCtx, ActionDao actionDao)
dbCtx
- The database context to use for accessing the database.actionDao
- The dao to use for adding action records to the database.Method Detail |
---|
protected void loadFeatures(long entityId, Node entity)
loadFeatures
in class EntityDao<Node>
entityId
- The entity id.entity
- The entity requiring features to be added.public void modifyEntity(Node entity)
modifyEntity
in class EntityDao<Node>
entity
- The entity to update.public ReleasableIterator<Node> iterate()
iterate
in class EntityDao<Node>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |