|
|||||||||
| 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.NodeReader
public class NodeReader
Reads all nodes from a database ordered by their identifier. It combines the output of the node table readers to produce fully configured node objects.
| Constructor Summary | |
|---|---|
NodeReader(DatabaseContext dbCtx)
Creates a new instance. |
|
NodeReader(DatabaseContext dbCtx,
java.lang.String constraintTable)
Creates a new instance. |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
|
Node |
next()
|
void |
release()
Performs resource cleanup tasks such as closing files, or database connections. |
void |
remove()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NodeReader(DatabaseContext dbCtx)
dbCtx - The database context to use for accessing the database.
public NodeReader(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 |
|---|
public boolean hasNext()
hasNext in interface java.util.Iterator<Node>public Node next()
next in interface java.util.Iterator<Node>public void remove()
remove in interface java.util.Iterator<Node>public void release()
release in interface Releasable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||