Examples of ActionChangeWriter


Examples of org.openstreetmap.osmosis.apidb.v0_6.impl.ActionChangeWriter

     */
    public ApidbChangeWriter(DatabaseLoginCredentials loginCredentials, DatabasePreferences preferences,
            boolean populateCurrentTables) {
        changeWriter = new ChangeWriter(loginCredentials, populateCurrentTables);
        actionWriterMap = new HashMap<ChangeAction, ActionChangeWriter>();
        actionWriterMap.put(ChangeAction.Create, new ActionChangeWriter(changeWriter, ChangeAction.Create));
        actionWriterMap.put(ChangeAction.Modify, new ActionChangeWriter(changeWriter, ChangeAction.Modify));
        actionWriterMap.put(ChangeAction.Delete, new ActionChangeWriter(changeWriter, ChangeAction.Delete));

        schemaVersionValidator = new SchemaVersionValidator(loginCredentials, preferences);
    }
View Full Code Here

Examples of org.openstreetmap.osmosis.pgsimple.v0_6.impl.ActionChangeWriter

   */
  public PostgreSqlChangeWriter(DatabaseLoginCredentials loginCredentials, DatabasePreferences preferences) {
    dbCtx = new DatabaseContext(loginCredentials);
    changeWriter = new ChangeWriter(dbCtx);
    actionWriterMap = new HashMap<ChangeAction, ActionChangeWriter>();
    actionWriterMap.put(ChangeAction.Create, new ActionChangeWriter(changeWriter, ChangeAction.Create));
    actionWriterMap.put(ChangeAction.Modify, new ActionChangeWriter(changeWriter, ChangeAction.Modify));
    actionWriterMap.put(ChangeAction.Delete, new ActionChangeWriter(changeWriter, ChangeAction.Delete));
   
    schemaVersionValidator = new SchemaVersionValidator(dbCtx, preferences);
  }
View Full Code Here

Examples of org.openstreetmap.osmosis.pgsnapshot.v0_6.impl.ActionChangeWriter

      DatabasePreferences preferences, boolean keepInvalidWays) {
    dbCtx = new DatabaseContext(loginCredentials);
    changeWriter = new ChangeWriter(dbCtx);
    actionWriterMap = new HashMap<ChangeAction, ActionChangeWriter>();
    actionWriterMap.put(ChangeAction.Create,
        new ActionChangeWriter(changeWriter, ChangeAction.Create, keepInvalidWays));
    actionWriterMap.put(ChangeAction.Modify,
        new ActionChangeWriter(changeWriter, ChangeAction.Modify, keepInvalidWays));
    actionWriterMap.put(ChangeAction.Delete,
        new ActionChangeWriter(changeWriter, ChangeAction.Delete, keepInvalidWays));
   
    schemaVersionValidator = new SchemaVersionValidator(dbCtx.getJdbcTemplate(), preferences);
   
    initialized = false;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.