Package | Description |
---|---|
com.salesforce.androidsdk.smartstore.store |
Modifier and Type | Method and Description |
---|---|
static IndexSpec[] |
IndexSpec.fromJSON(JSONArray jsonArray) |
static IndexSpec |
IndexSpec.fromJSON(JSONObject json)
Return IndexSpec given JSONObject
|
IndexSpec[] |
DBHelper.getCachedIndexSpecs(java.lang.String soupName) |
IndexSpec[] |
DBHelper.getIndexSpecs(SQLiteDatabase db,
java.lang.String soupName)
Read index specs back from the soup index map table
|
protected IndexSpec[] |
DBHelper.getIndexSpecsFromDb(SQLiteDatabase db,
java.lang.String soupName) |
IndexSpec[] |
SmartStore.getSoupIndexSpecs(java.lang.String soupName)
Return indexSpecs of soup
|
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.String,IndexSpec> |
IndexSpec.mapForIndexSpecs(IndexSpec[] indexSpecs) |
Modifier and Type | Method and Description |
---|---|
void |
SmartStore.alterSoup(java.lang.String soupName,
IndexSpec[] indexSpecs,
boolean reIndexData)
Alter soup using only soup name without extra soup features.
|
void |
DBHelper.cacheIndexSpecs(java.lang.String soupName,
IndexSpec[] indexSpecs) |
static boolean |
IndexSpec.hasFTS(IndexSpec[] indexSpecs) |
static boolean |
IndexSpec.hasJSON1(IndexSpec[] indexSpecs) |
static java.util.Map<java.lang.String,IndexSpec> |
IndexSpec.mapForIndexSpecs(IndexSpec[] indexSpecs) |
void |
SmartStore.registerSoup(java.lang.String soupName,
IndexSpec[] indexSpecs)
Register a soup.
|
protected void |
SmartStore.registerSoupUsingTableName(java.lang.String soupName,
IndexSpec[] indexSpecs,
java.lang.String soupTableName)
Helper method for registerSoup
|
static JSONArray |
IndexSpec.toJSON(IndexSpec[] indexSpecs) |
Constructor and Description |
---|
AlterSoupLongOperation(SmartStore store,
java.lang.String soupName,
IndexSpec[] newIndexSpecs,
boolean reIndexData)
Constructor
|