| Modifier and Type | Method and Description | 
|---|---|
DBMS | 
ExecutionContext.getTargetDBMS()
Gets target-DBMS: ORACLE, MSSQL, DB2, MySQL, POSTGRESQL, SYBASE, SQLITE,
 HSQL or H2 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ExecutionContext.setTargetDBMS(DBMS targetDBMS)
Sets target-DBMS: ORACLE, MSSQL, DB2, MySQL, POSTGRESQL, SYBASE, SQLITE,
 HSQL or H2 
 | 
| Modifier and Type | Method and Description | 
|---|---|
DBMS | 
Subsetter.getDbms()
Gets the DBMS of the database. 
 | 
DBMS | 
Subsetter.getTargetDBMS()
Gets target-DBMS. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Subsetter.setDbms(DBMS dbms)
Sets the DBMS of the database. 
 | 
void | 
Subsetter.setTargetDBMS(DBMS targetDBMS)
Sets target-DBMS. 
 | 
| Constructor and Description | 
|---|
Subsetter(javax.sql.DataSource dataSource,
         DBMS dbms,
         java.io.File dataModel,
         java.io.File extractionModel,
         ScriptFormat scriptFormat)
Creates a new Subsetter with all mandatory attributes. 
 | 
Subsetter(javax.sql.DataSource dataSource,
         DBMS dbms,
         java.net.URL dataModel,
         java.net.URL extractionModel,
         ScriptFormat scriptFormat)
Creates a new Subsetter with all mandatory attributes. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static DBMS | 
DBMS.CLICKHOUSE  | 
static DBMS | 
DBMS.CLOADSCAPE  | 
static DBMS | 
DBMS.DB2  | 
static DBMS | 
DBMS.DB2_ZOS  | 
static DBMS | 
DBMS.DERBY  | 
static DBMS | 
DBMS.FIREBIRD  | 
static DBMS | 
DBMS.H2  | 
static DBMS | 
DBMS.HSQL  | 
static DBMS | 
DBMS.INFORMIX  | 
static DBMS | 
DBMS.MSSQL  | 
static DBMS | 
DBMS.MySQL  | 
static DBMS | 
DBMS.ORACLE  | 
static DBMS | 
DBMS.POSTGRESQL  | 
static DBMS | 
DBMS.SQLITE  | 
static DBMS | 
DBMS.SYBASE  | 
| Modifier and Type | Method and Description | 
|---|---|
static DBMS | 
DBMS.forDBMS(java.lang.String dbmsId)
Gets DBMS specific configuration. 
 | 
static DBMS[] | 
DBMS.values()
Gets all DBMSes. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.List<DBMS> | 
Configuration.getDBMS()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Configuration.setdBMSConfigurations(java.util.List<DBMS> dBMSConfigurations)  | 
| Modifier and Type | Field and Description | 
|---|---|
DBMS | 
Session.dbms
The DBMS. 
 | 
DBMS | 
BasicDataSource.dbms
The DBMS. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected CellContentConverter | 
Session.AbstractResultSetReader.getCellContentConverter(java.sql.ResultSet resultSet,
                       Session session,
                       DBMS targetDBMSConfiguration)
Gets and cache CellContentConverter for the result set. 
 | 
| Constructor and Description | 
|---|
BasicDataSource(java.lang.String driverClassName,
               java.lang.String dbUrl,
               java.lang.String dbUser,
               java.lang.String dbPassword,
               DBMS dbms,
               int maxPoolSize,
               java.net.URL... jdbcDriverURL)
Constructor. 
 | 
DMLTransformer(Table table,
              java.io.OutputStreamWriter scriptFileWriter,
              boolean upsertOnly,
              int maxBodySize,
              Session session,
              DBMS targetDBMSConfiguration,
              ImportFilterTransformer importFilterTransformer,
              java.util.concurrent.atomic.AtomicReference<Table> identityInsertTable,
              ExecutionContext executionContext)
Constructor. 
 | 
Factory(java.io.OutputStreamWriter scriptFileWriter,
       boolean upsertOnly,
       int maxBodySize,
       Session session,
       DBMS targetDBMSConfiguration,
       ExecutionContext executionContext)
Constructor. 
 | 
Factory(java.io.OutputStreamWriter scriptFileWriter,
       int maxBodySize,
       Session session,
       DBMS targetDBMSConfiguration,
       ExecutionContext executionContext)
Constructor. 
 | 
Session(javax.sql.DataSource dataSource,
       DBMS dbms,
       java.lang.Integer isolationLevel)
Constructor. 
 | 
Session(javax.sql.DataSource dataSource,
       DBMS dbms,
       java.lang.Integer isolationLevel,
       WorkingTableScope scope,
       boolean transactional)
Constructor. 
 | 
Session(javax.sql.DataSource dataSource,
       DBMS dbms,
       java.lang.Integer isolationLevel,
       WorkingTableScope scope,
       boolean transactional,
       boolean local)
Constructor. 
 | 
UpdateTransformer(Table table,
                 java.util.Set<Column> columns,
                 java.io.OutputStreamWriter scriptFileWriter,
                 int maxBodySize,
                 Session session,
                 DBMS targetDBMSConfiguration,
                 ImportFilterTransformer importFilterTransformer,
                 boolean inSourceSchema,
                 java.lang.String reason,
                 ExecutionContext executionContext)
Constructor. 
 | 
| Constructor and Description | 
|---|
RowIdSupport(DataModel dataModel,
            DBMS configuration,
            boolean useRowIds,
            boolean useRowIdsOnlyForTablesWithoutPK)
Constructor. 
 | 
RowIdSupport(DataModel dataModel,
            DBMS configuration,
            ExecutionContext executionContext)
Constructor. 
 | 
RowIdSupport(DataModel dataModel,
            DBMS configuration,
            java.lang.String rowIdType,
            boolean useRowIds,
            boolean useRowIdsOnlyForTablesWithoutPK)
Constructor. 
 | 
RowIdSupport(DataModel dataModel,
            DBMS configuration,
            java.lang.String rowIdType,
            ExecutionContext executionContext)
Constructor. 
 | 
| Constructor and Description | 
|---|
Factory(javax.xml.transform.sax.TransformerHandler transformerHandler,
       java.sql.DatabaseMetaData metaData,
       DBMS dbms,
       ExecutionContext executionContext)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
DDLCreator.createDDL(javax.sql.DataSource dataSource,
         DBMS dbms,
         WorkingTableScope temporaryTableScope,
         java.lang.String workingTableSchema)
Creates the DDL for the working-tables. 
 | 
java.lang.String | 
DDLCreator.getTableInConflict(javax.sql.DataSource dataSource,
                  DBMS dbms)
Checks for conflicts of existing tables and working-tables. 
 | 
boolean | 
DDLCreator.isUptodate(javax.sql.DataSource dataSource,
          DBMS dbms,
          boolean useRowId,
          boolean useRowIdsOnlyForTablesWithoutPK,
          java.lang.String workingTableSchema)
Checks whether working-tables schema is up-to-date. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ScriptEnhancer.addComments(java.io.Writer script,
           ScriptType scriptType,
           Session session,
           DBMS targetDBMSConfiguration,
           EntityGraph entityGraph,
           java.util.Set<Table> progress,
           ExecutionContext executionContext)
Adds comments to the script. 
 | 
void | 
HelperTableEnhancer.addComments(java.io.Writer script,
           ScriptType scriptType,
           Session session,
           DBMS targetDBMSConfiguration,
           EntityGraph entityGraph,
           java.util.Set<Table> progress,
           ExecutionContext executionContext)  | 
void | 
FileBasedScriptEnhancer.addComments(java.io.Writer script,
           ScriptType scriptType,
           Session session,
           DBMS targetDBMSConfiguration,
           EntityGraph entityGraph,
           java.util.Set<Table> progress,
           ExecutionContext executionContext)
Adds nothing. 
 | 
void | 
ScriptEnhancer.addEpilog(java.io.Writer script,
         ScriptType scriptType,
         Session session,
         DBMS targetDBMSConfiguration,
         EntityGraph entityGraph,
         java.util.Set<Table> progress,
         ExecutionContext executionContext)
Adds comments at bottom of the script. 
 | 
void | 
HelperTableEnhancer.addEpilog(java.io.Writer script,
         ScriptType scriptType,
         Session session,
         DBMS targetDBMSConfiguration,
         EntityGraph entityGraph,
         java.util.Set<Table> progress,
         ExecutionContext executionContext)  | 
void | 
FileBasedScriptEnhancer.addEpilog(java.io.Writer script,
         ScriptType scriptType,
         Session session,
         DBMS targetDBMSConfiguration,
         EntityGraph entityGraph,
         java.util.Set<Table> progress,
         ExecutionContext executionContext)
Adds epilogs. 
 | 
void | 
ScriptEnhancer.addProlog(java.io.Writer script,
         ScriptType scriptType,
         Session session,
         DBMS targetDBMSConfiguration,
         EntityGraph entityGraph,
         java.util.Set<Table> progress,
         ExecutionContext executionContext)
Adds statements at top of the script. 
 | 
void | 
HelperTableEnhancer.addProlog(java.io.Writer script,
         ScriptType scriptType,
         Session session,
         DBMS targetDBMSConfiguration,
         EntityGraph entityGraph,
         java.util.Set<Table> progress,
         ExecutionContext executionContext)  | 
void | 
FileBasedScriptEnhancer.addProlog(java.io.Writer script,
         ScriptType scriptType,
         Session session,
         DBMS targetDBMSConfiguration,
         EntityGraph entityGraph,
         java.util.Set<Table> progress,
         ExecutionContext executionContext)
Adds prologs. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
EntityGraph.dropMappingTables(java.io.OutputStreamWriter result,
                 DBMS targetDBMSConfiguration)
Creates the DROP-statements for the mapping tables. 
 | 
void | 
EntityGraph.fillAndWriteMappingTables(JobManager jobManager,
                         java.io.OutputStreamWriter dmlResultWriter,
                         int numberOfEntities,
                         Session targetSession,
                         DBMS targetDBMSConfiguration,
                         DBMS dbmsConfiguration)
Insert the values of columns with non-derived-import-filters into the local database. 
 | 
abstract void | 
EntityGraph.updateEntities(Table table,
              java.util.Set<Column> columns,
              java.io.OutputStreamWriter scriptFileWriter,
              DBMS targetConfiguration,
              boolean inSourceSchema,
              java.lang.String reason)
Updates columns of a table. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
IntraDatabaseEntityGraph.dropMappingTables(java.io.OutputStreamWriter result,
                 DBMS targetDBMSConfiguration)
Creates the DROP-statements for the mapping tables. 
 | 
void | 
IntraDatabaseEntityGraph.fillAndWriteMappingTables(JobManager jobManager,
                         java.io.OutputStreamWriter receiptWriter,
                         int numberOfEntities,
                         Session targetSession,
                         DBMS targetDBMSConfiguration,
                         DBMS dbmsConfiguration)
Insert the values of columns with non-derived-import-filters into the local database. 
 | 
void | 
IntraDatabaseEntityGraph.updateEntities(Table table,
              java.util.Set<Column> columns,
              java.io.OutputStreamWriter scriptFileWriter,
              DBMS targetConfiguration,
              boolean inSourceSchema,
              java.lang.String reason)
Updates columns of a table. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
LocalEntityGraph.updateEntities(Table table,
              java.util.Set<Column> columns,
              java.io.OutputStreamWriter scriptFileWriter,
              DBMS targetConfiguration,
              boolean inSourceSchema,
              java.lang.String reason)
Updates columns of a table. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
RemoteEntityGraph.updateEntities(Table table,
              java.util.Set<Column> columns,
              java.io.OutputStreamWriter scriptFileWriter,
              DBMS targetConfiguration,
              boolean inSourceSchema,
              java.lang.String reason)
Updates columns of a table. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ImportFilterManager.createMappingTables(DBMS configuration,
                   java.io.OutputStreamWriter result)
Creates the DDL for the mapping tables. 
 | 
void | 
ImportFilterManager.fillAndWriteMappingTables(EntityGraph entityGraph,
                         JobManager jobManager,
                         java.io.OutputStreamWriter dmlResultWriter,
                         int numberOfEntities,
                         Session targetSession,
                         DBMS targetDBMSConfiguration)
Insert the values of columns with non-derived-import-filters into the local database. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
ModelBuilder.build(javax.sql.DataSource dataSource,
     DBMS dbms,
     java.lang.String schema,
     java.lang.StringBuffer warnings,
     ExecutionContext executionContext)
Builds model. 
 | 
static void | 
ModelBuilder.buildAndMerge(javax.sql.DataSource dataSource,
             DBMS dbms,
             java.lang.String schema,
             java.lang.StringBuffer warnings,
             ExecutionContext executionContext)
Builds and merges model. 
 | 
static int | 
JDBCMetaDataBasedModelElementFinder.filterLength(int length,
            int precision,
            java.lang.String typeName,
            int type,
            DBMS dbms,
            int origLength)
Filters the length attribute of a column in a DBMS specific way. 
 | 
static int | 
JDBCMetaDataBasedModelElementFinder.filterPrecision(int length,
               int precision,
               java.lang.String typeName,
               int type,
               DBMS dbms,
               int origLength)
Filters the precision attribute of a column in a DBMS specific way. 
 | 
static java.lang.String | 
JDBCMetaDataBasedModelElementFinder.filterType(java.lang.String sqlType,
          int length,
          java.lang.String typeName,
          int type,
          DBMS dbms,
          int origLength)
Filters the type attribute of a column in a DBMS specific way. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ExportStatistic | 
SubsettingEngine.export(java.lang.String whereClause,
      java.net.URL extractionModelURL,
      java.lang.String scriptFile,
      java.lang.String deleteScriptFileName,
      javax.sql.DataSource dataSource,
      DBMS dbms,
      ScriptFormat scriptFormat,
      int modelPoolSize)
Exports entities. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static java.lang.String | 
SqlUtil.columnLabel(Quoting quoting,
           Session session,
           DBMS targetDBMSConfiguration,
           Table table,
           java.lang.String columnLabel)  | 
static int | 
SqlUtil.getColumnType(DBMS configuration,
             java.sql.ResultSet resultSet,
             java.sql.ResultSetMetaData resultSetMetaData,
             int i,
             java.util.Map<java.lang.Integer,java.lang.Integer> typeCache)
Gets type of column from result-set. 
 | 
static java.lang.String | 
CellContentConverter.getSmallLob(java.lang.Object lob,
           DBMS targetConfiguration,
           java.lang.Integer maxBlobLength,
           java.lang.Integer maxClobLength)
Gets SQL expression for a C/BLOB for small LOBS. 
 | 
| Constructor and Description | 
|---|
CellContentConverter(java.sql.ResultSetMetaData resultSetMetaData,
                    Session session,
                    DBMS targetConfiguration)
Constructor. 
 |