public class ExtendedRelationsDao extends BaseDaoImpl<ExtendedRelation,Long>
Dao.CreateOrUpdateStatus, Dao.DaoObserverconnectionSource, databaseType, dataClass, lastIterator, objectFactory, statementExecutor, tableConfig, tableInfo| Constructor and Description |
|---|
ExtendedRelationsDao(ConnectionSource connectionSource,
Class<ExtendedRelation> dataClass)
Constructor, required by ORMLite
|
| Modifier and Type | Method and Description |
|---|---|
List<ExtendedRelation> |
getBaseTableRelations(String baseTable)
Get the relations to the base table
|
List<String> |
getBaseTables()
Get all the base table names
|
List<ExtendedRelation> |
getRelatedTableRelations(String relatedTable)
Get the relations to the related table
|
List<String> |
getRelatedTables()
Get all the related table names
|
List<ExtendedRelation> |
getRelations(String baseTable,
String baseColumn,
String relatedTable,
String relatedColumn,
String relation,
String mappingTable)
Get the relations matching the non null provided values
|
List<ExtendedRelation> |
getTableRelations(String table)
Get the relations to the table, both base table and related 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 ExtendedRelationsDao(ConnectionSource connectionSource, Class<ExtendedRelation> dataClass) throws SQLException
connectionSource - connection sourcedataClass - data classSQLException - upon failurepublic List<String> getBaseTables() throws SQLException
SQLException - upon failurepublic List<String> getRelatedTables() throws SQLException
SQLException - upon failurepublic List<ExtendedRelation> getBaseTableRelations(String baseTable) throws SQLException
baseTable - base tableSQLException - upon failurepublic List<ExtendedRelation> getRelatedTableRelations(String relatedTable) throws SQLException
relatedTable - related tableSQLException - upon failurepublic List<ExtendedRelation> getTableRelations(String table) throws SQLException
table - table nameSQLException - upon failurepublic List<ExtendedRelation> getRelations(String baseTable, String baseColumn, String relatedTable, String relatedColumn, String relation, String mappingTable) throws SQLException
baseTable - base table namebaseColumn - base primary column namerelatedTable - related table namerelatedColumn - related primary column namerelation - relation namemappingTable - mapping table nameSQLException - upon failureCopyright © 2019 National Geospatial-Intelligence Agency. All rights reserved.