public class UserCustomDao extends UserDao<UserCustomColumn,UserCustomTable,UserCustomRow,UserCustomCursor>
| Modifier and Type | Field and Description |
|---|---|
protected UserCustomConnection |
userDb
User Custom connection
|
projection| Constructor and Description |
|---|
UserCustomDao(String database,
GeoPackageConnection db,
UserCustomConnection userDb,
UserCustomTable table)
Constructor
|
UserCustomDao(UserCustomDao dao)
Constructor
|
UserCustomDao(UserCustomDao dao,
UserCustomTable userCustomTable)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
count(UserCustomCursor cursor)
Get the count of the cursor and close it
|
BoundingBox |
getBoundingBox() |
UserCustomConnection |
getUserDb()
Get the User Custom connection
|
UserCustomRow |
newRow() |
static UserCustomDao |
readTable(GeoPackage geoPackage,
String tableName)
Read the database table and create a DAO
|
void |
registerCursorWrapper(GeoPackage geoPackage)
Register the cursor wrapper into the GeoPackage
|
getDatabaseConnection, getDb, insert, insert, insertOrThrow, isInvalidRequery, prepareResult, query, query, queryForIdRow, setInvalidRequery, update, updatebuildColumnsAs, buildColumnsAs, buildColumnsAs, buildColumnsAs, buildColumnsAs, buildColumnsAsNull, buildColumnsAsNull, buildValueWhere, buildValueWhereArgs, buildWhere, buildWhere, buildWhere, buildWhere, buildWhereArgs, buildWhereArgs, buildWhereArgs, buildWhereArgs, buildWhereLike, buildWhereLike, count, count, create, delete, delete, deleteById, dropTable, getDatabase, getPkWhere, getPkWhereArgs, getProjection, getTable, getTableName, getZoomLevel, max, min, query, query, query, queryForAll, queryForAll, queryForEq, queryForEq, queryForEq, queryForFieldValues, queryForId, queryForLike, queryForLike, queryForLike, queryForValueFieldValuesprotected final UserCustomConnection userDb
public UserCustomDao(String database, GeoPackageConnection db, UserCustomConnection userDb, UserCustomTable table)
database - database namedb - database connectionuserDb - user connectiontable - user custom tablepublic UserCustomDao(UserCustomDao dao)
dao - user custom data access objectpublic UserCustomDao(UserCustomDao dao, UserCustomTable userCustomTable)
dao - user custom data access objectuserCustomTable - user custom tablepublic BoundingBox getBoundingBox()
getBoundingBox in class UserCoreDao<UserCustomColumn,UserCustomTable,UserCustomRow,UserCustomCursor>public UserCustomRow newRow()
newRow in class UserCoreDao<UserCustomColumn,UserCustomTable,UserCustomRow,UserCustomCursor>public UserCustomConnection getUserDb()
getUserDb in class UserCoreDao<UserCustomColumn,UserCustomTable,UserCustomRow,UserCustomCursor>protected int count(UserCustomCursor cursor)
cursor - cursorpublic void registerCursorWrapper(GeoPackage geoPackage)
geoPackage - GeoPackagepublic static UserCustomDao readTable(GeoPackage geoPackage, String tableName)
geoPackage - GeoPackagetableName - table name