Class AbstractCacheTableModel
- java.lang.Object
-
- org.citydb.citygml.common.cache.model.AbstractCacheTableModel
-
- Direct Known Subclasses:
CacheTableBasic
,CacheTableDeprecatedMaterial
,CacheTableGeometryGmlId
,CacheTableGlobalAppearance
,CacheTableGroupToCityObject
,CacheTableLibraryObject
,CacheTableLinearRing
,CacheTableObjectGmlId
,CacheTableSolidGeometry
,CacheTableSurfaceDataToTexImage
,CacheTableSurfaceGeometry
,CacheTableTextureAssociation
,CacheTableTextureAssociationTarget
,CacheTableTextureCoordList
,CacheTableTextureFile
,CacheTableTextureFileId
,CacheTableTextureParam
public abstract class AbstractCacheTableModel extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
create(java.sql.Connection conn, java.lang.String tableName, AbstractSQLAdapter sqlAdapter)
void
createAsSelect(java.sql.Connection conn, java.lang.String tableName, java.lang.String select, AbstractSQLAdapter sqlAdapter)
void
createIndexes(java.sql.Connection conn, java.lang.String tableName, java.lang.String properties)
void
drop(java.sql.Connection conn, java.lang.String tableName)
protected abstract java.lang.String
getColumns(AbstractSQLAdapter sqlAdapter)
abstract CacheTableModel
getType()
long
size(java.sql.Connection conn, java.lang.String tableName)
void
truncate(java.sql.Connection conn, java.lang.String tableName)
-
-
-
Method Detail
-
getType
public abstract CacheTableModel getType()
-
getColumns
protected abstract java.lang.String getColumns(AbstractSQLAdapter sqlAdapter)
-
create
public void create(java.sql.Connection conn, java.lang.String tableName, AbstractSQLAdapter sqlAdapter) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
createAsSelect
public void createAsSelect(java.sql.Connection conn, java.lang.String tableName, java.lang.String select, AbstractSQLAdapter sqlAdapter) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
size
public long size(java.sql.Connection conn, java.lang.String tableName) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
truncate
public void truncate(java.sql.Connection conn, java.lang.String tableName) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
drop
public void drop(java.sql.Connection conn, java.lang.String tableName) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
createIndexes
public void createIndexes(java.sql.Connection conn, java.lang.String tableName, java.lang.String properties) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
-