Package org.citydb.citygml.common.cache
Class BranchCacheTable
- java.lang.Object
-
- org.citydb.citygml.common.cache.AbstractCacheTable
-
- org.citydb.citygml.common.cache.BranchCacheTable
-
public class BranchCacheTable extends AbstractCacheTable
-
-
Field Summary
-
Fields inherited from class org.citydb.citygml.common.cache.AbstractCacheTable
connection, ID, sqlAdapter
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BranchCacheTable(CacheTableModel model, java.sql.Connection connection, AbstractSQLAdapter sqlAdapter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CacheTable
branch()
CacheTable
branchAndIndex()
protected void
create()
protected void
createAndIndex()
protected void
drop()
java.util.List<CacheTable>
getBranchTables()
CacheTable
getMainTable()
CacheTableModel
getModelType()
boolean
isCreated()
-
Methods inherited from class org.citydb.citygml.common.cache.AbstractCacheTable
getConnection
-
-
-
-
Constructor Detail
-
BranchCacheTable
protected BranchCacheTable(CacheTableModel model, java.sql.Connection connection, AbstractSQLAdapter sqlAdapter)
-
-
Method Detail
-
create
protected void create() throws java.sql.SQLException
- Specified by:
create
in classAbstractCacheTable
- Throws:
java.sql.SQLException
-
createAndIndex
protected void createAndIndex() throws java.sql.SQLException
- Specified by:
createAndIndex
in classAbstractCacheTable
- Throws:
java.sql.SQLException
-
branch
public CacheTable branch() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
branchAndIndex
public CacheTable branchAndIndex() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
getMainTable
public CacheTable getMainTable()
-
getBranchTables
public java.util.List<CacheTable> getBranchTables()
-
isCreated
public boolean isCreated()
- Specified by:
isCreated
in classAbstractCacheTable
-
drop
protected void drop() throws java.sql.SQLException
- Specified by:
drop
in classAbstractCacheTable
- Throws:
java.sql.SQLException
-
getModelType
public CacheTableModel getModelType()
- Specified by:
getModelType
in classAbstractCacheTable
-
-