Package 

Class LocalCampaignTrackDbHelper

    • Method Summary

      Modifier and Type Method Description
      void onCreate(SQLiteDatabase sqLiteDatabase)
      void onUpgrade(SQLiteDatabase sqLiteDatabase, int oldVersion, int newVersion)
      String getTableAsString(SQLiteDatabase db) Helper function that parses a given table into a stringand returns it for easy printing.
      • Methods inherited from class android.database.sqlite.SQLiteOpenHelper

        close, getDatabaseName, getReadableDatabase, getWritableDatabase, onConfigure, onCreate, onDowngrade, onOpen, onUpgrade, setIdleConnectionTimeout, setLookasideConfig, setOpenParams, setWriteAheadLoggingEnabled
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LocalCampaignTrackDbHelper

        LocalCampaignTrackDbHelper(Context context)
    • Method Detail

      • getTableAsString

         String getTableAsString(SQLiteDatabase db)

        Helper function that parses a given table into a stringand returns it for easy printing. The string consists ofthe table name and then each row is iterated through withcolumn_name: value pairs printed out.

        Parameters:
        db - the database to get the table from