Top Fields Constructors Methods
org.hibernate.mapping

public Class DenormalizedTable

extends Table
Class Inheritance
Imports
java.util.ArrayList, .Collection, .Iterator, .List, org.hibernate.Internal, org.hibernate.boot.model.naming.Identifier, org.hibernate.boot.model.relational.Namespace, org.hibernate.internal.util.collections.JoinedList

Author
Gavin King

Field Summary

Modifier and TypeField and Description
private final Table
private List<Column>

Constructor Summary

AccessConstructor and Description
public
DenormalizedTable(String contributor, Namespace namespace, Identifier physicalTableName, boolean isAbstract, Table includedTable)

public
DenormalizedTable(String contributor, Namespace namespace, Identifier physicalTableName, String subselectFragment, boolean isAbstract, Table includedTable)

public
DenormalizedTable(String contributor, Namespace namespace, String subselect, boolean isAbstract, Table includedTable)

Method Summary

Modifier and TypeMethod and Description
public boolean
public void
public Column
getColumn(Column
column with at least a name.
column
)

Overrides org.hibernate.mapping.Table.getColumn.

Return the column which is identified by column provided as argument.
public Column
public Collection<Column>
public Table
public PrimaryKey
public Iterator<UniqueKey>
public void
Inherited from org.hibernate.mapping.Table:
addCheckaddCheckConstraintaddColumnaddIndexaddInitCommandaddInitCommandaddUniqueKeycolumnRenamedcreateForeignKeycreateForeignKeycreateUniqueKeyequalsequalsgetCataloggetCatalogIdentifiergetCheckConstraintsgetCheckConstraintsIteratorgetChecksgetColumngetColumngetColumnSpangetCommentgetContributorgetExportIdentifiergetForeignKeyIteratorgetForeignKeysgetIdentifierValuegetIndexgetIndexesgetInitCommandsgetNamegetNameIdentifiergetOrCreateIndexgetOrCreateUniqueKeygetQualifiedNamegetQualifiedTableNamegetQuotedCataloggetQuotedCataloggetQuotedNamegetQuotedNamegetQuotedSchemagetQuotedSchemagetRowIdgetSchemagetSchemaIdentifiergetSubselectgetUniqueIntegergetUniqueKeygetUniqueKeysgetViewQueryhasDenormalizedTableshashCodehasPrimaryKeyisAbstractisAbstractUnionTableisCatalogQuotedisPhysicalTableisPrimaryKeyisQuotedisSchemaQuotedisSubselectisViewqualifysetAbstractsetCatalogsetCommentsetHasDenormalizedTablessetIdentifierValuesetNamesetPrimaryKeysetQuotedsetRowIdsetSchemasetSubselectsetUniqueIntegersetViewQuerysqlAlterStringstoString

Field Detail

includedTableback to summary
private final Table includedTable
reorderedColumnsback to summary
private List<Column> reorderedColumns

Constructor Detail

DenormalizedTableback to summary
public DenormalizedTable(String contributor, Namespace namespace, Identifier physicalTableName, boolean isAbstract, Table includedTable)
DenormalizedTableback to summary
public DenormalizedTable(String contributor, Namespace namespace, Identifier physicalTableName, String subselectFragment, boolean isAbstract, Table includedTable)
DenormalizedTableback to summary
public DenormalizedTable(String contributor, Namespace namespace, String subselect, boolean isAbstract, Table includedTable)

Method Detail

containsColumnback to summary
public boolean containsColumn(Column column)

Overrides org.hibernate.mapping.Table.containsColumn.

Annotations
@Override
createForeignKeysback to summary
public void createForeignKeys()

Overrides org.hibernate.mapping.Table.createForeignKeys.

Annotations
@Override
getColumnback to summary
public Column getColumn(Column column)

Overrides org.hibernate.mapping.Table.getColumn.

Doc from org.hibernate.mapping.Table.getColumn.

Return the column which is identified by column provided as argument.

Parameters
column:Column

column with at least a name.

Returns:Column

the underlying column or null if not inside this table.

Note

the instance *can* be different than the input parameter, but the name will be the same.

Annotations
@Override
getColumnback to summary
public Column getColumn(Identifier name)

Overrides org.hibernate.mapping.Table.getColumn.

getColumnsback to summary
public Collection<Column> getColumns()

Overrides org.hibernate.mapping.Table.getColumns.

Annotations
@Override
getIncludedTableback to summary
public Table getIncludedTable()
getPrimaryKeyback to summary
public PrimaryKey getPrimaryKey()

Overrides org.hibernate.mapping.Table.getPrimaryKey.

Annotations
@Override
getUniqueKeyIteratorback to summary
public Iterator<UniqueKey> getUniqueKeyIterator()

Overrides org.hibernate.mapping.Table.getUniqueKeyIterator.

Deprecated

Annotations
@Override
@Deprecated
reorderColumnsback to summary
public void reorderColumns(List<Column> columns)

Overrides org.hibernate.mapping.Table.reorderColumns.

Annotations
@Internal
@Override