public class DataColumnConstraintsDao extends com.j256.ormlite.dao.BaseDaoImpl<DataColumnConstraints,Void>
| Constructor and Description |
|---|
DataColumnConstraintsDao(com.j256.ormlite.support.ConnectionSource connectionSource,
Class<DataColumnConstraints> dataClass)
Constructor, required by ORMLite
|
| Modifier and Type | Method and Description |
|---|---|
int |
delete(DataColumnConstraints dataColumnConstraints)
Delete using the unique columns
|
int |
deleteCascade(Collection<DataColumnConstraints> constraintsCollection)
Delete the collection of Data Column Constraints, cascading
|
int |
deleteCascade(DataColumnConstraints constraints)
Delete the Data Columns Constraints, cascading
|
int |
deleteCascade(com.j256.ormlite.stmt.PreparedQuery<DataColumnConstraints> preparedDelete)
Delete the Data Column Constraints matching the prepared query, cascading
|
List<DataColumnConstraints> |
queryByConstraintName(String constraintName)
Query by the constraint name
|
DataColumnConstraints |
queryByUnique(String constraintName,
DataColumnConstraintType constraintType,
String value)
Query by the unique column values
|
int |
update(DataColumnConstraints dataColumnConstraints)
Update using the unique columns
|
assignEmptyForeignCollection, callBatchTasks, checkForInitialized, clearAllInternalObjectCaches, clearObjectCache, closeableIterator, closeLastIterator, commit, countOf, countOf, create, create, createIfNotExists, createOrUpdate, 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, updateBuilder, updateId, updateRawclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic DataColumnConstraintsDao(com.j256.ormlite.support.ConnectionSource connectionSource,
Class<DataColumnConstraints> dataClass)
throws SQLException
connectionSource - connection sourcedataClass - data classSQLException - upon failurepublic int deleteCascade(DataColumnConstraints constraints) throws SQLException
constraints - data column constraintsSQLException - upon failurepublic int deleteCascade(Collection<DataColumnConstraints> constraintsCollection) throws SQLException
constraintsCollection - constraints collectionSQLException - upon failurepublic int deleteCascade(com.j256.ormlite.stmt.PreparedQuery<DataColumnConstraints> preparedDelete) throws SQLException
preparedDelete - prepared delete querySQLException - upon failurepublic int update(DataColumnConstraints dataColumnConstraints) throws SQLException
update in interface com.j256.ormlite.dao.Dao<DataColumnConstraints,Void>update in class com.j256.ormlite.dao.BaseDaoImpl<DataColumnConstraints,Void>SQLExceptionpublic int delete(DataColumnConstraints dataColumnConstraints) throws SQLException
delete in interface com.j256.ormlite.dao.Dao<DataColumnConstraints,Void>delete in class com.j256.ormlite.dao.BaseDaoImpl<DataColumnConstraints,Void>SQLExceptionpublic List<DataColumnConstraints> queryByConstraintName(String constraintName) throws SQLException
constraintName - constraint nameSQLException - upon failurepublic DataColumnConstraints queryByUnique(String constraintName, DataColumnConstraintType constraintType, String value) throws SQLException
constraintName - constraint nameconstraintType - constraint typevalue - valueSQLException - upon failureCopyright © 2018 National Geospatial-Intelligence Agency. All rights reserved.