public class SLSDatabaseManager
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
void |
deleteRecordFromDB(LogEntity entity) |
void |
deleteTwoThousandRecords() |
static SLSDatabaseManager |
getInstance() |
void |
insertRecordIntoDB(LogEntity entity) |
java.util.List<LogEntity> |
queryRecordFromDB() |
void |
setupDB(android.content.Context context) |
public static SLSDatabaseManager getInstance()
public void setupDB(android.content.Context context)
public void insertRecordIntoDB(LogEntity entity)
public void deleteRecordFromDB(LogEntity entity)
public java.util.List<LogEntity> queryRecordFromDB()
public void deleteTwoThousandRecords()