Modifier and Type | Field and Description |
---|---|
protected Session |
InlineViewBuilder.session |
Modifier and Type | Method and Description |
---|---|
Session |
LocalDatabase.getSession()
Gets the
Session for the local database. |
Modifier and Type | Method and Description |
---|---|
protected Quoting |
DMLTransformer.createQuoting(Session session) |
static java.lang.String |
SQLDialect.dmlTableReference(java.lang.String tableName,
Session session,
ExecutionContext executionContext)
Gets table reference for DML statements for a given working table.
|
static InlineViewStyle |
InlineViewStyle.forSession(Session session)
Gets a style for a session.
|
protected CellContentConverter |
Session.AbstractResultSetReader.getCellContentConverter(java.sql.ResultSet resultSet,
Session session,
DBMS targetDBMSConfiguration)
Gets and cache CellContentConverter for the result set.
|
protected java.lang.String |
ShellScriptBasedStatisticRenovator.getScriptInvocation(Session session)
Gets shell-invocation.
|
protected java.lang.String |
DB2ShellScriptBasedStatisticRenovator.getScriptInvocation(Session session)
Gets shell-invocation.
|
void |
StatisticRenovator.renew(Session session,
ExecutionContext executionContext)
Renews the DB table statistics for the working-tables.
|
void |
SqlScriptBasedStatisticRenovator.renew(Session session,
ExecutionContext executionContext)
Renews the DB table statistics for the working-tables
by executing the SQL-script.
|
void |
ShellScriptBasedStatisticRenovator.renew(Session session,
ExecutionContext executionContext)
Renews the DB table statistics for the working-tables
by executing the shell-script.
|
void |
PrimaryKeyValidator.validatePrimaryKey(Session session,
java.util.Set<Table> tables,
JobManager jobManager)
Validates all primary keys of a set of tables.
|
Constructor and Description |
---|
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.
|
InlineViewBuilder(InlineViewStyle style,
Session session,
java.lang.String[] columnNames)
Creates an
InlineViewBuilder with DEFAULT_NAME. |
InlineViewBuilder(InlineViewStyle style,
java.lang.String name,
Session session,
java.lang.String[] columnNames)
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.
|
Modifier and Type | Method and Description |
---|---|
static void |
Table.clearSessionProperties(Session session) |
java.util.List<Column> |
RowIdSupport.getColumns(Table table,
Session session)
Gets the columns with additional rowid-column of a table
|
java.util.List<Column> |
RowIdSupport.getColumns(Table table,
Session session,
boolean exact)
Gets the columns with additional rowid-column of a table
|
java.util.List<Column> |
Table.getNonVirtualPKColumns(Session session)
Gets non-virtual and non-filtered primary-key columns.
|
PrimaryKey |
RowIdSupport.getPrimaryKey(Table table,
Session session)
Gets the primary key of a table.
|
PrimaryKey |
RowIdSupport.getPrimaryKey(Table table,
Session session,
boolean exact)
Gets the primary key of a table.
|
PrimaryKey |
RowIdSupport.getUniversalPrimaryKey(Session session)
Gets the universal primary key.
|
PrimaryKey |
PrimaryKeyFactory.getUniversalPrimaryKey(Session session)
Gets the primary-key to be used for the entity-table and closes the
factory.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DDLCreator.createDDL(DataModel datamodel,
Session session,
WorkingTableScope temporaryTableScope,
RowIdSupport rowIdSupport,
java.lang.String workingTableSchema)
Creates the DDL for the working-tables.
|
boolean |
DDLCreator.createDDL(DataModel datamodel,
Session session,
WorkingTableScope temporaryTableScope,
java.lang.String workingTableSchema)
Creates the DDL for the working-tables.
|
void |
DDLCreator.createDDL(Session localSession,
WorkingTableScope temporaryTableScope,
java.lang.String workingTableSchema)
Creates the DDL for the working-tables.
|
boolean |
DDLCreator.isUptodate(Session session,
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 |
---|---|
abstract Session |
EntityGraph.getSession()
Gets the session.
|
abstract Session |
EntityGraph.getTargetSession() |
Modifier and Type | Method and Description |
---|---|
abstract EntityGraph |
EntityGraph.copy(int graphID,
Session session)
Copies an entity-graph.
|
protected long |
EntityGraph.deleteRows(Session session,
java.lang.String table,
java.lang.String where)
Deletes rows from table.
|
protected java.lang.String |
EntityGraph.dmlTableReference(java.lang.String tableName,
Session session)
Gets table reference for DML statements for a given working table.
|
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.
|
Modifier and Type | Method and Description |
---|---|
EntityGraph |
IntraDatabaseEntityGraph.copy(int newGraphID,
Session session)
Copies an entity-graph.
|
static IntraDatabaseEntityGraph |
IntraDatabaseEntityGraph.create(DataModel dataModel,
int graphID,
Session session,
PrimaryKey universalPrimaryKey,
java.lang.Runnable updateStatistics,
ExecutionContext executionContext)
Creates a new entity-graph.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Session |
LocalEntityGraph.getSession() |
Session |
LocalEntityGraph.getTargetSession() |
Modifier and Type | Method and Description |
---|---|
EntityGraph |
LocalEntityGraph.copy(int newGraphID,
Session _unused)
Copies an entity-graph.
|
static LocalEntityGraph |
LocalEntityGraph.create(DataModel dataModel,
int graphID,
Session remoteSession,
ExecutionContext executionContext)
Creates a new entity-graph.
|
Modifier and Type | Field and Description |
---|---|
Session |
RemoteEntityGraph.session
For executing SQL-Statements.
|
Modifier and Type | Method and Description |
---|---|
Session |
RemoteEntityGraph.getSession() |
Session |
RemoteEntityGraph.getTargetSession() |
Modifier and Type | Method and Description |
---|---|
EntityGraph |
RemoteEntityGraph.copy(int newGraphID,
Session session)
Copies an entity-graph.
|
static RemoteEntityGraph |
RemoteEntityGraph.create(DataModel dataModel,
int graphID,
Session session,
PrimaryKey universalPrimaryKey,
java.lang.Runnable updateStatistics,
ExecutionContext executionContext)
Creates a new entity-graph.
|
protected static void |
RemoteEntityGraph.init(int graphID,
Session session,
ExecutionContext executionContext)
Initializes a new entity-graph.
|
Constructor and Description |
---|
RemoteEntityGraph(DataModel dataModel,
int graphID,
Session session,
PrimaryKey universalPrimaryKey,
java.lang.Runnable updateStatistics,
ExecutionContext executionContext)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
ImportFilterManager(Session localSession,
java.io.OutputStreamWriter result,
java.util.Set<Table> progress,
Quoting targetQuoting,
ExecutionContext executionContext)
Constructor.
|
Constructor and Description |
---|
Factory(javax.xml.transform.sax.TransformerHandler transformerHandler,
java.sql.DatabaseMetaData metaData,
EntityGraph entityGraph,
java.lang.String scriptFile,
Session session,
ExecutionContext executionContext)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Session |
JDBCMetaDataBasedModelElementFinder.PrivilegedSessionProvider.askForSessionWithPermissionToReadSchema(Session session,
Table view,
java.lang.String schema,
java.lang.String tableName,
ExecutionContext executionContext) |
Modifier and Type | Method and Description |
---|---|
Session |
JDBCMetaDataBasedModelElementFinder.PrivilegedSessionProvider.askForSessionWithPermissionToReadSchema(Session session,
Table view,
java.lang.String schema,
java.lang.String tableName,
ExecutionContext executionContext) |
java.util.Collection<Association> |
ModelElementFinder.findAssociations(DataModel dataModel,
java.util.Map<Association,java.lang.String[]> namingSuggestions,
Session session,
ExecutionContext executionContext)
Finds a set of
Association s. |
java.util.Collection<Association> |
JDBCMetaDataBasedModelElementFinder.findAssociations(DataModel dataModel,
java.util.Map<Association,java.lang.String[]> namingSuggestion,
Session session,
ExecutionContext executionContext)
Finds associations by reading the databases meta-data.
|
java.util.List<Column> |
ModelElementFinder.findColumns(Table table,
Session session,
ExecutionContext executionContext)
|
java.util.List<Column> |
JDBCMetaDataBasedModelElementFinder.findColumns(Table table,
Session session,
ExecutionContext executionContext)
|
static java.util.Set<java.lang.String> |
JDBCMetaDataBasedModelElementFinder.findPartitions(Session session,
java.lang.String introspectionSchema) |
java.util.Collection<Table> |
ModelElementFinder.findTables(Session session,
ExecutionContext executionContext)
Finds a set of
Table s. |
java.util.Set<Table> |
JDBCMetaDataBasedModelElementFinder.findTables(Session session,
ExecutionContext executionContext)
Finds all tables in DB schema.
|
static java.util.List<java.lang.String> |
JDBCMetaDataBasedModelElementFinder.getCatalogsWithSchemas(Session session)
Finds all catalogs with all schemas in DB.
|
static java.sql.ResultSet |
JDBCMetaDataBasedModelElementFinder.getColumns(Session session,
java.lang.String schemaPattern,
java.lang.String tableNamePattern,
java.lang.String columnNamePattern,
boolean withCaching,
boolean onlyIfCached,
java.lang.String tableType)
Calls
DatabaseMetaData.getColumns(String, String, String, String) . |
static java.lang.String |
JDBCMetaDataBasedModelElementFinder.getDefaultSchema(Session session,
java.lang.String userName)
Gets default schema of DB.
|
static java.lang.String |
JDBCMetaDataBasedModelElementFinder.getDefaultSchema(Session session,
java.lang.String userName,
java.util.List<java.lang.String> schemaNames)
Gets default schema of DB.
|
static java.sql.ResultSet |
JDBCMetaDataBasedModelElementFinder.getExportedKeys(Session session,
java.lang.String schema,
java.lang.String table) |
static java.sql.ResultSet |
JDBCMetaDataBasedModelElementFinder.getImportedKeys(Session session,
java.lang.String schema,
java.lang.String table,
boolean withCaching) |
static java.sql.ResultSet |
JDBCMetaDataBasedModelElementFinder.getIndexes(Session session,
java.lang.String schemaPattern,
java.lang.String tableNamePattern)
Calls {@link DatabaseMetaData#getIndexInfo(String, String, String, boolean, boolean).
|
static java.sql.ResultSet |
JDBCMetaDataBasedModelElementFinder.getPrimaryKeys(Session session,
java.lang.String schema,
java.lang.String table,
boolean withCaching) |
static java.sql.ResultSet |
JDBCMetaDataBasedModelElementFinder.getProcedures(Session session,
java.lang.String schemaPattern,
java.lang.String functionPattern)
Calls
DatabaseMetaData.getProcedures(String, String, String) . |
static java.util.List<java.lang.String> |
JDBCMetaDataBasedModelElementFinder.getSchemas(Session session,
java.lang.String userName)
Finds all schemas in DB.
|
static java.sql.ResultSet |
JDBCMetaDataBasedModelElementFinder.getTables(Session session,
java.lang.String schemaPattern,
java.lang.String tableNamePattern,
java.lang.String[] types) |
static MetaDataCache |
MetaDataCache.readColumns(Session session,
java.lang.String schema)
Reads column infos.
|
static MetaDataCache |
MetaDataCache.readImportedKeys(Session session,
java.lang.String schema)
Reads imported keys (FKs).
|
static MetaDataCache |
MetaDataCache.readIndexInfo(Session session,
java.lang.String schema)
Reads index infos.
|
static MetaDataCache |
MetaDataCache.readPrimaryKeys(Session session,
java.lang.String schema)
Reads primary keys.
|
static void |
JDBCMetaDataBasedModelElementFinder.resetCaches(Session session) |
static Column |
JDBCMetaDataBasedModelElementFinder.toColumn(java.sql.ResultSetMetaData metaData,
int i,
Session session) |
Constructor and Description |
---|
MemorizedResultSet(java.sql.ResultSet resultSet,
java.lang.Integer limit,
Session session,
java.lang.Object cancellationContext) |
MemorizedResultSet(java.sql.ResultSet resultSet,
java.lang.Integer limit,
Session session,
java.lang.Object cancellationContext,
int[] projection,
java.lang.String[] columnNames) |
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 Quoting |
Quoting.getQuoting(Session session)
Gets the
Quoting for a given session. |
Constructor and Description |
---|
CellContentConverter(java.sql.ResultSetMetaData resultSetMetaData,
Session session,
DBMS targetConfiguration)
Constructor.
|
Quoting(Session session)
Constructor.
|
SqlScriptExecutor(Session session,
int threads)
Constructor.
|
SqlScriptExecutor(Session session,
int threads,
boolean logStatements)
Constructor.
|
Constructor and Description |
---|
XmlExportTransformer(java.io.OutputStream out,
java.lang.String commentHeader,
EntityGraph entityGraph,
java.util.Set<Table> totalProgress,
java.util.Set<Table> cyclicAggregatedTables,
java.lang.String rootTag,
java.lang.String datePattern,
java.lang.String timestampPattern,
Session session,
ScriptFormat scriptFormat,
java.nio.charset.Charset charset,
ExecutionContext executionContext)
Constructor.
|
XmlWritingNodeVisitor(java.sql.ResultSet resultSet,
java.sql.ResultSetMetaData resultSetMetaData,
Table table,
Association association,
Session session)
Constructor.
|