Package | Description |
---|---|
org.hibernate.boot.internal | |
org.hibernate.boot.model.naming |
Represents a proposed new approach to allowing hooks into the process of determining
the name of database objects (tables, columns, constraints, etc).
|
org.hibernate.boot.model.relational | |
org.hibernate.boot.model.source.internal.hbm | |
org.hibernate.boot.spi | |
org.hibernate.cfg.annotations | |
org.hibernate.engine.jdbc.env.internal | |
org.hibernate.engine.jdbc.env.spi | |
org.hibernate.id.enhanced |
Enhanced/improved versions of table and sequence based identifier generators targeting portability and unified
configuration
|
org.hibernate.mapping |
This package defines the Hibernate configuration-time metamodel.
|
org.hibernate.tool.schema.extract.internal | |
org.hibernate.tool.schema.extract.spi | |
org.hibernate.tool.schema.internal | |
org.hibernate.tool.schema.internal.exec |
Modifier and Type | Method and Description |
---|---|
void |
InFlightMetadataCollectorImpl.addColumnNameBinding(Table table,
Identifier logicalName,
Column column) |
InFlightMetadataCollector.EntityTableXref |
InFlightMetadataCollectorImpl.addEntityTableXref(String entityName,
Identifier primaryTableLogicalName,
Table primaryTable,
InFlightMetadataCollector.EntityTableXref superEntityTableXref) |
void |
InFlightMetadataCollectorImpl.addTableNameBinding(Identifier logicalName,
Table table) |
String |
InFlightMetadataCollectorImpl.getLogicalColumnName(Table table,
Identifier physicalName) |
String |
InFlightMetadataCollectorImpl.getPhysicalColumnName(Table table,
Identifier logicalName) |
String |
InFlightMetadataCollectorImpl.getPhysicalTableName(Identifier logicalName) |
Modifier and Type | Class and Description |
---|---|
class |
DatabaseIdentifier
Models an identifier (name), retrieved from the database.
|
Modifier and Type | Method and Description |
---|---|
Identifier |
ImplicitNamingStrategy.determineAnyDiscriminatorColumnName(ImplicitAnyDiscriminatorColumnNameSource source)
Determine the column name related to the discriminator portion of an ANY mapping when
no explicit column name is given.
|
Identifier |
ImplicitNamingStrategyJpaCompliantImpl.determineAnyDiscriminatorColumnName(ImplicitAnyDiscriminatorColumnNameSource source) |
Identifier |
ImplicitNamingStrategy.determineAnyKeyColumnName(ImplicitAnyKeyColumnNameSource source)
Determine the column name related to the key/id portion of an ANY mapping when
no explicit column name is given.
|
Identifier |
ImplicitNamingStrategyJpaCompliantImpl.determineAnyKeyColumnName(ImplicitAnyKeyColumnNameSource source) |
Identifier |
ImplicitNamingStrategy.determineBasicColumnName(ImplicitBasicColumnNameSource source)
Determine the name of an attribute's column given the source naming
information, when a name is not explicitly given.
|
Identifier |
ImplicitNamingStrategyJpaCompliantImpl.determineBasicColumnName(ImplicitBasicColumnNameSource source) |
Identifier |
ImplicitNamingStrategyLegacyHbmImpl.determineBasicColumnName(ImplicitBasicColumnNameSource source) |
Identifier |
ImplicitNamingStrategy.determineCollectionTableName(ImplicitCollectionTableNameSource source)
Determine the name of a collection join table given the source naming
information, when a name is not explicitly given.
|
Identifier |
ImplicitNamingStrategyJpaCompliantImpl.determineCollectionTableName(ImplicitCollectionTableNameSource source) |
Identifier |
ImplicitNamingStrategyLegacyJpaImpl.determineCollectionTableName(ImplicitCollectionTableNameSource source) |
Identifier |
ImplicitNamingStrategy.determineDiscriminatorColumnName(ImplicitDiscriminatorColumnNameSource source)
Determine the implicit name for the discriminator column for the given entity
|
Identifier |
ImplicitNamingStrategyJpaCompliantImpl.determineDiscriminatorColumnName(ImplicitDiscriminatorColumnNameSource source) |
Identifier |
ImplicitNamingStrategy.determineForeignKeyName(ImplicitForeignKeyNameSource source) |
Identifier |
ImplicitNamingStrategyJpaCompliantImpl.determineForeignKeyName(ImplicitForeignKeyNameSource source) |
Identifier |
ImplicitNamingStrategy.determineIdentifierColumnName(ImplicitIdentifierColumnNameSource source)
Determine the implicit name for the identifier column for the given entity
|
Identifier |
ImplicitNamingStrategyJpaCompliantImpl.determineIdentifierColumnName(ImplicitIdentifierColumnNameSource source) |
Identifier |
NamingStrategyHelper.determineImplicitName(MetadataBuildingContext buildingContext)
Called when the user supplied no explicit name/identifier for the given database object.
|
Identifier |
ImplicitNamingStrategy.determineIndexName(ImplicitIndexNameSource source) |
Identifier |
ImplicitNamingStrategyJpaCompliantImpl.determineIndexName(ImplicitIndexNameSource source) |
Identifier |
ImplicitNamingStrategy.determineJoinColumnName(ImplicitJoinColumnNameSource source)
Determine the column name related to
JoinColumn . |
Identifier |
ImplicitNamingStrategyJpaCompliantImpl.determineJoinColumnName(ImplicitJoinColumnNameSource source) |
Identifier |
ImplicitNamingStrategyLegacyHbmImpl.determineJoinColumnName(ImplicitJoinColumnNameSource source) |
Identifier |
ImplicitNamingStrategyLegacyJpaImpl.determineJoinColumnName(ImplicitJoinColumnNameSource source) |
Identifier |
ImplicitNamingStrategy.determineJoinTableName(ImplicitJoinTableNameSource source)
Determine the name of an association join table given the source naming
information, when a name is not explicitly given.
|
Identifier |
ImplicitNamingStrategyJpaCompliantImpl.determineJoinTableName(ImplicitJoinTableNameSource source) |
Identifier |
ImplicitNamingStrategyLegacyHbmImpl.determineJoinTableName(ImplicitJoinTableNameSource source) |
Identifier |
ImplicitNamingStrategyLegacyJpaImpl.determineJoinTableName(ImplicitJoinTableNameSource source) |
Identifier |
ImplicitNamingStrategy.determineListIndexColumnName(ImplicitIndexColumnNameSource source) |
Identifier |
ImplicitNamingStrategyJpaCompliantImpl.determineListIndexColumnName(ImplicitIndexColumnNameSource source) |
Identifier |
ObjectNameNormalizer.determineLogicalName(String explicitName,
NamingStrategyHelper namingStrategyHelper)
Determine the logical name give a (potentially
null /empty) explicit name. |
Identifier |
ImplicitNamingStrategy.determineMapKeyColumnName(ImplicitMapKeyColumnNameSource source) |
Identifier |
ImplicitNamingStrategyJpaCompliantImpl.determineMapKeyColumnName(ImplicitMapKeyColumnNameSource source) |
Identifier |
ImplicitNamingStrategy.determinePrimaryKeyJoinColumnName(ImplicitPrimaryKeyJoinColumnNameSource source)
Determine the column name related to
PrimaryKeyJoinColumn . |
Identifier |
ImplicitNamingStrategyJpaCompliantImpl.determinePrimaryKeyJoinColumnName(ImplicitPrimaryKeyJoinColumnNameSource source) |
Identifier |
ImplicitNamingStrategy.determinePrimaryTableName(ImplicitEntityNameSource source)
Determine the implicit name of an entity's primary table.
|
Identifier |
ImplicitNamingStrategyJpaCompliantImpl.determinePrimaryTableName(ImplicitEntityNameSource source) |
Identifier |
ImplicitNamingStrategy.determineTenantIdColumnName(ImplicitTenantIdColumnNameSource source)
Determine the implicit name for the tenant (multi-tenancy) identifier column for the given entity
|
Identifier |
ImplicitNamingStrategyJpaCompliantImpl.determineTenantIdColumnName(ImplicitTenantIdColumnNameSource source) |
Identifier |
ImplicitNamingStrategy.determineUniqueKeyName(ImplicitUniqueKeyNameSource source) |
Identifier |
ImplicitNamingStrategyJpaCompliantImpl.determineUniqueKeyName(ImplicitUniqueKeyNameSource source) |
Identifier |
ImplicitCollectionTableNameSource.getOwningPhysicalTableName()
Access to the physical name of the owning entity's table.
|
Identifier |
ImplicitJoinColumnNameSource.getReferencedColumnName()
Access the name of the column that is the target of the FK being described
|
Identifier |
ImplicitPrimaryKeyJoinColumnNameSource.getReferencedPrimaryKeyColumnName()
Access the name of the column that is a primary key column in the
referenced-table that is referenced by the foreign-key described here.
|
Identifier |
ImplicitForeignKeyNameSource.getReferencedTableName() |
Identifier |
ImplicitJoinColumnNameSource.getReferencedTableName()
Access the name of the table that is the target of the FK being described
|
Identifier |
ImplicitPrimaryKeyJoinColumnNameSource.getReferencedTableName()
Access the name of the table referenced by the foreign-key described here.
|
Identifier |
ImplicitConstraintNameSource.getTableName() |
Identifier |
ImplicitConstraintNameSource.getUserProvidedIdentifier() |
Identifier |
NamingStrategyHelper.handleExplicitName(String explicitName,
MetadataBuildingContext buildingContext)
Called when the user has supplied an explicit name for the database object.
|
Identifier |
ObjectNameNormalizer.normalizeIdentifierQuoting(Identifier identifier) |
Identifier |
ObjectNameNormalizer.normalizeIdentifierQuoting(String identifierText)
Normalizes the quoting of identifiers.
|
static Identifier |
Identifier.quote(Identifier identifier) |
static Identifier |
Identifier.toIdentifier(String text)
Means to generate an
Identifier instance from its simple text form. |
static Identifier |
Identifier.toIdentifier(String text,
boolean quote)
Means to generate an
Identifier instance from its simple text form. |
protected Identifier |
ImplicitNamingStrategyJpaCompliantImpl.toIdentifier(String stringForm,
MetadataBuildingContext buildingContext)
Easy hook to build an Identifier using the keyword safe IdentifierHelper.
|
Identifier |
PhysicalNamingStrategy.toPhysicalCatalogName(Identifier name,
JdbcEnvironment jdbcEnvironment) |
Identifier |
PhysicalNamingStrategyStandardImpl.toPhysicalCatalogName(Identifier name,
JdbcEnvironment context) |
Identifier |
PhysicalNamingStrategy.toPhysicalColumnName(Identifier name,
JdbcEnvironment jdbcEnvironment) |
Identifier |
PhysicalNamingStrategyStandardImpl.toPhysicalColumnName(Identifier name,
JdbcEnvironment context) |
Identifier |
NamingStrategyHelper.toPhysicalName(Identifier logicalName,
MetadataBuildingContext buildingContext)
Handle converting a logical name to a physical name
Typically implementations will access the
PhysicalNamingStrategy via
MetadataBuildingContext.getBuildingOptions() ->
MetadataBuildingOptions.getPhysicalNamingStrategy()
For proper quoting, Database.toIdentifier(String)
should be used via
MetadataBuildingContext.getMetadataCollector() ->
Metadata.getDatabase() |
Identifier |
PhysicalNamingStrategy.toPhysicalSchemaName(Identifier name,
JdbcEnvironment jdbcEnvironment) |
Identifier |
PhysicalNamingStrategyStandardImpl.toPhysicalSchemaName(Identifier name,
JdbcEnvironment context) |
Identifier |
PhysicalNamingStrategy.toPhysicalSequenceName(Identifier name,
JdbcEnvironment jdbcEnvironment) |
Identifier |
PhysicalNamingStrategyStandardImpl.toPhysicalSequenceName(Identifier name,
JdbcEnvironment context) |
Identifier |
PhysicalNamingStrategy.toPhysicalTableName(Identifier name,
JdbcEnvironment jdbcEnvironment) |
Identifier |
PhysicalNamingStrategyStandardImpl.toPhysicalTableName(Identifier name,
JdbcEnvironment context) |
Modifier and Type | Method and Description |
---|---|
List<Identifier> |
ImplicitConstraintNameSource.getColumnNames() |
List<Identifier> |
ImplicitForeignKeyNameSource.getReferencedColumnNames() |
Modifier and Type | Method and Description |
---|---|
static boolean |
Identifier.areEqual(Identifier id1,
Identifier id2) |
int |
Identifier.compareTo(Identifier o) |
String |
NamingHelper.generateHashedConstraintName(String prefix,
Identifier tableName,
Identifier... columnNames)
If a constraint is not explicitly named, this is called to generate
a unique hash using the table and column names.
|
String |
NamingHelper.generateHashedConstraintName(String prefix,
Identifier tableName,
Identifier... columnNames)
If a constraint is not explicitly named, this is called to generate
a unique hash using the table and column names.
|
String |
NamingHelper.generateHashedConstraintName(String prefix,
Identifier tableName,
List<Identifier> columnNames)
If a constraint is not explicitly named, this is called to generate
a unique hash using the table and column names.
|
String |
NamingHelper.generateHashedFkName(String prefix,
Identifier tableName,
Identifier referencedTableName,
Identifier... columnNames)
If a foreign-key is not explicitly named, this is called to generate
a unique hash using the table and column names.
|
String |
NamingHelper.generateHashedFkName(String prefix,
Identifier tableName,
Identifier referencedTableName,
Identifier... columnNames)
If a foreign-key is not explicitly named, this is called to generate
a unique hash using the table and column names.
|
String |
NamingHelper.generateHashedFkName(String prefix,
Identifier tableName,
Identifier referencedTableName,
List<Identifier> columnNames)
If a foreign-key is not explicitly named, this is called to generate
a unique hash using the table and column names.
|
Identifier |
ObjectNameNormalizer.normalizeIdentifierQuoting(Identifier identifier) |
static Identifier |
Identifier.quote(Identifier identifier) |
Identifier |
PhysicalNamingStrategy.toPhysicalCatalogName(Identifier name,
JdbcEnvironment jdbcEnvironment) |
Identifier |
PhysicalNamingStrategyStandardImpl.toPhysicalCatalogName(Identifier name,
JdbcEnvironment context) |
Identifier |
PhysicalNamingStrategy.toPhysicalColumnName(Identifier name,
JdbcEnvironment jdbcEnvironment) |
Identifier |
PhysicalNamingStrategyStandardImpl.toPhysicalColumnName(Identifier name,
JdbcEnvironment context) |
Identifier |
NamingStrategyHelper.toPhysicalName(Identifier logicalName,
MetadataBuildingContext buildingContext)
Handle converting a logical name to a physical name
Typically implementations will access the
PhysicalNamingStrategy via
MetadataBuildingContext.getBuildingOptions() ->
MetadataBuildingOptions.getPhysicalNamingStrategy()
For proper quoting, Database.toIdentifier(String)
should be used via
MetadataBuildingContext.getMetadataCollector() ->
Metadata.getDatabase() |
Identifier |
PhysicalNamingStrategy.toPhysicalSchemaName(Identifier name,
JdbcEnvironment jdbcEnvironment) |
Identifier |
PhysicalNamingStrategyStandardImpl.toPhysicalSchemaName(Identifier name,
JdbcEnvironment context) |
Identifier |
PhysicalNamingStrategy.toPhysicalSequenceName(Identifier name,
JdbcEnvironment jdbcEnvironment) |
Identifier |
PhysicalNamingStrategyStandardImpl.toPhysicalSequenceName(Identifier name,
JdbcEnvironment context) |
Identifier |
PhysicalNamingStrategy.toPhysicalTableName(Identifier name,
JdbcEnvironment jdbcEnvironment) |
Identifier |
PhysicalNamingStrategyStandardImpl.toPhysicalTableName(Identifier name,
JdbcEnvironment context) |
Modifier and Type | Method and Description |
---|---|
String |
NamingHelper.generateHashedConstraintName(String prefix,
Identifier tableName,
List<Identifier> columnNames)
If a constraint is not explicitly named, this is called to generate
a unique hash using the table and column names.
|
String |
NamingHelper.generateHashedFkName(String prefix,
Identifier tableName,
Identifier referencedTableName,
List<Identifier> columnNames)
If a foreign-key is not explicitly named, this is called to generate
a unique hash using the table and column names.
|
Modifier and Type | Method and Description |
---|---|
Identifier |
Namespace.Name.getCatalog() |
Identifier |
QualifiedName.getCatalogName() |
Identifier |
QualifiedNameParser.NameParts.getCatalogName() |
Identifier |
QualifiedName.getObjectName() |
Identifier |
QualifiedNameParser.NameParts.getObjectName() |
Identifier |
Namespace.Name.getSchema() |
Identifier |
QualifiedName.getSchemaName() |
Identifier |
QualifiedNameParser.NameParts.getSchemaName() |
Identifier |
QualifiedSequenceName.getSequenceName() |
Identifier |
QualifiedTableName.getTableName() |
Identifier |
Database.toIdentifier(String text)
Wrap the raw name of a database object in it's Identifier form accounting for quoting from
any of:
explicit quoting in the name itself
global request to quote all identifiers
NOTE : quoting from database keywords happens only when building physical identifiers
|
Modifier and Type | Method and Description |
---|---|
Namespace |
Database.adjustDefaultNamespace(Identifier catalogName,
Identifier schemaName) |
DenormalizedTable |
Namespace.createDenormalizedTable(Identifier logicalTableName,
boolean isAbstract,
Table includedTable) |
Sequence |
Namespace.createSequence(Identifier logicalName,
int initialValue,
int increment) |
Table |
Namespace.createTable(Identifier logicalTableName,
boolean isAbstract)
Creates a mapping Table instance.
|
Namespace |
Database.locateNamespace(Identifier catalogName,
Identifier schemaName) |
Sequence |
Namespace.locateSequence(Identifier name) |
Table |
Namespace.locateTable(Identifier logicalTableName)
Returns the table with the specified logical table name.
|
QualifiedNameParser.NameParts |
QualifiedNameParser.parse(String text,
Identifier defaultCatalog,
Identifier defaultSchema)
Parses a textual representation of a qualified name into a NameParts
representation.
|
Constructor and Description |
---|
Name(Identifier catalog,
Identifier schema) |
Name(Identifier catalogIdentifier,
Identifier schemaIdentifier,
Identifier nameIdentifier) |
NameParts(Identifier catalogName,
Identifier schemaName,
Identifier objectName) |
QualifiedNameImpl(Identifier catalogName,
Identifier schemaName,
Identifier objectName) |
QualifiedNameImpl(Namespace.Name schemaName,
Identifier objectName) |
QualifiedSequenceName(Identifier catalogName,
Identifier schemaName,
Identifier sequenceName) |
QualifiedSequenceName(Namespace.Name schemaName,
Identifier sequenceName) |
QualifiedTableName(Identifier catalogName,
Identifier schemaName,
Identifier tableName) |
QualifiedTableName(Namespace.Name schemaName,
Identifier tableName) |
Sequence(Identifier catalogName,
Identifier schemaName,
Identifier sequenceName) |
Sequence(Identifier catalogName,
Identifier schemaName,
Identifier sequenceName,
int initialValue,
int incrementSize) |
Modifier and Type | Method and Description |
---|---|
Identifier |
RelationalObjectBinder.ColumnNamingDelegate.determineImplicitName(LocalMetadataBuildingContext context) |
Modifier and Type | Method and Description |
---|---|
void |
InFlightMetadataCollector.addColumnNameBinding(Table table,
Identifier logicalColumnName,
Column column) |
InFlightMetadataCollector.EntityTableXref |
InFlightMetadataCollector.addEntityTableXref(String entityName,
Identifier primaryTableLogicalName,
Table primaryTable,
InFlightMetadataCollector.EntityTableXref superEntityTableXref) |
void |
InFlightMetadataCollector.EntityTableXref.addSecondaryTable(LocalMetadataBuildingContext buildingContext,
Identifier logicalName,
Join secondaryTableJoin) |
void |
InFlightMetadataCollector.addTableNameBinding(Identifier logicalName,
Table table) |
String |
InFlightMetadataCollector.getLogicalColumnName(Table table,
Identifier physicalName) |
String |
InFlightMetadataCollector.getPhysicalColumnName(Table table,
Identifier logicalName) |
String |
InFlightMetadataCollector.getPhysicalTableName(Identifier logicalName) |
Join |
InFlightMetadataCollector.EntityTableXref.locateJoin(Identifier tableName) |
Table |
InFlightMetadataCollector.EntityTableXref.resolveTable(Identifier tableName) |
Constructor and Description |
---|
DuplicateSecondaryTableException(Identifier tableName) |
Modifier and Type | Method and Description |
---|---|
static Table |
TableBinder.buildAndFillTable(String schema,
String catalog,
Identifier logicalName,
boolean isAbstract,
List<UniqueConstraintHolder> uniqueConstraints,
List<JPAIndexHolder> jpaIndexHolders,
String constraints,
MetadataBuildingContext buildingContext,
String subselect,
InFlightMetadataCollector.EntityTableXref denormalizedSuperTableXref) |
Modifier and Type | Method and Description |
---|---|
Identifier |
NormalizingIdentifierHelperImpl.applyGlobalQuoting(String text) |
Identifier |
JdbcEnvironmentImpl.getCurrentCatalog() |
Identifier |
JdbcEnvironmentImpl.getCurrentSchema() |
Identifier |
NormalizingIdentifierHelperImpl.normalizeQuoting(Identifier identifier) |
Identifier |
NormalizingIdentifierHelperImpl.toIdentifier(String text) |
Identifier |
NormalizingIdentifierHelperImpl.toIdentifier(String text,
boolean quoted) |
Modifier and Type | Method and Description |
---|---|
Identifier |
NormalizingIdentifierHelperImpl.normalizeQuoting(Identifier identifier) |
String |
NormalizingIdentifierHelperImpl.toMetaDataCatalogName(Identifier identifier) |
String |
NormalizingIdentifierHelperImpl.toMetaDataObjectName(Identifier identifier) |
String |
NormalizingIdentifierHelperImpl.toMetaDataSchemaName(Identifier identifier) |
Modifier and Type | Method and Description |
---|---|
Identifier |
IdentifierHelper.applyGlobalQuoting(String text)
Intended only for use in handling quoting requirements for
column-definition
as defined by Column.columnDefinition() ,
JoinColumn.columnDefinition() , etc. |
Identifier |
JdbcEnvironment.getCurrentCatalog()
Get the current database catalog.
|
Identifier |
JdbcEnvironment.getCurrentSchema()
Get the current database catalog.
|
Identifier |
IdentifierHelper.normalizeQuoting(Identifier identifier)
Essentially quotes the identifier if it needs to be.
|
Identifier |
IdentifierHelper.toIdentifier(String text)
Generate an Identifier instance from its simple name as obtained from mapping
information.
|
Identifier |
IdentifierHelper.toIdentifier(String text,
boolean quoted)
Generate an Identifier instance from its simple name as obtained from mapping
information.
|
Modifier and Type | Method and Description |
---|---|
Identifier |
IdentifierHelper.normalizeQuoting(Identifier identifier)
Essentially quotes the identifier if it needs to be.
|
String |
IdentifierHelper.toMetaDataCatalogName(Identifier catalogIdentifier)
Render the Identifier representation of a catalog name into the String form needed
in
DatabaseMetaData calls. |
String |
IdentifierHelper.toMetaDataObjectName(Identifier identifier)
Render the Identifier representation of an object name (table, sequence, etc) into the
String form needed in
DatabaseMetaData calls. |
String |
IdentifierHelper.toMetaDataSchemaName(Identifier schemaIdentifier)
Render the Identifier representation of a schema name into the String form needed
in
DatabaseMetaData calls. |
Modifier and Type | Method and Description |
---|---|
protected Identifier |
SequenceStyleGenerator.determineValueColumnName(Properties params,
JdbcEnvironment jdbcEnvironment)
Determine the name of the column used to store the generator value in
the db.
|
Constructor and Description |
---|
TableStructure(JdbcEnvironment jdbcEnvironment,
QualifiedName qualifiedTableName,
Identifier valueColumnNameIdentifier,
int initialValue,
int incrementSize,
Class numberType) |
Modifier and Type | Method and Description |
---|---|
Identifier |
Table.getNameIdentifier() |
Modifier and Type | Method and Description |
---|---|
Column |
Table.getColumn(Identifier name) |
Column |
DenormalizedTable.getColumn(Identifier name) |
Iterator |
Table.sqlAlterStrings(Dialect dialect,
Metadata metadata,
TableInformation tableInfo,
Identifier defaultCatalog,
Identifier defaultSchema) |
Constructor and Description |
---|
DenormalizedTable(Namespace namespace,
Identifier physicalTableName,
boolean isAbstract,
Table includedTable) |
DenormalizedTable(Namespace namespace,
Identifier physicalTableName,
String subselectFragment,
boolean isAbstract,
Table includedTable) |
Table(Identifier catalog,
Identifier schema,
Identifier physicalTableName,
boolean isAbstract) |
Table(Namespace namespace,
Identifier physicalTableName,
boolean isAbstract) |
Table(Namespace namespace,
Identifier physicalTableName,
String subselect,
boolean isAbstract) |
Modifier and Type | Method and Description |
---|---|
Identifier |
ColumnInformationImpl.getColumnIdentifier() |
Identifier |
ExtractionContextImpl.getDefaultCatalog() |
Identifier |
ExtractionContextImpl.getDefaultSchema() |
Identifier |
ForeignKeyInformationImpl.getForeignKeyIdentifier() |
Identifier |
IndexInformationImpl.getIndexIdentifier() |
Identifier |
PrimaryKeyInformationImpl.getPrimaryKeyIdentifier() |
Modifier and Type | Method and Description |
---|---|
protected Map<Identifier,ForeignKeyInformation> |
TableInformationImpl.foreignKeys() |
protected Map<Identifier,IndexInformation> |
TableInformationImpl.indexes() |
Modifier and Type | Method and Description |
---|---|
static IndexInformationImpl.Builder |
IndexInformationImpl.builder(Identifier indexIdentifier) |
boolean |
DatabaseInformationImpl.catalogExists(Identifier catalog) |
boolean |
InformationExtractorJdbcDatabaseMetaDataImpl.catalogExists(Identifier catalog) |
ColumnInformation |
TableInformationImpl.getColumn(Identifier columnIdentifier) |
ForeignKeyInformation |
TableInformationImpl.getForeignKey(Identifier fkIdentifier) |
IndexInformation |
TableInformationImpl.getIndex(Identifier indexName) |
SequenceInformation |
DatabaseInformationImpl.getSequenceInformation(Identifier catalogName,
Identifier schemaName,
Identifier sequenceName) |
SequenceInformation |
DatabaseInformationImpl.getSequenceInformation(Namespace.Name schemaName,
Identifier sequenceName) |
TableInformation |
InformationExtractorJdbcDatabaseMetaDataImpl.getTable(Identifier catalog,
Identifier schema,
Identifier tableName) |
TableInformation |
DatabaseInformationImpl.getTableInformation(Identifier catalogName,
Identifier schemaName,
Identifier tableName) |
TableInformation |
DatabaseInformationImpl.getTableInformation(Namespace.Name namespace,
Identifier tableName) |
NameSpaceTablesInformation |
InformationExtractorJdbcDatabaseMetaDataImpl.getTables(Identifier catalog,
Identifier schema) |
boolean |
InformationExtractorJdbcDatabaseMetaDataImpl.schemaExists(Identifier catalog,
Identifier schema) |
protected String |
InformationExtractorJdbcDatabaseMetaDataImpl.toMetaDataObjectName(Identifier identifier) |
Constructor and Description |
---|
Builder(Identifier indexIdentifier) |
ColumnInformationImpl(TableInformation containingTableInformation,
Identifier columnIdentifier,
int typeCode,
String typeName,
int columnSize,
int decimalDigits,
TruthValue nullable) |
ExtractionContextImpl(ServiceRegistry serviceRegistry,
JdbcEnvironment jdbcEnvironment,
JdbcConnectionAccess jdbcConnectionAccess,
ExtractionContext.DatabaseObjectAccess registeredTableAccess,
Identifier defaultCatalogName,
Identifier defaultSchemaName) |
ForeignKeyBuilderImpl(Identifier fkIdentifier) |
ForeignKeyInformationImpl(Identifier fkIdentifier,
List<ForeignKeyInformation.ColumnReferenceMapping> columnMappingList) |
IndexInformationImpl(Identifier indexIdentifier,
List<ColumnInformation> columnList) |
PrimaryKeyInformationImpl(Identifier identifier,
Iterable<ColumnInformation> columns) |
Modifier and Type | Method and Description |
---|---|
Identifier |
ColumnInformation.getColumnIdentifier()
The simple (not qualified) column name.
|
Identifier |
ExtractionContext.getDefaultCatalog() |
Identifier |
ExtractionContext.getDefaultSchema() |
Identifier |
ForeignKeyInformation.getForeignKeyIdentifier()
Obtain the identifier for this FK.
|
Identifier |
IndexInformation.getIndexIdentifier()
Obtain the identifier for this index.
|
Identifier |
PrimaryKeyInformation.getPrimaryKeyIdentifier()
Obtain the identifier for this PK.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DatabaseInformation.catalogExists(Identifier catalog)
Check to see if the given catalog already exists.
|
boolean |
InformationExtractor.catalogExists(Identifier catalog)
Does the given catalog exist yet?
|
ColumnInformation |
TableInformation.getColumn(Identifier columnIdentifier)
Retrieve the named ColumnInformation
|
ForeignKeyInformation |
TableInformation.getForeignKey(Identifier keyName)
Retrieve the named ForeignKeyInformation
|
IndexInformation |
TableInformation.getIndex(Identifier indexName)
Retrieve the named IndexInformation
|
SequenceInformation |
DatabaseInformation.getSequenceInformation(Identifier catalogName,
Identifier schemaName,
Identifier sequenceName)
Obtain reference to the named SequenceInformation
|
SequenceInformation |
DatabaseInformation.getSequenceInformation(Namespace.Name schemaName,
Identifier sequenceName)
Obtain reference to the named SequenceInformation
|
TableInformation |
InformationExtractor.getTable(Identifier catalog,
Identifier schema,
Identifier tableName)
Look for a matching table.
|
TableInformation |
DatabaseInformation.getTableInformation(Identifier catalogName,
Identifier schemaName,
Identifier tableName)
Obtain reference to the named TableInformation
|
TableInformation |
DatabaseInformation.getTableInformation(Namespace.Name schemaName,
Identifier tableName)
Obtain reference to the named TableInformation
|
NameSpaceTablesInformation |
InformationExtractor.getTables(Identifier catalog,
Identifier schema)
Extract all the tables information.
|
boolean |
InformationExtractor.schemaExists(Identifier catalog,
Identifier schema)
The the given schema exist yet?
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractSchemaMigrator.createSchemaAndCatalog(DatabaseInformation existingDatabase,
ExecutionOptions options,
Dialect dialect,
Formatter formatter,
boolean tryToCreateCatalogs,
boolean tryToCreateSchemas,
Set<Identifier> exportedCatalogs,
Namespace namespace,
GenerationTarget[] targets) |
protected abstract NameSpaceTablesInformation |
AbstractSchemaMigrator.performTablesMigration(Metadata metadata,
DatabaseInformation existingDatabase,
ExecutionOptions options,
Dialect dialect,
Formatter formatter,
Set<String> exportIdentifiers,
boolean tryToCreateCatalogs,
boolean tryToCreateSchemas,
Set<Identifier> exportedCatalogs,
Namespace namespace,
GenerationTarget[] targets) |
protected NameSpaceTablesInformation |
GroupedSchemaMigratorImpl.performTablesMigration(Metadata metadata,
DatabaseInformation existingDatabase,
ExecutionOptions options,
Dialect dialect,
Formatter formatter,
Set<String> exportIdentifiers,
boolean tryToCreateCatalogs,
boolean tryToCreateSchemas,
Set<Identifier> exportedCatalogs,
Namespace namespace,
GenerationTarget[] targets) |
protected NameSpaceTablesInformation |
IndividuallySchemaMigratorImpl.performTablesMigration(Metadata metadata,
DatabaseInformation existingDatabase,
ExecutionOptions options,
Dialect dialect,
Formatter formatter,
Set<String> exportIdentifiers,
boolean tryToCreateCatalogs,
boolean tryToCreateSchemas,
Set<Identifier> exportedCatalogs,
Namespace namespace,
GenerationTarget[] targets) |
Modifier and Type | Method and Description |
---|---|
Identifier |
ImprovedExtractionContextImpl.getDefaultCatalog() |
Identifier |
ImprovedExtractionContextImpl.getDefaultSchema() |
Constructor and Description |
---|
ImprovedExtractionContextImpl(ServiceRegistry serviceRegistry,
JdbcEnvironment jdbcEnvironment,
DdlTransactionIsolator ddlTransactionIsolator,
Identifier defaultCatalog,
Identifier defaultSchema,
ExtractionContext.DatabaseObjectAccess databaseObjectAccess) |
Copyright © 2020 JBoss by Red Hat. All rights reserved.