final class LocalTempTableHelper extends TempTableHelper
This class is responsible for local temporary tables support: the created tables and indices will be local to the session which created them.
database, schema, UNIQUE_SUFFIX_KEY| Constructor and Description |
|---|
LocalTempTableHelper(java.lang.Class<? extends DataModelObject> dmoIface)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) java.lang.String |
getAdditionalIndexSuffix()
This method will return an additional suffix to make the index unique across sessions.
|
(package private) java.lang.String |
getCreateTableStatement()
This method will return the needed create table string, which is the
"create local temporary table" string.
|
(package private) java.util.Iterator<P2JIndex> |
getIndexes(java.lang.String schema,
java.lang.Class<? extends DataModelObject> dmoIface)
This method will return the indexes associated with a certain DMO, as
retrieved from the dmo_index.xml file.
|
(package private) boolean |
isNotNullAllowed()
Indicate whether non-nullable columns are permitted.
|
get, getImplicitIndexName, getImplicitSqlIndexName, getTableName, sqlTempTableCreate, sqlTempTableDrop, sqlTempTableIndexCreate, sqlTempTableIndexDropLocalTempTableHelper(java.lang.Class<? extends DataModelObject> dmoIface)
dmoIface - DMO interface which provides the public API to the temp table.java.lang.String getCreateTableStatement()
getCreateTableStatement in class TempTableHelperjava.lang.String getAdditionalIndexSuffix()
getAdditionalIndexSuffix in class TempTableHelperjava.util.Iterator<P2JIndex> getIndexes(java.lang.String schema, java.lang.Class<? extends DataModelObject> dmoIface)
getIndexes in class TempTableHelperschema - The schema used for this DMO.dmoIface - The DMO for which to retrieve the indexes.boolean isNotNullAllowed()
isNotNullAllowed in class TempTableHelpertrue if non-nullable columns are permitted, else false.