public class GeometryIndexDao extends BaseDaoImpl<GeometryIndex,GeometryIndexKey>
Dao.CreateOrUpdateStatusconnectionSource, databaseType, dataClass, lastIterator, objectFactory, statementExecutor, tableConfig, tableInfo| Constructor and Description |
|---|
GeometryIndexDao(ConnectionSource connectionSource,
Class<GeometryIndex> dataClass)
Constructor, required by ORMLite
|
| Modifier and Type | Method and Description |
|---|---|
int |
delete(GeometryIndex data) |
int |
deleteAll()
Delete all geometry indices
|
int |
deleteById(GeometryIndexKey id) |
int |
deleteIds(Collection<GeometryIndexKey> idCollection) |
GeometryIndexKey |
extractId(GeometryIndex data) |
boolean |
idExists(GeometryIndexKey id) |
GeometryIndex |
populate(TableIndex tableIndex,
long geomId,
GeometryEnvelope envelope)
Populate a new geometry index from an envelope
|
GeometryIndex |
queryForId(GeometryIndexKey key) |
GeometryIndex |
queryForSameId(GeometryIndex data) |
List<GeometryIndex> |
queryForTableName(String tableName)
Query by table name
|
int |
update(GeometryIndex geometryIndex)
Update using the complex key
|
int |
updateId(GeometryIndex data,
GeometryIndexKey newId) |
assignEmptyForeignCollection, callBatchTasks, checkForInitialized, clearAllInternalObjectCaches, clearObjectCache, closeableIterator, closeLastIterator, commit, countOf, countOf, create, createIfNotExists, createOrUpdate, delete, delete, deleteBuilder, endThreadConnection, executeRaw, executeRawNoArgs, findForeignFieldType, getConnectionSource, getDataClass, getEmptyForeignCollection, getObjectCache, getObjectFactory, getRawRowMapper, getSelectStarRowMapper, getTableConfig, getTableInfo, getWrappedIterable, getWrappedIterable, initialize, isAutoCommit, isAutoCommit, isTableExists, isUpdatable, iterator, iterator, iterator, iterator, mapSelectStarRow, objectsEqual, objectToString, query, queryBuilder, queryForAll, queryForEq, queryForFieldValues, queryForFieldValuesArgs, queryForFirst, queryForMatching, queryForMatchingArgs, queryRaw, queryRaw, queryRaw, queryRaw, queryRawValue, refresh, rollBack, setAutoCommit, setAutoCommit, setConnectionSource, setObjectCache, setObjectCache, setObjectFactory, setTableConfig, startThreadConnection, update, updateBuilder, updateRawclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic GeometryIndexDao(ConnectionSource connectionSource, Class<GeometryIndex> dataClass) throws SQLException
connectionSource - dataClass - SQLExceptionpublic GeometryIndex queryForId(GeometryIndexKey key) throws SQLException
queryForId in interface Dao<GeometryIndex,GeometryIndexKey>queryForId in class BaseDaoImpl<GeometryIndex,GeometryIndexKey>SQLExceptionpublic GeometryIndexKey extractId(GeometryIndex data) throws SQLException
extractId in interface Dao<GeometryIndex,GeometryIndexKey>extractId in class BaseDaoImpl<GeometryIndex,GeometryIndexKey>SQLExceptionpublic boolean idExists(GeometryIndexKey id) throws SQLException
idExists in interface Dao<GeometryIndex,GeometryIndexKey>idExists in class BaseDaoImpl<GeometryIndex,GeometryIndexKey>SQLExceptionpublic GeometryIndex queryForSameId(GeometryIndex data) throws SQLException
queryForSameId in interface Dao<GeometryIndex,GeometryIndexKey>queryForSameId in class BaseDaoImpl<GeometryIndex,GeometryIndexKey>SQLExceptionpublic int updateId(GeometryIndex data, GeometryIndexKey newId) throws SQLException
updateId in interface Dao<GeometryIndex,GeometryIndexKey>updateId in class BaseDaoImpl<GeometryIndex,GeometryIndexKey>SQLExceptionpublic int delete(GeometryIndex data) throws SQLException
delete in interface Dao<GeometryIndex,GeometryIndexKey>delete in class BaseDaoImpl<GeometryIndex,GeometryIndexKey>SQLExceptionpublic int deleteById(GeometryIndexKey id) throws SQLException
deleteById in interface Dao<GeometryIndex,GeometryIndexKey>deleteById in class BaseDaoImpl<GeometryIndex,GeometryIndexKey>SQLExceptionpublic int deleteIds(Collection<GeometryIndexKey> idCollection) throws SQLException
deleteIds in interface Dao<GeometryIndex,GeometryIndexKey>deleteIds in class BaseDaoImpl<GeometryIndex,GeometryIndexKey>SQLExceptionpublic int update(GeometryIndex geometryIndex) throws SQLException
update in interface Dao<GeometryIndex,GeometryIndexKey>update in class BaseDaoImpl<GeometryIndex,GeometryIndexKey>SQLExceptionpublic List<GeometryIndex> queryForTableName(String tableName)
tableName - public GeometryIndex populate(TableIndex tableIndex, long geomId, GeometryEnvelope envelope)
tableIndex - geomId - envelope - public int deleteAll()
throws SQLException
SQLExceptionCopyright © 2016 National Geospatial-Intelligence Agency. All rights reserved.