public class TableIndexDao extends BaseDaoImpl<TableIndex,String>
Dao.CreateOrUpdateStatus, Dao.DaoObserverconnectionSource, databaseType, dataClass, lastIterator, objectFactory, statementExecutor, tableConfig, tableInfo| Constructor and Description |
|---|
TableIndexDao(ConnectionSource connectionSource,
Class<TableIndex> dataClass)
Constructor, required by ORMLite
|
| Modifier and Type | Method and Description |
|---|---|
int |
deleteAll()
Delete all table indices
|
int |
deleteAllCascade()
Delete all table indices, cascading to geometry indices
|
int |
deleteByIdCascade(String id)
Delete a TableIndex by id, cascading
|
int |
deleteCascade(Collection<TableIndex> tableIndexCollection)
Delete the collection of TableIndex, cascading
|
int |
deleteCascade(PreparedQuery<TableIndex> preparedDelete)
Delete the TableIndex matching the prepared query, cascading
|
int |
deleteCascade(TableIndex tableIndex)
Delete the TableIndex, cascading
|
int |
deleteIdsCascade(Collection<String> idCollection)
Delete the TableIndex with the provided ids, cascading
|
void |
deleteTable(String table)
Delete the table
|
assignEmptyForeignCollection, callBatchTasks, checkForInitialized, clearAllInternalObjectCaches, clearObjectCache, closeableIterator, closeLastIterator, commit, countOf, countOf, create, create, createIfNotExists, createOrUpdate, delete, delete, delete, deleteBuilder, deleteById, deleteIds, endThreadConnection, executeRaw, executeRawNoArgs, extractId, findForeignFieldType, getConnectionSource, getDataClass, getEmptyForeignCollection, getObjectCache, getObjectFactory, getRawRowMapper, getSelectStarRowMapper, getTableConfig, getTableInfo, getTableName, getWrappedIterable, getWrappedIterable, idExists, initialize, isAutoCommit, isTableExists, isUpdatable, iterator, iterator, iterator, iterator, mapSelectStarRow, notifyChanges, objectsEqual, objectToString, query, queryBuilder, queryForAll, queryForEq, queryForFieldValues, queryForFieldValuesArgs, queryForFirst, queryForId, queryForMatching, queryForMatchingArgs, queryForSameId, queryRaw, queryRaw, queryRaw, queryRaw, queryRaw, queryRawValue, refresh, registerObserver, rollBack, setAutoCommit, setConnectionSource, setObjectCache, setObjectCache, setObjectFactory, setTableConfig, startThreadConnection, unregisterObserver, update, update, updateBuilder, updateId, updateRawclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic TableIndexDao(ConnectionSource connectionSource, Class<TableIndex> dataClass) throws SQLException
connectionSource - connection sourcedataClass - data classSQLException - upon creation failurepublic int deleteCascade(TableIndex tableIndex) throws SQLException
tableIndex - table indexSQLException - upon deletion errorpublic int deleteCascade(Collection<TableIndex> tableIndexCollection) throws SQLException
tableIndexCollection - table index collectionSQLException - upon deletion failurepublic int deleteCascade(PreparedQuery<TableIndex> preparedDelete) throws SQLException
preparedDelete - prepared querySQLException - upon deletion failurepublic int deleteByIdCascade(String id) throws SQLException
id - idSQLException - upon deletion failurepublic int deleteIdsCascade(Collection<String> idCollection) throws SQLException
idCollection - id collectionSQLException - upon deletion failurepublic void deleteTable(String table)
table - table namepublic int deleteAllCascade()
throws SQLException
SQLException - upon deletion failurepublic int deleteAll()
throws SQLException
SQLException - upon deletion failureCopyright © 2019 National Geospatial-Intelligence Agency. All rights reserved.