|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openstreetmap.osmosis.core.mysql.v0_5.impl.NodeChangeReader
public class NodeChangeReader
Reads the set of node changes from a database that have occurred within a time interval.
| Constructor Summary | |
|---|---|
NodeChangeReader(DatabaseLoginCredentials loginCredentials,
boolean readAllUsers,
java.util.Date intervalBegin,
java.util.Date intervalEnd)
Creates a new instance. |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
Indicates if there is any more data available to be read. |
ChangeContainer |
next()
Returns the next available entity and advances to the next record. |
void |
release()
Releases all database resources. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NodeChangeReader(DatabaseLoginCredentials loginCredentials,
boolean readAllUsers,
java.util.Date intervalBegin,
java.util.Date intervalEnd)
loginCredentials - Contains all information required to connect to the database.readAllUsers - If this flag is true, all users will be read from the database
regardless of their public edits flag.intervalBegin - Marks the beginning (inclusive) of the time interval to be
checked.intervalEnd - Marks the end (exclusive) of the time interval to be checked.| Method Detail |
|---|
public boolean hasNext()
public ChangeContainer next()
public void release()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||