Constructor and Description |
---|
ExecutionContext(ExecutionContext other)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
ExecutionContext |
Subsetter.getExecutionContext()
Gets the
ExecutionContext . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
LimitTransactionSizeInfo.additionalWhereConditionFragment(ExecutionContext executionContext)
Gets fragment to be inserted as condition into the "WHERE".
|
java.lang.String |
LimitTransactionSizeInfo.afterSelectFragment(ExecutionContext executionContext)
Gets fragment to be inserted into a select statement after the "SELECT".
|
long |
LimitTransactionSizeInfo.getSize(ExecutionContext executionContext)
Gets increment size or
null , if incremental inserts are not applicable. |
boolean |
LimitTransactionSizeInfo.isApplicable(ExecutionContext executionContext)
Is this applicable?
|
java.lang.String |
LimitTransactionSizeInfo.statementSuffixFragment(ExecutionContext executionContext)
Gets fragment to be appended.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
LocalDatabase.determineTempFileFolder(ExecutionContext executionContext)
Determines the folder to be used for local db's temp files.
|
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.
|
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.
|
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.
|
LocalDatabase(java.lang.String driverClassName,
java.lang.String urlPattern,
java.lang.String user,
java.lang.String password,
java.lang.String jarfile,
ExecutionContext executionContext)
Creates a local database.
|
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 |
PrimaryKeyFactory.createUPKScope(java.lang.String extractionModelFile,
ExecutionContext executionContext) |
static java.lang.String |
DataModel.getAssociationsFile(ExecutionContext executionContext)
Gets name of file containing the association definitions.
|
static java.lang.String |
DataModel.getColumnsFile(ExecutionContext executionContext)
Gets name of file containing the column definitions.
|
static java.lang.String |
DataModel.getCommentsFile(ExecutionContext executionContext)
Gets name of file containing the comments.
|
static java.lang.String |
DataModel.getDatamodelFolder(ExecutionContext executionContext)
Gets name of data model folder.
|
static java.lang.String |
DataModel.getDisplayNamesFile(ExecutionContext executionContext)
Gets name of file containing the display names.
|
static java.lang.String |
DataModel.getExcludeFromDeletionFile(ExecutionContext executionContext)
List of tables to be excluded from deletion.
|
static java.lang.String |
DataModel.getModelNameFile(ExecutionContext executionContext)
Gets name of file containing the model name
|
static java.lang.String |
DataModel.getTablesFile(ExecutionContext executionContext)
Gets name of file containing the table definitions.
|
static java.lang.String |
DataModel.getVersionFile(ExecutionContext executionContext)
Name of file containing the version number.
|
Constructor and Description |
---|
DataModel(ExecutionContext executionContext)
Reads in
table.csv and association.csv
and builds the relational data model. |
DataModel(KnownIdentifierMap knownIdentifiers,
ExecutionContext executionContext)
Reads in
table.csv and association.csv
and builds the relational data model. |
DataModel(java.util.Map<java.lang.String,java.lang.String> sourceSchemaMapping,
ExecutionContext executionContext,
boolean failOnMissingTables)
Reads in
table.csv and association.csv
and builds the relational data model. |
DataModel(PrimaryKeyFactory primaryKeyFactory,
java.util.Map<java.lang.String,java.lang.String> sourceSchemaMapping,
ExecutionContext executionContext)
Reads in
table.csv and association.csv
and builds the relational data model. |
DataModel(java.lang.String additionalTablesFile,
java.lang.String additionalAssociationsFile,
ExecutionContext executionContext)
Reads in
table.csv and association.csv
and builds the relational data model. |
DataModel(java.lang.String additionalTablesFile,
java.lang.String additionalAssociationsFile,
java.util.Map<java.lang.String,java.lang.String> sourceSchemaMapping,
CsvFile.LineFilter assocFilter,
ExecutionContext executionContext)
Reads in
table.csv and association.csv
and builds the relational data model. |
DataModel(java.lang.String additionalTablesFile,
java.lang.String additionalAssociationsFile,
java.util.Map<java.lang.String,java.lang.String> sourceSchemaMapping,
CsvFile.LineFilter assocFilter,
PrimaryKeyFactory primaryKeyFactory,
ExecutionContext executionContext,
boolean failOnMissingTables)
Reads in
table.csv and association.csv
and builds the relational data model. |
DataModel(java.lang.String additionalTablesFile,
java.lang.String additionalAssociationsFile,
java.util.Map<java.lang.String,java.lang.String> sourceSchemaMapping,
CsvFile.LineFilter assocFilter,
PrimaryKeyFactory primaryKeyFactory,
ExecutionContext executionContext,
boolean failOnMissingTables,
KnownIdentifierMap knownIdentifiers)
Reads in
table.csv and association.csv
and builds the relational data model. |
DataModel(java.lang.String additionalTablesFile,
java.lang.String additionalAssociationsFile,
PrimaryKeyFactory primaryKeyFactory,
ExecutionContext executionContext)
Reads in
table.csv and association.csv
and builds the relational data model. |
PrimaryKeyFactory(ExecutionContext executionContext)
Constructor.
|
RowIdSupport(DataModel dataModel,
DBMS configuration,
ExecutionContext executionContext)
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.
|
Constructor and Description |
---|
DDLCreator(ExecutionContext executionContext)
Constructor.
|
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 | Field and Description |
---|---|
protected ExecutionContext |
EntityGraph.executionContext
The execution context.
|
Modifier and Type | Method and Description |
---|---|
void |
EntityGraph.checkExist(ExecutionContext executionContext)
Check if the graph still exists.
|
void |
EntityGraph.truncate(ExecutionContext executionContext,
boolean checkExist)
Tries to delete this graph using "truncate".
|
Constructor and Description |
---|
EntityGraph(int graphID,
DataModel dataModel,
ExecutionContext executionContext) |
Modifier and Type | Method and Description |
---|---|
static IntraDatabaseEntityGraph |
IntraDatabaseEntityGraph.create(DataModel dataModel,
int graphID,
Session session,
PrimaryKey universalPrimaryKey,
java.lang.Runnable updateStatistics,
ExecutionContext executionContext)
Creates a new entity-graph.
|
Modifier and Type | Method and Description |
---|---|
static LocalEntityGraph |
LocalEntityGraph.create(DataModel dataModel,
int graphID,
Session remoteSession,
ExecutionContext executionContext)
Creates a new entity-graph.
|
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
static java.lang.String |
ExtractionModel.loadDatamodelFolder(java.lang.String fileName,
ExecutionContext executionContext) |
Constructor and Description |
---|
ExtractionModel(DataModel dataModel,
ExecutionContext executionContext)
Constructor for empty restriction models.
|
ExtractionModel(java.lang.String fileName,
java.util.Map<java.lang.String,java.lang.String> sourceSchemaMapping,
java.util.Map<java.lang.String,java.lang.String> parameters,
ExecutionContext executionContext)
Constructor.
|
ExtractionModel(java.net.URL modelURL,
java.util.Map<java.lang.String,java.lang.String> sourceSchemaMapping,
java.util.Map<java.lang.String,java.lang.String> parameters,
ExecutionContext executionContext,
boolean failOnMissingSubject)
Constructor.
|
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) |
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 void |
ModelBuilder.cleanUp(ExecutionContext executionContext)
Removes temporary files.
|
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)
|
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.lang.String |
ModelBuilder.getModelBuilderAssociationsFilename(ExecutionContext executionContext)
Name of CSV file for generated association definitions.
|
static java.lang.String |
ModelBuilder.getModelBuilderColumnsFilename(ExecutionContext executionContext)
Name of CSV file for generated column definitions.
|
static java.lang.String |
ModelBuilder.getModelBuilderCommentsFilename(ExecutionContext executionContext)
Name of CSV file for generated comments.
|
static java.lang.String |
ModelBuilder.getModelBuilderTablesFilename(ExecutionContext executionContext)
Name of CSV file for generated table definitions.
|
static void |
ModelBuilder.resetFiles(ExecutionContext executionContext)
Resets 'model-builder-*.csv' files.
|
Constructor and Description |
---|
RestrictionModel(DataModel dataModel,
ExecutionContext executionContext)
Constructor.
|
Constructor and Description |
---|
SubsettingEngine(ExecutionContext executionContext)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
Quoting.unquotedTableName(Table t,
ExecutionContext executionContext)
Gets unquoted qualified table name.
|
Modifier and Type | Method and Description |
---|---|
static XmlUtil.ObjectNotationTransformerHandler |
XmlUtil.createObjectNotationTransformerHandler(java.lang.String commentHeader,
java.lang.String rootTag,
java.io.Writer out,
boolean forSketch,
ScriptFormat scriptFormat,
java.text.SimpleDateFormat datePattern,
java.text.SimpleDateFormat timestampPattern,
ExecutionContext executionContext) |
static javax.xml.transform.sax.TransformerHandler |
XmlUtil.createTransformerHandler(java.lang.String commentHeader,
java.lang.String rootTag,
javax.xml.transform.stream.StreamResult streamResult,
java.nio.charset.Charset charset,
ExecutionContext executionContext)
Creates a
TransformerHandler . |
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.
|
XmlRowWriter(java.io.OutputStream out,
java.lang.String commentHeader,
java.lang.String rootTag,
java.lang.String datePattern,
java.lang.String timestampPattern,
ScriptFormat scriptFormat,
java.nio.charset.Charset charset,
ExecutionContext executionContext)
Constructor.
|
XmlRowWriter(java.io.OutputStream out,
java.lang.String commentHeader,
java.lang.String rootTag,
java.lang.String datePattern,
java.lang.String timestampPattern,
ScriptFormat scriptFormat,
java.nio.charset.Charset charset,
javax.xml.transform.sax.TransformerHandler transformerHandler,
ExecutionContext executionContext)
Constructor.
|