|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openstreetmap.osmosis.core.pgsql.v0_5.impl.NodeDao
public class NodeDao
Performs all node-specific db operations.
| Constructor Summary | |
|---|---|
NodeDao(DatabaseContext dbCtx)
Creates a new instance. |
|
| Method Summary | |
|---|---|
Node |
getNode(long nodeId)
Loads the specified node from the database. |
ReleasableIterator<Node> |
iterate()
Returns an iterator providing access to all nodes in the database. |
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 NodeDao(DatabaseContext dbCtx)
dbCtx - The database context to use for accessing the database.| Method Detail |
|---|
public Node getNode(long nodeId)
nodeId - The unique identifier of the node.
public ReleasableIterator<Node> iterate()
public void release()
release in interface Releasable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||