Package com.inmobi.media.core.log
Class LogDataDao
-
- All Implemented Interfaces:
public final class LogDataDao
-
-
Field Summary
Fields Modifier and Type Field Description public final static IntegerFINISHEDpublic final static IntegerNOT_FINISHEDpublic final static StringTABLE_NAMEpublic final static StringTABLE_SCHEMA
-
Constructor Summary
Constructors Constructor Description LogDataDao(InMobiDatabaseHelper databaseHelper)
-
Method Summary
Modifier and Type Method Description final Unitinsert(LogDBData data)final Unitupdate(LogDBData data)final BooleanhasFile(String fileName)final List<LogDBData>getAllFinishedLogs()final List<LogDBData>getAllIncompleteLogs()final UnitaddLogDataUpdateListener(LogDataUpdateListener listener)final List<LogDBData>getAllExpiredLogs(Long expiryThresholdTime, Integer maxRowsToStore)final UnitdeleteByFileName(String fileName)final Integercount()final UnitclearTable()-
-
Constructor Detail
-
LogDataDao
LogDataDao(InMobiDatabaseHelper databaseHelper)
-
-
Method Detail
-
getAllFinishedLogs
final List<LogDBData> getAllFinishedLogs()
-
getAllIncompleteLogs
final List<LogDBData> getAllIncompleteLogs()
-
addLogDataUpdateListener
final Unit addLogDataUpdateListener(LogDataUpdateListener listener)
-
getAllExpiredLogs
final List<LogDBData> getAllExpiredLogs(Long expiryThresholdTime, Integer maxRowsToStore)
-
deleteByFileName
final Unit deleteByFileName(String fileName)
-
clearTable
final Unit clearTable()
-
-
-
-