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 boolean
containsColumn(Column column)
void
createForeignKeys()
Column
getColumn(Identifier name)
Column
getColumn(Column column)
Return the column which is identified by column provided as argument.Collection<Column>
getColumns()
Table
getIncludedTable()
PrimaryKey
getPrimaryKey()
Iterator<UniqueKey>
getUniqueKeyIterator()
Deprecated.void
reorderColumns(List<Column> columns)
-
Methods inherited from class org.hibernate.mapping.Table
addCheck, addCheckConstraint, addColumn, addIndex, addInitCommand, addInitCommand, addUniqueKey, columnRenamed, createForeignKey, createForeignKey, createUniqueKey, equals, equals, getCatalog, getCatalogIdentifier, getCheckConstraints, getCheckConstraintsIterator, getChecks, getColumn, getColumn, getColumnSpan, getComment, getContributor, getExportIdentifier, getForeignKeyIterator, getForeignKeys, getIdentifierValue, 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, setIdentifierValue, 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()
- Overrides:
createForeignKeys
in classTable
-
getColumn
public Column getColumn(Column column)
Description copied from class:Table
Return the column which is identified by column provided as argument.
-
getColumn
public Column getColumn(Identifier name)
-
getColumns
public Collection<Column> getColumns()
- Overrides:
getColumns
in classTable
-
containsColumn
public boolean containsColumn(Column column)
- Overrides:
containsColumn
in classTable
-
getPrimaryKey
public PrimaryKey getPrimaryKey()
- Overrides:
getPrimaryKey
in classTable
-
getUniqueKeyIterator
@Deprecated public Iterator<UniqueKey> getUniqueKeyIterator()
Deprecated.- Overrides:
getUniqueKeyIterator
in classTable
-
getIncludedTable
public Table getIncludedTable()
-
reorderColumns
@Internal public void reorderColumns(List<Column> columns)
- Overrides:
reorderColumns
in classTable
-
-