Package org.openstreetmap.osmosis.pgsimple.v0_6.impl

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


    factoryMap.put("ts", new PostgreSqlTruncatorFactory());
    factoryMap.put("write-pgsimp-dump", new PostgreSqlDumpWriterFactory());
    factoryMap.put("wsd", new PostgreSqlDumpWriterFactory());
    factoryMap.put("read-pgsimp", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("rs", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("write-pgsimp-change", new PostgreSqlChangeWriterFactory());
    factoryMap.put("wsc", new PostgreSqlChangeWriterFactory());
   
    factoryMap.put("write-pgsimp-0.6", new PostgreSqlWriterFactory());
    factoryMap.put("fast-write-pgsimp-0.6", new PostgreSqlCopyWriterFactory());
    factoryMap.put("truncate-pgsimp-0.6", new PostgreSqlTruncatorFactory());
    factoryMap.put("write-pgsimp-dump-0.6", new PostgreSqlDumpWriterFactory());
    factoryMap.put("read-pgsimp-0.6", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("write-pgsimp-change-0.6", new PostgreSqlChangeWriterFactory());
   
    return factoryMap;
  }
View Full Code Here


   
    factoryMap = new HashMap<String, TaskManagerFactory>();
   
    factoryMap.put("write-pgsimp", new PostgreSqlWriterFactory());
    factoryMap.put("ws", new PostgreSqlWriterFactory());
    factoryMap.put("fast-write-pgsimp", new PostgreSqlCopyWriterFactory());
    factoryMap.put("fws", new PostgreSqlCopyWriterFactory());
    factoryMap.put("truncate-pgsimp", new PostgreSqlTruncatorFactory());
    factoryMap.put("ts", new PostgreSqlTruncatorFactory());
    factoryMap.put("write-pgsimp-dump", new PostgreSqlDumpWriterFactory());
    factoryMap.put("wsd", new PostgreSqlDumpWriterFactory());
    factoryMap.put("read-pgsimp", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("rs", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("write-pgsimp-change", new PostgreSqlChangeWriterFactory());
    factoryMap.put("wsc", new PostgreSqlChangeWriterFactory());
   
    factoryMap.put("write-pgsimp-0.6", new PostgreSqlWriterFactory());
    factoryMap.put("fast-write-pgsimp-0.6", new PostgreSqlCopyWriterFactory());
    factoryMap.put("truncate-pgsimp-0.6", new PostgreSqlTruncatorFactory());
    factoryMap.put("write-pgsimp-dump-0.6", new PostgreSqlDumpWriterFactory());
    factoryMap.put("read-pgsimp-0.6", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("write-pgsimp-change-0.6", new PostgreSqlChangeWriterFactory());
   
View Full Code Here

    factoryMap.put("fws", new PostgreSqlCopyWriterFactory());
    factoryMap.put("truncate-pgsimp", new PostgreSqlTruncatorFactory());
    factoryMap.put("ts", new PostgreSqlTruncatorFactory());
    factoryMap.put("write-pgsimp-dump", new PostgreSqlDumpWriterFactory());
    factoryMap.put("wsd", new PostgreSqlDumpWriterFactory());
    factoryMap.put("read-pgsimp", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("rs", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("write-pgsimp-change", new PostgreSqlChangeWriterFactory());
    factoryMap.put("wsc", new PostgreSqlChangeWriterFactory());
   
    factoryMap.put("write-pgsimp-0.6", new PostgreSqlWriterFactory());
    factoryMap.put("fast-write-pgsimp-0.6", new PostgreSqlCopyWriterFactory());
    factoryMap.put("truncate-pgsimp-0.6", new PostgreSqlTruncatorFactory());
    factoryMap.put("write-pgsimp-dump-0.6", new PostgreSqlDumpWriterFactory());
    factoryMap.put("read-pgsimp-0.6", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("write-pgsimp-change-0.6", new PostgreSqlChangeWriterFactory());
   
    return factoryMap;
  }
View Full Code Here

    factoryMap.put("ws", new PostgreSqlWriterFactory());
    factoryMap.put("fast-write-pgsimp", new PostgreSqlCopyWriterFactory());
    factoryMap.put("fws", new PostgreSqlCopyWriterFactory());
    factoryMap.put("truncate-pgsimp", new PostgreSqlTruncatorFactory());
    factoryMap.put("ts", new PostgreSqlTruncatorFactory());
    factoryMap.put("write-pgsimp-dump", new PostgreSqlDumpWriterFactory());
    factoryMap.put("wsd", new PostgreSqlDumpWriterFactory());
    factoryMap.put("read-pgsimp", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("rs", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("write-pgsimp-change", new PostgreSqlChangeWriterFactory());
    factoryMap.put("wsc", new PostgreSqlChangeWriterFactory());
   
    factoryMap.put("write-pgsimp-0.6", new PostgreSqlWriterFactory());
    factoryMap.put("fast-write-pgsimp-0.6", new PostgreSqlCopyWriterFactory());
    factoryMap.put("truncate-pgsimp-0.6", new PostgreSqlTruncatorFactory());
    factoryMap.put("write-pgsimp-dump-0.6", new PostgreSqlDumpWriterFactory());
    factoryMap.put("read-pgsimp-0.6", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("write-pgsimp-change-0.6", new PostgreSqlChangeWriterFactory());
   
    return factoryMap;
  }
View Full Code Here

   
    factoryMap.put("write-pgsimp", new PostgreSqlWriterFactory());
    factoryMap.put("ws", new PostgreSqlWriterFactory());
    factoryMap.put("fast-write-pgsimp", new PostgreSqlCopyWriterFactory());
    factoryMap.put("fws", new PostgreSqlCopyWriterFactory());
    factoryMap.put("truncate-pgsimp", new PostgreSqlTruncatorFactory());
    factoryMap.put("ts", new PostgreSqlTruncatorFactory());
    factoryMap.put("write-pgsimp-dump", new PostgreSqlDumpWriterFactory());
    factoryMap.put("wsd", new PostgreSqlDumpWriterFactory());
    factoryMap.put("read-pgsimp", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("rs", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("write-pgsimp-change", new PostgreSqlChangeWriterFactory());
    factoryMap.put("wsc", new PostgreSqlChangeWriterFactory());
   
    factoryMap.put("write-pgsimp-0.6", new PostgreSqlWriterFactory());
    factoryMap.put("fast-write-pgsimp-0.6", new PostgreSqlCopyWriterFactory());
    factoryMap.put("truncate-pgsimp-0.6", new PostgreSqlTruncatorFactory());
    factoryMap.put("write-pgsimp-dump-0.6", new PostgreSqlDumpWriterFactory());
    factoryMap.put("read-pgsimp-0.6", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("write-pgsimp-change-0.6", new PostgreSqlChangeWriterFactory());
   
    return factoryMap;
View Full Code Here

  public Map<String, TaskManagerFactory> loadTaskFactories() {
    Map<String, TaskManagerFactory> factoryMap;
   
    factoryMap = new HashMap<String, TaskManagerFactory>();
   
    factoryMap.put("write-pgsimp", new PostgreSqlWriterFactory());
    factoryMap.put("ws", new PostgreSqlWriterFactory());
    factoryMap.put("fast-write-pgsimp", new PostgreSqlCopyWriterFactory());
    factoryMap.put("fws", new PostgreSqlCopyWriterFactory());
    factoryMap.put("truncate-pgsimp", new PostgreSqlTruncatorFactory());
    factoryMap.put("ts", new PostgreSqlTruncatorFactory());
    factoryMap.put("write-pgsimp-dump", new PostgreSqlDumpWriterFactory());
    factoryMap.put("wsd", new PostgreSqlDumpWriterFactory());
    factoryMap.put("read-pgsimp", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("rs", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("write-pgsimp-change", new PostgreSqlChangeWriterFactory());
    factoryMap.put("wsc", new PostgreSqlChangeWriterFactory());
   
    factoryMap.put("write-pgsimp-0.6", new PostgreSqlWriterFactory());
    factoryMap.put("fast-write-pgsimp-0.6", new PostgreSqlCopyWriterFactory());
    factoryMap.put("truncate-pgsimp-0.6", new PostgreSqlTruncatorFactory());
    factoryMap.put("write-pgsimp-dump-0.6", new PostgreSqlDumpWriterFactory());
    factoryMap.put("read-pgsimp-0.6", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("write-pgsimp-change-0.6", new PostgreSqlChangeWriterFactory());
View Full Code Here

   */
  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

    relationBuffer = new ArrayList<Relation>();
    relationTagBuffer = new ArrayList<DbFeature<Tag>>();
    relationMemberBuffer = new ArrayList<DbOrderedFeature<RelationMember>>();
   
    // Create an action dao but disable it so that no records will be written.
    actionDao = new ActionDao(dbCtx, false);
   
    userSet = new HashSet<Integer>();
    userDao = new UserDao(dbCtx, actionDao);
   
    nodeBuilder = new NodeMapper();
View Full Code Here

   * @param preferences
   *            Contains preferences configuring database behaviour.
   */
  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));
   
View Full Code Here

    DirectoryCopyFileset copyFileset;
   
    copyFileset = new DirectoryCopyFileset(filePrefix);
   
    copyFilesetBuilder =
      new CopyFilesetBuilder(copyFileset, enableBboxBuilder, enableLinestringBuilder, storeType);
  }
View Full Code Here

TOP

Related Classes of org.openstreetmap.osmosis.pgsimple.v0_6.impl.PostgreSqlDatasetContext

Copyright © 2018 www.massapicom. 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.