|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.apidb.v0_6.impl.AllEntityDao
public class AllEntityDao
Provides operations that act on on all entity types by combining operations from the underlying DAO implementations.
Constructor Summary | |
---|---|
AllEntityDao(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
Creates a new instance. |
Method Summary | |
---|---|
ReleasableIterator<EntityContainer> |
getCurrent()
Retrieves all current data in the database. |
ReleasableIterator<ChangeContainer> |
getHistory()
Retrieves all changes in the database. |
ReleasableIterator<ChangeContainer> |
getHistory(java.util.Date intervalBegin,
java.util.Date intervalEnd)
Retrieves the changes that have were made between two points in time. |
ReleasableIterator<ChangeContainer> |
getHistory(ReplicationQueryPredicates predicates)
Retrieves the changes that have were made by a set of transactions. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AllEntityDao(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
jdbcTemplate
- Used to access the database.Method Detail |
---|
public ReleasableIterator<ChangeContainer> getHistory(ReplicationQueryPredicates predicates)
getHistory
in interface ReplicationSource
predicates
- Contains the predicates defining the transactions to be queried.
public ReleasableIterator<ChangeContainer> getHistory(java.util.Date intervalBegin, java.util.Date intervalEnd)
intervalBegin
- Marks the beginning (inclusive) of the time interval to be checked.intervalEnd
- Marks the end (exclusive) of the time interval to be checked.
public ReleasableIterator<ChangeContainer> getHistory()
public ReleasableIterator<EntityContainer> getCurrent()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |