| 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 String |
SQLDialect.dmlTableReference(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(ResultSet resultSet,
Session session,
DBMS targetDBMSConfiguration)
Gets and cache CellContentConverter for the result set.
|
protected String |
DB2ShellScriptBasedStatisticRenovator.getScriptInvocation(Session session)
Gets shell-invocation.
|
protected String |
ShellScriptBasedStatisticRenovator.getScriptInvocation(Session session)
Gets shell-invocation.
|
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 |
StatisticRenovator.renew(Session session,
ExecutionContext executionContext)
Renews the DB table statistics for the working-tables.
|
| Constructor and Description |
|---|
DeletionTransformer.Factory(OutputStreamWriter scriptFileWriter,
int maxBodySize,
Session session,
DBMS targetDBMSConfiguration,
ExecutionContext executionContext)
Constructor.
|
DMLTransformer.Factory(OutputStreamWriter scriptFileWriter,
boolean upsertOnly,
int maxBodySize,
Session session,
DBMS targetDBMSConfiguration,
ExecutionContext executionContext)
Constructor.
|
DMLTransformer(Table table,
OutputStreamWriter scriptFileWriter,
boolean upsertOnly,
int maxBodySize,
Session session,
DBMS targetDBMSConfiguration,
ImportFilterTransformer importFilterTransformer,
ExecutionContext executionContext)
Constructor.
|
InlineViewBuilder(InlineViewStyle style,
Session session,
String[] columnNames)
Creates an
InlineViewBuilder with DEFAULT_NAME. |
InlineViewBuilder(InlineViewStyle style,
String name,
Session session,
String[] columnNames)
Constructor.
|
UpdateTransformer(Table table,
Set<Column> columns,
OutputStreamWriter scriptFileWriter,
int maxBodySize,
Session session,
DBMS targetDBMSConfiguration,
ImportFilterTransformer importFilterTransformer,
ExecutionContext executionContext)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<Column> |
Table.getSelectionClause(Session session)
Gets all non-virtual columns of the table in the order in which they are selected.
|
PrimaryKey |
PrimaryKeyFactory.getUniversalPrimaryKey(Session session)
Gets the primary-key to be used for the entity-table and closes the
factory.
|
PrimaryKey |
RowIdSupport.getUniversalPrimaryKey(Session session)
Gets the universal primary key.
|
boolean |
Column.isVirtualOrBlocked(Session session)
Returns
true iff this column cannot be updated. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DDLCreator.createDDL(DataModel datamodel,
Session session,
WorkingTableScope temporaryTableScope,
RowIdSupport rowIdSupport,
String workingTableSchema)
Creates the DDL for the working-tables.
|
boolean |
DDLCreator.createDDL(DataModel datamodel,
Session session,
WorkingTableScope temporaryTableScope,
String workingTableSchema)
Creates the DDL for the working-tables.
|
void |
DDLCreator.createDDL(Session localSession,
WorkingTableScope temporaryTableScope,
String workingTableSchema)
Creates the DDL for the working-tables.
|
boolean |
DDLCreator.isPresent(Session session)
Checks whether working-tables schema is present.
|
boolean |
DDLCreator.isUptodate(Session session,
boolean useRowId,
String workingTableSchema)
Checks whether working-tables schema is up-to-date.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HelperTableEnhancer.addComments(Writer script,
ScriptType scriptType,
Session session,
DBMS targetDBMSConfiguration,
EntityGraph entityGraph,
Set<Table> progress,
ExecutionContext executionContext) |
void |
FileBasedScriptEnhancer.addComments(Writer script,
ScriptType scriptType,
Session session,
DBMS targetDBMSConfiguration,
EntityGraph entityGraph,
Set<Table> progress,
ExecutionContext executionContext)
Adds nothing.
|
void |
ScriptEnhancer.addComments(Writer script,
ScriptType scriptType,
Session session,
DBMS targetDBMSConfiguration,
EntityGraph entityGraph,
Set<Table> progress,
ExecutionContext executionContext)
Adds comments to the script.
|
void |
HelperTableEnhancer.addEpilog(Writer script,
ScriptType scriptType,
Session session,
DBMS targetDBMSConfiguration,
EntityGraph entityGraph,
Set<Table> progress,
ExecutionContext executionContext) |
void |
FileBasedScriptEnhancer.addEpilog(Writer script,
ScriptType scriptType,
Session session,
DBMS targetDBMSConfiguration,
EntityGraph entityGraph,
Set<Table> progress,
ExecutionContext executionContext)
Adds epilogs.
|
void |
ScriptEnhancer.addEpilog(Writer script,
ScriptType scriptType,
Session session,
DBMS targetDBMSConfiguration,
EntityGraph entityGraph,
Set<Table> progress,
ExecutionContext executionContext)
Adds comments at bottom of the script.
|
void |
HelperTableEnhancer.addProlog(Writer script,
ScriptType scriptType,
Session session,
DBMS targetDBMSConfiguration,
EntityGraph entityGraph,
Set<Table> progress,
ExecutionContext executionContext) |
void |
FileBasedScriptEnhancer.addProlog(Writer script,
ScriptType scriptType,
Session session,
DBMS targetDBMSConfiguration,
EntityGraph entityGraph,
Set<Table> progress,
ExecutionContext executionContext)
Adds prologs.
|
void |
ScriptEnhancer.addProlog(Writer script,
ScriptType scriptType,
Session session,
DBMS targetDBMSConfiguration,
EntityGraph entityGraph,
Set<Table> progress,
ExecutionContext executionContext)
Adds statements at top of the script.
|
| 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 String |
EntityGraph.dmlTableReference(String tableName,
Session session)
Gets table reference for DML statements for a given working table.
|
void |
EntityGraph.fillAndWriteMappingTables(JobManager jobManager,
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 EntityGraph |
EntityGraph.find(int graphID,
Session session,
PrimaryKey universalPrimaryKey)
Finds an entity-graph.
|
| 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,
ExecutionContext executionContext)
Creates a new entity-graph.
|
void |
IntraDatabaseEntityGraph.fillAndWriteMappingTables(JobManager jobManager,
OutputStreamWriter receiptWriter,
int numberOfEntities,
Session targetSession,
DBMS targetDBMSConfiguration,
DBMS dbmsConfiguration)
Insert the values of columns with non-derived-import-filters into the local database.
|
EntityGraph |
IntraDatabaseEntityGraph.find(int graphID,
Session session,
PrimaryKey universalPrimaryKey)
Finds an entity-graph.
|
| Modifier and Type | Method and Description |
|---|---|
Session |
LocalEntityGraph.getSession() |
Session |
LocalEntityGraph.getTargetSession() |
| Modifier and Type | Method and Description |
|---|---|
EntityGraph |
LocalEntityGraph.copy(int newGraphID,
Session globalSession)
Copies an entity-graph.
|
static LocalEntityGraph |
LocalEntityGraph.create(DataModel dataModel,
int graphID,
Session remoteSession,
ExecutionContext executionContext)
Creates a new entity-graph.
|
EntityGraph |
LocalEntityGraph.find(int graphID,
Session localSession,
PrimaryKey universalPrimaryKey)
Finds an 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,
ExecutionContext executionContext)
Creates a new entity-graph.
|
EntityGraph |
RemoteEntityGraph.find(int graphID,
Session session,
PrimaryKey universalPrimaryKey)
Finds an 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,
ExecutionContext executionContext)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ImportFilterManager.fillAndWriteMappingTables(EntityGraph entityGraph,
JobManager jobManager,
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,
OutputStreamWriter result,
Set<Table> progress,
Quoting targetQuoting,
ExecutionContext executionContext)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Association> |
JDBCMetaDataBasedModelElementFinder.findAssociations(DataModel dataModel,
Map<Association,String[]> namingSuggestion,
Session session,
ExecutionContext executionContext)
Finds associations by reading the databases meta-data.
|
Collection<Association> |
ModelElementFinder.findAssociations(DataModel dataModel,
Map<Association,String[]> namingSuggestions,
Session session,
ExecutionContext executionContext)
Finds a set of
Associations. |
List<Column> |
JDBCMetaDataBasedModelElementFinder.findColumns(Table table,
Session session,
ExecutionContext executionContext)
|
List<Column> |
ModelElementFinder.findColumns(Table table,
Session session,
ExecutionContext executionContext)
|
Set<Table> |
JDBCMetaDataBasedModelElementFinder.findTables(Session session,
ExecutionContext executionContext)
Finds all tables in DB schema.
|
Collection<Table> |
ModelElementFinder.findTables(Session session,
ExecutionContext executionContext)
Finds a set of
Tables. |
static ResultSet |
JDBCMetaDataBasedModelElementFinder.getColumns(Session session,
DatabaseMetaData metaData,
String schemaPattern,
String tableNamePattern,
String columnNamePattern)
|
static String |
JDBCMetaDataBasedModelElementFinder.getDefaultSchema(Session session,
String userName)
Gets default schema of DB.
|
static List<String> |
JDBCMetaDataBasedModelElementFinder.getSchemas(Session session,
String userName)
Finds all non-empty schemas in DB.
|
static MetaDataCache |
MetaDataCache.readColumns(Session session,
DatabaseMetaData metaData,
String schema)
Reads column infos.
|
static MetaDataCache |
MetaDataCache.readImportedKeys(Session session,
String schema)
Reads imported keys (FKs).
|
static MetaDataCache |
MetaDataCache.readIndexInfo(Session session,
String schema)
Reads index infos.
|
static MetaDataCache |
MetaDataCache.readPrimaryKeys(Session session,
String schema)
Reads primary keys.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ExplainTool.explain(EntityGraph graph,
Session session,
ExecutionContext executionContext)
Creates a listing of all association-paths of exported entities
back to a subject in an entity-graph (the 'explain.log' file)
|
| Constructor and Description |
|---|
CellContentConverter(ResultSetMetaData resultSetMetaData,
Session session,
DBMS targetConfiguration)
Constructor.
|
Quoting(Session session)
Constructor.
|
SqlScriptExecutor(Session session,
int threads)
Constructor.
|
| Constructor and Description |
|---|
XmlExportTransformer(OutputStream out,
String commentHeader,
EntityGraph entityGraph,
Set<Table> totalProgress,
Set<Table> cyclicAggregatedTables,
String rootTag,
String datePattern,
String timestampPattern,
Session session,
Charset charset,
ExecutionContext executionContext)
Constructor.
|
XmlRowWriter.XmlWritingNodeVisitor(ResultSet resultSet,
ResultSetMetaData resultSetMetaData,
Table table,
Association association,
Session session)
Constructor.
|