Package org.hibernate.mapping
Class DenormalizedTable
- java.lang.Object
-
- org.hibernate.mapping.Table
-
- org.hibernate.mapping.DenormalizedTable
-
- All Implemented Interfaces:
Serializable,ContributableDatabaseObject,Exportable,Contributable
public class DenormalizedTable extends Table
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.hibernate.mapping.Table
Table.ForeignKeyKey
-
-
Constructor Summary
Constructors Constructor Description DenormalizedTable(String contributor, Namespace namespace, String subselect, boolean isAbstract, Table includedTable)DenormalizedTable(String contributor, Namespace namespace, Identifier physicalTableName, boolean isAbstract, Table includedTable)DenormalizedTable(String contributor, Namespace namespace, Identifier physicalTableName, String subselectFragment, boolean isAbstract, Table includedTable)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsColumn(Column column)voidcreateForeignKeys(MetadataBuildingContext context)ColumngetColumn(Identifier name)ColumngetColumn(Column column)Return the column which is identified by column provided as argument.Collection<Column>getColumns()TablegetIncludedTable()PrimaryKeygetPrimaryKey()Iterator<UniqueKey>getUniqueKeyIterator()Deprecated, for removal: This API element is subject to removal in a future version.voidreorderColumns(List<Column> columns)-
Methods inherited from class org.hibernate.mapping.Table
addCheck, addCheckConstraint, addColumn, addIndex, addInitCommand, addInitCommand, addUniqueKey, columnRenamed, createForeignKey, createForeignKey, createUniqueKey, createUniqueKey, createUniqueKey, equals, equals, getCatalog, getCatalogIdentifier, getCheckConstraints, getCheckConstraintsIterator, getChecks, getColumn, getColumn, getColumnSpan, getComment, getContributor, getExportIdentifier, getForeignKeyIterator, getForeignKeys, getIndex, getIndexes, getInitCommands, getName, getNameIdentifier, getOrCreateIndex, getOrCreateUniqueKey, getQualifiedName, getQualifiedTableName, getQuotedCatalog, getQuotedCatalog, getQuotedName, getQuotedName, getQuotedSchema, getQuotedSchema, getRowId, getSchema, getSchemaIdentifier, getSubselect, getUniqueInteger, getUniqueKey, getUniqueKeys, getViewQuery, hasDenormalizedTables, hashCode, hasPrimaryKey, isAbstract, isAbstractUnionTable, isCatalogQuoted, isPhysicalTable, isPrimaryKey, isQuoted, isSchemaQuoted, isSubselect, isView, qualify, setAbstract, setCatalog, setComment, setName, setPrimaryKey, setQuoted, setRowId, setSchema, setSubselect, setUniqueInteger, setViewQuery, sqlAlterStrings, toString
-
-
-
-
Constructor Detail
-
DenormalizedTable
public DenormalizedTable(String contributor, Namespace namespace, Identifier physicalTableName, boolean isAbstract, Table includedTable)
-
DenormalizedTable
public DenormalizedTable(String contributor, Namespace namespace, Identifier physicalTableName, String subselectFragment, boolean isAbstract, Table includedTable)
-
-
Method Detail
-
createForeignKeys
public void createForeignKeys(MetadataBuildingContext context)
- Overrides:
createForeignKeysin classTable
-
getColumn
public Column getColumn(Column column)
Description copied from class:TableReturn the column which is identified by column provided as argument.
-
getColumn
public Column getColumn(Identifier name)
-
getColumns
public Collection<Column> getColumns()
- Overrides:
getColumnsin classTable
-
containsColumn
public boolean containsColumn(Column column)
- Overrides:
containsColumnin classTable
-
getPrimaryKey
public PrimaryKey getPrimaryKey()
- Overrides:
getPrimaryKeyin classTable
-
getUniqueKeyIterator
@Deprecated(forRemoval=true) public Iterator<UniqueKey> getUniqueKeyIterator()
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
getUniqueKeyIteratorin classTable
-
getIncludedTable
public Table getIncludedTable()
-
reorderColumns
@Internal public void reorderColumns(List<Column> columns)
- Overrides:
reorderColumnsin classTable
-
-