Package com.inmobi.media.core.telemetry
Class TelemetryDao
-
- All Implemented Interfaces:
public final class TelemetryDao extends EventDao<TelemetryEvent>
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringTELEMETRY_COLUMN_EVENT_TYPEpublic final static StringTELEMETRY_COLUMN_PAYLOADpublic final static StringTELEMETRY_COLUMN_EVENT_SOURCEpublic final static StringTABLE_NAMEpublic final static StringTABLE_SCHEMA
-
Constructor Summary
Constructors Constructor Description TelemetryDao(InMobiDatabaseHelper databaseHelper)
-
Method Summary
Modifier and Type Method Description final IntegergetCountByEventSource(String eventSource)List<TelemetryEvent>getEventsByLimit(Integer limit)-
Methods inherited from class com.inmobi.media.core.base.EventDao
addEvent, addEvents, clearTable, deleteEventsByIds, deleteExpiredEvents, deleteOlderEventByCount, getCount -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
TelemetryDao
TelemetryDao(InMobiDatabaseHelper databaseHelper)
-
-
Method Detail
-
getCountByEventSource
final Integer getCountByEventSource(String eventSource)
-
getEventsByLimit
List<TelemetryEvent> getEventsByLimit(Integer limit)
-
-
-
-