Package org.hibernate.dialect.temptable
Class TemporaryTable
- java.lang.Object
-
- org.hibernate.dialect.temptable.TemporaryTable
-
- All Implemented Interfaces:
Exportable
,Contributable
public class TemporaryTable extends Object implements Exportable, Contributable
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_ALIAS
static String
ENTITY_TABLE_IDENTITY_COLUMN
static String
ENTITY_TABLE_PREFIX
static String
ID_TABLE_PREFIX
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TemporaryTable
createEntityTable(EntityMappingType entityDescriptor, Function<String,String> temporaryTableNameAdjuster, Dialect dialect, RuntimeModelCreationContext runtimeModelCreationContext)
static TemporaryTable
createIdTable(EntityMappingType entityDescriptor, Function<String,String> temporaryTableNameAdjuster, Dialect dialect, RuntimeModelCreationContext runtimeModelCreationContext)
List<TemporaryTableColumn>
getColumns()
List<TemporaryTableColumn>
getColumnsForExport()
String
getContributor()
The name of the contributor which contributed thisDialect
getDialect()
EntityMappingType
getEntityDescriptor()
String
getExportIdentifier()
Get a unique identifier to make sure we are not exporting the same database structure multiple times.String
getQualifiedTableName()
TemporaryTableSessionUidColumn
getSessionUidColumn()
String
getTableExpression()
-
-
-
Field Detail
-
ID_TABLE_PREFIX
public static final String ID_TABLE_PREFIX
- See Also:
- Constant Field Values
-
ENTITY_TABLE_PREFIX
public static final String ENTITY_TABLE_PREFIX
- See Also:
- Constant Field Values
-
DEFAULT_ALIAS
public static final String DEFAULT_ALIAS
- See Also:
- Constant Field Values
-
ENTITY_TABLE_IDENTITY_COLUMN
public static final String ENTITY_TABLE_IDENTITY_COLUMN
- See Also:
- Constant Field Values
-
-
Method Detail
-
createIdTable
public static TemporaryTable createIdTable(EntityMappingType entityDescriptor, Function<String,String> temporaryTableNameAdjuster, Dialect dialect, RuntimeModelCreationContext runtimeModelCreationContext)
-
createEntityTable
public static TemporaryTable createEntityTable(EntityMappingType entityDescriptor, Function<String,String> temporaryTableNameAdjuster, Dialect dialect, RuntimeModelCreationContext runtimeModelCreationContext)
-
getEntityDescriptor
public EntityMappingType getEntityDescriptor()
-
getQualifiedTableName
public String getQualifiedTableName()
-
getColumns
public List<TemporaryTableColumn> getColumns()
-
getColumnsForExport
public List<TemporaryTableColumn> getColumnsForExport()
-
getSessionUidColumn
public TemporaryTableSessionUidColumn getSessionUidColumn()
-
getTableExpression
public String getTableExpression()
-
getContributor
public String getContributor()
Description copied from interface:Contributable
The name of the contributor which contributed this- Specified by:
getContributor
in interfaceContributable
-
getExportIdentifier
public String getExportIdentifier()
Description copied from interface:Exportable
Get a unique identifier to make sure we are not exporting the same database structure multiple times.- Specified by:
getExportIdentifier
in interfaceExportable
- Returns:
- The exporting identifier.
-
getDialect
public Dialect getDialect()
-
-