public abstract class AbstractDaoMaster
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.Class<? extends AbstractDao<?,?>>,de.greenrobot.dao.internal.DaoConfig> |
daoConfigMap |
protected android.database.sqlite.SQLiteDatabase |
db |
protected int |
schemaVersion |
Constructor and Description |
---|
AbstractDaoMaster(android.database.sqlite.SQLiteDatabase db,
int schemaVersion) |
Modifier and Type | Method and Description |
---|---|
android.database.sqlite.SQLiteDatabase |
getDatabase()
Gets the SQLiteDatabase for custom database access.
|
int |
getSchemaVersion() |
abstract AbstractDaoSession |
newSession() |
abstract AbstractDaoSession |
newSession(IdentityScopeType type) |
protected void |
registerDaoClass(java.lang.Class<? extends AbstractDao<?,?>> daoClass) |
protected final android.database.sqlite.SQLiteDatabase db
protected final int schemaVersion
protected final java.util.Map<java.lang.Class<? extends AbstractDao<?,?>>,de.greenrobot.dao.internal.DaoConfig> daoConfigMap
public AbstractDaoMaster(android.database.sqlite.SQLiteDatabase db, int schemaVersion)
protected void registerDaoClass(java.lang.Class<? extends AbstractDao<?,?>> daoClass)
public int getSchemaVersion()
public android.database.sqlite.SQLiteDatabase getDatabase()
public abstract AbstractDaoSession newSession()
public abstract AbstractDaoSession newSession(IdentityScopeType type)
Available under the Apache License, Version 2.0 - Copyright © 2011-2015 greenrobot.de. All Rights Reserved.