ca.sqlpower.architect.etl
Class ETLUtils

java.lang.Object
  extended by ca.sqlpower.architect.etl.ETLUtils

public class ETLUtils
extends java.lang.Object


Method Summary
static java.util.Map<SQLTable,java.util.Collection<SQLTable>> findTableLevelMappings(java.util.Collection<SQLTable> targetTables)
          Generates a map from source tables to all their target tables.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

findTableLevelMappings

public static java.util.Map<SQLTable,java.util.Collection<SQLTable>> findTableLevelMappings(java.util.Collection<SQLTable> targetTables)
                                                                                     throws ArchitectException
Generates a map from source tables to all their target tables.

Parameters:
targetTables -
Returns:
A map where the keys consist of all source tables that have at least one column which is a data source for the given list of target tables, and the value set is all target tables. If a particular target table has no columns with source columns defined, it will be in the mapping { null -> [tables, ...] }.
Throws:
ArchitectException


Copyright © 2003-2007 SQL Power Group Inc. www.sqlpower.ca