Uses of Interface
de.akquinet.jbosscc.guttenbase.meta.TableMetaData
-
-
Uses of TableMetaData in de.akquinet.jbosscc.guttenbase.configuration
Methods in de.akquinet.jbosscc.guttenbase.configuration with parameters of type TableMetaData Modifier and Type Method Description void
TargetDatabaseConfiguration. afterInsert(Connection connection, String connectorId, TableMetaData table)
Called after an INSERT clause is executed.void
TargetDatabaseConfiguration. afterNewRow(Connection connection, String connectorId, TableMetaData table)
Called after a new row of data (VALUES clause) has been added to the INSERT statement.void
SourceDatabaseConfiguration. afterSelect(Connection connection, String connectorId, TableMetaData table)
Called after a SELECT clause is executed.void
DatabaseConfiguration. afterTableCopy(Connection connection, String connectorId, TableMetaData table)
Called after table has been copiedvoid
TargetDatabaseConfiguration. beforeInsert(Connection connection, String connectorId, TableMetaData table)
Called before an INSERT clause is executed.void
TargetDatabaseConfiguration. beforeNewRow(Connection connection, String connectorId, TableMetaData table)
Called before a new row of data (VALUES clause) is added to the INSERT statement.void
SourceDatabaseConfiguration. beforeSelect(Connection connection, String connectorId, TableMetaData table)
Called before a SELECT clause is executed.void
DatabaseConfiguration. beforeTableCopy(Connection connection, String connectorId, TableMetaData table)
Called before table is copied -
Uses of TableMetaData in de.akquinet.jbosscc.guttenbase.configuration.impl
Methods in de.akquinet.jbosscc.guttenbase.configuration.impl with parameters of type TableMetaData Modifier and Type Method Description void
DefaultTargetDatabaseConfiguration. afterInsert(Connection connection, String connectorId, TableMetaData table)
Called after an INSERT clause is executed.void
MsSqlTargetDatabaseConfiguration. afterInsert(Connection connection, String connectorId, TableMetaData table)
Called after an INSERT clause is executed.void
DefaultTargetDatabaseConfiguration. afterNewRow(Connection connection, String connectorId, TableMetaData table)
Called after a new row of data (VALUES clause) has been added to the INSERT statement.void
DefaultSourceDatabaseConfiguration. afterSelect(Connection connection, String connectorId, TableMetaData table)
Called after a SELECT clause is executed.void
AbstractDatabaseConfiguration. afterTableCopy(Connection connection, String connectorId, TableMetaData table)
Called after table has been copiedvoid
DefaultTargetDatabaseConfiguration. beforeInsert(Connection connection, String connectorId, TableMetaData table)
Called before an INSERT clause is executed.void
MsSqlTargetDatabaseConfiguration. beforeInsert(Connection connection, String connectorId, TableMetaData table)
Called before an INSERT clause is executed.void
DefaultTargetDatabaseConfiguration. beforeNewRow(Connection connection, String connectorId, TableMetaData table)
Called before a new row of data (VALUES clause) is added to the INSERT statement.void
DefaultSourceDatabaseConfiguration. beforeSelect(Connection connection, String connectorId, TableMetaData table)
Called before a SELECT clause is executed.void
AbstractDatabaseConfiguration. beforeTableCopy(Connection connection, String connectorId, TableMetaData table)
Called before table is copied -
Uses of TableMetaData in de.akquinet.jbosscc.guttenbase.defaults.impl
Methods in de.akquinet.jbosscc.guttenbase.defaults.impl that return TableMetaData Modifier and Type Method Description TableMetaData
DefaultTableMapper. map(TableMetaData source, DatabaseMetaData targetDatabaseMetaData)
Methods in de.akquinet.jbosscc.guttenbase.defaults.impl with parameters of type TableMetaData Modifier and Type Method Description boolean
DefaultDatabaseTableFilter. accept(TableMetaData table)
boolean
DefaultTableRowCountFilter. accept(TableMetaData tableMetaData)
int
DefaultTableRowCountFilter. defaultRowCount(TableMetaData tableMetaData)
String
DefaultTableMapper. fullyQualifiedTableName(TableMetaData source, DatabaseMetaData targetDatabaseMetaData)
ColumnMetaData
DefaultSplitColumn. getSplitColumn(TableMetaData table)
ColumnMapper.ColumnMapperResult
DefaultColumnMapper. map(ColumnMetaData source, TableMetaData targetTableMetaData)
TableMetaData
DefaultTableMapper. map(TableMetaData source, DatabaseMetaData targetDatabaseMetaData)
ColumnMapper.ColumnMapperResult
DroppingColumnMapper. map(ColumnMetaData source, TableMetaData targetTableMetaData)
String
DefaultColumnMapper. mapColumnName(ColumnMetaData columnMetaData, TableMetaData targetTableMetaData)
String
DefaultTableMapper. mapTableName(TableMetaData source, DatabaseMetaData targetDatabaseMetaData)
-
Uses of TableMetaData in de.akquinet.jbosscc.guttenbase.export
Methods in de.akquinet.jbosscc.guttenbase.export with parameters of type TableMetaData Modifier and Type Method Description void
ExportDumpDatabaseConfiguration. afterInsert(Connection connection, String connectorId, TableMetaData table)
void
ExportDumpDatabaseConfiguration. afterNewRow(Connection connection, String connectorId, TableMetaData table)
void
ExportDumpDatabaseConfiguration. afterTableCopy(Connection connection, String connectorId, TableMetaData table)
void
ImportDumpDatabaseConfiguration. afterTableCopy(Connection connection, String connectorId, TableMetaData table)
void
ExportDumpDatabaseConfiguration. beforeNewRow(Connection connection, String connectorId, TableMetaData table)
void
ExportDumpDatabaseConfiguration. beforeTableCopy(Connection connection, String connectorId, TableMetaData table)
void
ImportDumpDatabaseConfiguration. beforeTableCopy(Connection connection, String connectorId, TableMetaData table)
void
ImportDumpConnection. finalizeReadTable(TableMetaData table)
void
ExportDumpConnection. finalizeWriteRowData(TableMetaData table)
void
Exporter. finalizeWriteRowData(TableMetaData tableMetaData)
Called after copying of a table row ends.void
ExportDumpConnection. finalizeWriteTableData(TableMetaData table)
Simply forwards call toExporter
.void
Exporter. finalizeWriteTableData(TableMetaData tableMetaData)
Called after copying of a table ends.void
ImportDumpConnection. initializeReadTable(TableMetaData table)
void
ExportDumpConnection. initializeWriteRowData(TableMetaData table)
void
Exporter. initializeWriteRowData(TableMetaData tableMetaData)
Called before copying of a table row starts.void
ExportDumpConnection. initializeWriteTableData(TableMetaData table)
Simply forwards call toExporter
.void
Exporter. initializeWriteTableData(TableMetaData tableMetaData)
Called before copying of a table starts.void
Importer. seekTableHeader(TableMetaData tableMetaData)
Constructors in de.akquinet.jbosscc.guttenbase.export with parameters of type TableMetaData Constructor Description ExportTableHeaderImpl(TableMetaData tableMetaData)
ImportDumpPreparedStatement(Importer importer, DatabaseMetaData databaseMetaData, TableMetaData tableMetaData, String selectSql)
ImportDumpResultSet(Importer importer, DatabaseMetaData databaseMetaData, TableMetaData tableMetaData, List<String> selectedColumns)
-
Uses of TableMetaData in de.akquinet.jbosscc.guttenbase.export.plain
Methods in de.akquinet.jbosscc.guttenbase.export.plain with parameters of type TableMetaData Modifier and Type Method Description void
PlainGzipExporter. finalizeWriteRowData(TableMetaData table)
void
PlainGzipExporter. finalizeWriteTableData(TableMetaData table)
void
PlainGzipExporter. initializeWriteRowData(TableMetaData table)
void
PlainGzipExporter. initializeWriteTableData(TableMetaData table)
void
PlainGzipImporter. seekTableHeader(TableMetaData tableMetaData)
-
Uses of TableMetaData in de.akquinet.jbosscc.guttenbase.export.zip
Methods in de.akquinet.jbosscc.guttenbase.export.zip with parameters of type TableMetaData Modifier and Type Method Description void
ZipExporter. finalizeWriteRowData(TableMetaData table)
Called after copying of a table row ends.void
ZipExporter. finalizeWriteTableData(TableMetaData table)
Called after copying of a table ends.void
ZipExporter. initializeWriteRowData(TableMetaData table)
Called before copying of a table row starts.void
ZipExporter. initializeWriteTableData(TableMetaData tableMetaData)
Called before copying of a table starts.void
ZipImporter. seekTableHeader(TableMetaData tableMetaData)
ZipTableMetaDataWriter
ZipTableMetaDataWriter. writeTableMetaDataEntry(TableMetaData tableMetaData)
-
Uses of TableMetaData in de.akquinet.jbosscc.guttenbase.hints
Methods in de.akquinet.jbosscc.guttenbase.hints that return types with arguments of type TableMetaData Modifier and Type Method Description static List<TableMetaData>
TableOrderHint. getSortedTables(ConnectorRepository connectorRepository, String connectorId)
Helper methodMethods in de.akquinet.jbosscc.guttenbase.hints with parameters of type TableMetaData Modifier and Type Method Description static List<ColumnMetaData>
ColumnOrderHint. getSortedColumns(ConnectorRepository connectorRepository, String connectorId, TableMetaData tableMetaData)
Helper method -
Uses of TableMetaData in de.akquinet.jbosscc.guttenbase.hints.impl
Methods in de.akquinet.jbosscc.guttenbase.hints.impl with parameters of type TableMetaData Modifier and Type Method Description int
DefaultResultSetParametersHint.DefaultResultSetParameters. getFetchSize(TableMetaData tableMetaData)
int
DefaultResultSetParametersHint.DefaultResultSetParameters. getResultSetConcurrency(TableMetaData tableMetaData)
int
DefaultResultSetParametersHint.DefaultResultSetParameters. getResultSetType(TableMetaData tableMetaData)
-
Uses of TableMetaData in de.akquinet.jbosscc.guttenbase.mapping
Methods in de.akquinet.jbosscc.guttenbase.mapping that return TableMetaData Modifier and Type Method Description TableMetaData
TableMapper. map(TableMetaData source, DatabaseMetaData targetDatabaseMetaData)
Methods in de.akquinet.jbosscc.guttenbase.mapping that return types with arguments of type TableMetaData Modifier and Type Method Description Comparator<TableMetaData>
TableOrderComparatorFactory. createComparator()
Methods in de.akquinet.jbosscc.guttenbase.mapping with parameters of type TableMetaData Modifier and Type Method Description String
TableMapper. fullyQualifiedTableName(TableMetaData source, DatabaseMetaData targetDatabaseMetaData)
ColumnMapper.ColumnMapperResult
ColumnMapper. map(ColumnMetaData source, TableMetaData targetTableMetaData)
Return matching columns in target table.TableMetaData
TableMapper. map(TableMetaData source, DatabaseMetaData targetDatabaseMetaData)
String
ColumnMapper. mapColumnName(ColumnMetaData source, TableMetaData targetTableMetaData)
Map the way column names are used in statements.String
TableMapper. mapTableName(TableMetaData source, DatabaseMetaData targetDatabaseMetaData)
-
Uses of TableMetaData in de.akquinet.jbosscc.guttenbase.meta
Subinterfaces of TableMetaData in de.akquinet.jbosscc.guttenbase.meta Modifier and Type Interface Description interface
InternalTableMetaData
Extension for internal access.Methods in de.akquinet.jbosscc.guttenbase.meta that return TableMetaData Modifier and Type Method Description TableMetaData
ForeignKeyMetaData. getReferencedTableMetaData()
TableMetaData
ForeignKeyMetaData. getReferencingTableMetaData()
TableMetaData
ColumnMetaData. getTableMetaData()
TableMetaData
DatabaseMetaData. getTableMetaData(String tableName)
TableMetaData
ForeignKeyMetaData. getTableMetaData()
TableMetaData
IndexMetaData. getTableMetaData()
Methods in de.akquinet.jbosscc.guttenbase.meta that return types with arguments of type TableMetaData Modifier and Type Method Description List<TableMetaData>
DatabaseMetaData. getTableMetaData()
Return tables list filtered by @seeRepositoryTableFilter
Methods in de.akquinet.jbosscc.guttenbase.meta with parameters of type TableMetaData Modifier and Type Method Description void
InternalDatabaseMetaData. addTableMetaData(TableMetaData tableMetaData)
void
InternalDatabaseMetaData. removeTableMetaData(TableMetaData tableMetaData)
-
Uses of TableMetaData in de.akquinet.jbosscc.guttenbase.meta.impl
Classes in de.akquinet.jbosscc.guttenbase.meta.impl that implement TableMetaData Modifier and Type Class Description class
TableMetaDataImpl
Information about a table.Methods in de.akquinet.jbosscc.guttenbase.meta.impl that return TableMetaData Modifier and Type Method Description TableMetaData
ForeignKeyMetaDataImpl. getReferencedTableMetaData()
TableMetaData
ForeignKeyMetaDataImpl. getReferencingTableMetaData()
TableMetaData
ColumnMetaDataImpl. getTableMetaData()
TableMetaData
DatabaseMetaDataImpl. getTableMetaData(String tableName)
TableMetaData
ForeignKeyMetaDataImpl. getTableMetaData()
TableMetaData
IndexMetaDataImpl. getTableMetaData()
Methods in de.akquinet.jbosscc.guttenbase.meta.impl that return types with arguments of type TableMetaData Modifier and Type Method Description List<TableMetaData>
DatabaseMetaDataImpl. getTableMetaData()
Methods in de.akquinet.jbosscc.guttenbase.meta.impl with parameters of type TableMetaData Modifier and Type Method Description void
DatabaseMetaDataImpl. addTableMetaData(TableMetaData tableMetaData)
int
TableMetaDataImpl. compareTo(TableMetaData that)
void
DatabaseMetaDataImpl. removeTableMetaData(TableMetaData tableMetaData)
Constructors in de.akquinet.jbosscc.guttenbase.meta.impl with parameters of type TableMetaData Constructor Description ColumnMetaDataImpl(int columnType, String columnName, String columnTypeName, String columnClassName, boolean isNullable, boolean isAutoIncrement, int precision, int scale, TableMetaData tableMetaData)
ForeignKeyMetaDataImpl(TableMetaData tableMetaData, String foreignKeyName, ColumnMetaData referencingColumn, ColumnMetaData referencedColumn)
IndexMetaDataImpl(TableMetaData tableMetaData, String indexName, boolean ascending, boolean unique, boolean primaryKeyIndex)
-
Uses of TableMetaData in de.akquinet.jbosscc.guttenbase.repository
Methods in de.akquinet.jbosscc.guttenbase.repository with parameters of type TableMetaData Modifier and Type Method Description boolean
DatabaseTableFilter. accept(TableMetaData table)
Additionally you may add checks to the resulting meta data objectboolean
RepositoryTableFilter. accept(TableMetaData table)
boolean
TableRowCountFilter. accept(TableMetaData tableMetaData)
int
TableRowCountFilter. defaultRowCount(TableMetaData tableMetaData)
-
Uses of TableMetaData in de.akquinet.jbosscc.guttenbase.statements
Methods in de.akquinet.jbosscc.guttenbase.statements with parameters of type TableMetaData Modifier and Type Method Description PreparedStatement
AbstractInsertStatementCreator. createInsertStatement(String sourceConnectorId, TableMetaData sourceTableMetaData, String targetTableName, TableMetaData targetTableMetaData, Connection destConnection, int numberOfRowsPerBatch, boolean useMultipleValuesClauses)
Create INSERT statement for the mapped target columns.PreparedStatement
AbstractSelectStatementCreator. createMappedSelectStatement(Connection connection, TableMetaData sourceTableMetaData, String tableName, TableMetaData targetTableMetaData, String sourceConnectorId)
Create SELECT statement in the target table to retrieve data from the mapped columns.protected String
AbstractSelectStatementCreator. createOrderBy(TableMetaData tableMetaData)
Try to retrieve data in some deterministic orderprotected String
SelectStatementCreator. createOrderBy(TableMetaData tableMetaData)
Try to retrieve data in some deterministic orderprotected String
SplitByColumnSelectStatementCreator. createOrderBy(TableMetaData tableMetaData)
PreparedStatement
AbstractSelectStatementCreator. createSelectStatement(Connection connection, String tableName, TableMetaData tableMetaData)
Create SELECT statement in the source table to retrieve data from the configured source columns.protected String
AbstractSelectStatementCreator. createWhereClause(TableMetaData tableMetaData)
protected String
AbstractStatementCreator. createWhereClause(TableMetaData tableMetaData)
protected String
SplitByColumnSelectCountStatementCreator. createWhereClause(TableMetaData tableMetaData)
protected String
SplitByColumnSelectStatementCreator. createWhereClause(TableMetaData tableMetaData)
void
InsertStatementFiller. fillInsertStatementFromResultSet(String sourceConnectorId, TableMetaData sourceTableMetaData, String targetConnectorId, TableMetaData targetTableMetaData, TargetDatabaseConfiguration targetDatabaseConfiguration, Connection targetConnection, ResultSet rs, PreparedStatement insertStatement, int numberOfRowsPerBatch, boolean useMultipleValuesClauses)
List<ColumnMetaData>
AbstractStatementCreator. getMappedTargetColumns(TableMetaData sourceTableMetaData, TableMetaData targetTableMetaData, String sourceConnectorId)
Get the list of target columns with appropriate mappings as defined byColumnMapperHint
-
Uses of TableMetaData in de.akquinet.jbosscc.guttenbase.tools
Methods in de.akquinet.jbosscc.guttenbase.tools that return types with arguments of type TableMetaData Modifier and Type Method Description List<TableMetaData>
TableOrderTool. getOrderedTables(List<TableMetaData> tableMetaData, boolean topDown)
Methods in de.akquinet.jbosscc.guttenbase.tools with parameters of type TableMetaData Modifier and Type Method Description void
MinMaxIdSelectorTool. computeMinMax(String connectorId, TableMetaData tableMetaData)
Compute MIN and MAX of given Id-Columnvoid
MinMaxIdSelectorTool. computeMinMax(String connectorId, TableMetaData tableMetaData, Connection connection)
Compute MIN and MAX of given Id-Column using existing connectionprotected abstract void
AbstractTableCopyTool. copyTable(String sourceConnectorId, Connection sourceConnection, SourceDatabaseConfiguration sourceDatabaseConfiguration, TableMetaData sourceTableMetaData, String sourceTableName, String targetConnectorId, Connection targetConnection, TargetDatabaseConfiguration targetDatabaseConfiguration, TableMetaData targetTableMetaData, String targetTableName, int numberOfRowsPerBatch, boolean useMultipleValuesClauses)
protected void
DefaultTableCopyTool. copyTable(String sourceConnectorId, Connection sourceConnection, SourceDatabaseConfiguration sourceDatabaseConfiguration, TableMetaData sourceTableMetaData, String sourceTableName, String targetConnectorId, Connection targetConnection, TargetDatabaseConfiguration targetDatabaseConfiguration, TableMetaData targetTableMetaData, String targetTableName, int numberOfRowsPerBatch, boolean useMultipleValuesClauses)
Copy data with multiple VALUES-tuples per batch statement.protected void
SplitByRangeTableCopyTool. copyTable(String sourceConnectorId, Connection sourceConnection, SourceDatabaseConfiguration sourceDatabaseConfiguration, TableMetaData sourceTableMetaData, String sourceTableName, String targetConnectorId, Connection targetConnection, TargetDatabaseConfiguration targetDatabaseConfiguration, TableMetaData targetTableMetaData, String targetTableName, int numberOfRowsPerBatch, boolean useMultipleValuesClauses)
Copy data with multiple VALUES-tuples per batch statement.void
AbstractTablesOperationTool. executeOnTable(String connectorId, boolean updateSchema, boolean prepareTargetConnection, TableMetaData tableMetaData)
int
ResultSetParameters. getFetchSize(TableMetaData tableMetaData)
protected abstract String
AbstractSequenceCreationTool. getIdColumn(TableMetaData tableMetaData)
int
MaxNumberOfDataItems. getMaxNumberOfDataItems(TableMetaData targetTableMetaData)
int
NumberOfRowsPerBatch. getNumberOfRowsPerBatch(TableMetaData targetTableMetaData)
int
ResultSetParameters. getResultSetConcurrency(TableMetaData tableMetaData)
int
ResultSetParameters. getResultSetType(TableMetaData tableMetaData)
ColumnMetaData
SplitColumn. getSplitColumn(TableMetaData tableName)
String
SelectWhereClause. getWhereClause(TableMetaData tableMetaData)
boolean
AbstractTablesOperationTool. isApplicableOnTable(TableMetaData tableMetaData)
Override this method for specific testsboolean
EntityTableChecker. isEntityTable(TableMetaData tableMetaData)
boolean
RefreshTargetConnection. refreshConnection(int noCopiedTables, TableMetaData sourceTableMetaData)
boolean
NumberOfRowsPerBatch. useMultipleValuesClauses(TableMetaData targetTableMetaData)
Use VALUES() clauses orPreparedStatement.addBatch()
as discussed aboveMethod parameters in de.akquinet.jbosscc.guttenbase.tools with type arguments of type TableMetaData Modifier and Type Method Description List<TableMetaData>
TableOrderTool. getOrderedTables(List<TableMetaData> tableMetaData, boolean topDown)
Constructors in de.akquinet.jbosscc.guttenbase.tools with parameters of type TableMetaData Constructor Description ReadTableDataTool(ConnectorRepository connectorRepository, String connectorId, TableMetaData tableMetaData)
-
Uses of TableMetaData in de.akquinet.jbosscc.guttenbase.tools.db2
Methods in de.akquinet.jbosscc.guttenbase.tools.db2 with parameters of type TableMetaData Modifier and Type Method Description boolean
Db2ReorgIndexesTablesTool. isApplicableOnTable(TableMetaData tableMetaData)
-
Uses of TableMetaData in de.akquinet.jbosscc.guttenbase.tools.postgresql
Methods in de.akquinet.jbosscc.guttenbase.tools.postgresql with parameters of type TableMetaData Modifier and Type Method Description protected String
PostgresqlSequenceCreationTool. getIdColumn(TableMetaData tableMetaData)
-
Uses of TableMetaData in de.akquinet.jbosscc.guttenbase.tools.schema
Methods in de.akquinet.jbosscc.guttenbase.tools.schema with parameters of type TableMetaData Modifier and Type Method Description String
SchemaScriptCreatorTool. createTable(TableMetaData tableMetaData)
Method parameters in de.akquinet.jbosscc.guttenbase.tools.schema with type arguments of type TableMetaData Modifier and Type Method Description List<String>
SchemaScriptCreatorTool. createForeignKeyStatements(List<TableMetaData> tables)
List<String>
SchemaScriptCreatorTool. createIndexStatements(List<TableMetaData> tables)
List<String>
SchemaScriptCreatorTool. createPrimaryKeyStatements(List<TableMetaData> tables)
List<String>
SchemaScriptCreatorTool. createTableStatements(List<TableMetaData> tables)
-
Uses of TableMetaData in de.akquinet.jbosscc.guttenbase.tools.schema.comparison
Methods in de.akquinet.jbosscc.guttenbase.tools.schema.comparison that return TableMetaData Modifier and Type Method Description TableMetaData
MissingTableIssue. getSourceTableMetaData()
Methods in de.akquinet.jbosscc.guttenbase.tools.schema.comparison with parameters of type TableMetaData Modifier and Type Method Description SchemaCompatibilityIssues
SchemaComparatorTool. checkDuplicateIndexes(TableMetaData table)
SchemaCompatibilityIssues
SchemaComparatorTool. checkEqualColumns(String sourceConnectorId, String targetConnectorId, TableMetaData tableMetaData1, TableMetaData tableMetaData2)
SchemaCompatibilityIssues
SchemaComparatorTool. checkEqualForeignKeys(TableMetaData sourceTable, TableMetaData targetTable)
SchemaCompatibilityIssues
SchemaComparatorTool. checkEqualIndexes(TableMetaData sourceTable, TableMetaData targetTable)
SchemaCompatibilityIssues
SchemaComparatorTool. checkForeignKeys(TableMetaData table)
Constructors in de.akquinet.jbosscc.guttenbase.tools.schema.comparison with parameters of type TableMetaData Constructor Description MissingTableIssue(String message, TableMetaData sourceTableMetaData)
-