|
|||||||||
| 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.ApidbTruncator
public class ApidbTruncator
A standalone OSM task with no inputs or outputs that truncates tables in a apidb database. This is used for removing all existing data from tables.
| Constructor Summary | |
|---|---|
ApidbTruncator(DatabaseLoginCredentials loginCredentials,
DatabasePreferences preferences)
Creates a new instance. |
|
| Method Summary | |
|---|---|
void |
run()
Truncates all data from the database. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ApidbTruncator(DatabaseLoginCredentials loginCredentials,
DatabasePreferences preferences)
loginCredentials - Contains all information required to connect to the database.preferences - Contains preferences configuring database behaviour.| Method Detail |
|---|
public void run()
run in interface java.lang.Runnable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||