public class AppSyncSqlHelper
extends android.database.sqlite.SQLiteOpenHelper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COLUMN_ID |
static java.lang.String |
COLUMN_KEY |
static java.lang.String |
COLUMN_RECORD |
static java.lang.String |
IDX_RECORDS_KEY |
static java.lang.String |
TABLE_RECORDS |
Constructor and Description |
---|
AppSyncSqlHelper(android.content.Context context,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
static AppSyncSqlHelper |
create(android.content.Context context) |
static AppSyncSqlHelper |
create(android.content.Context context,
java.lang.String name) |
void |
onCreate(android.database.sqlite.SQLiteDatabase database) |
void |
onUpgrade(android.database.sqlite.SQLiteDatabase db,
int oldVersion,
int newVersion) |
public static final java.lang.String TABLE_RECORDS
public static final java.lang.String COLUMN_ID
public static final java.lang.String COLUMN_RECORD
public static final java.lang.String COLUMN_KEY
public static final java.lang.String IDX_RECORDS_KEY
public AppSyncSqlHelper(android.content.Context context, java.lang.String name)
public static AppSyncSqlHelper create(android.content.Context context)
public static AppSyncSqlHelper create(android.content.Context context, java.lang.String name)
public void onCreate(android.database.sqlite.SQLiteDatabase database)
onCreate
in class android.database.sqlite.SQLiteOpenHelper
public void onUpgrade(android.database.sqlite.SQLiteDatabase db, int oldVersion, int newVersion)
onUpgrade
in class android.database.sqlite.SQLiteOpenHelper