SalesforceMobileSDK-Android
Toggle table of contents
14.0.0-rc.0
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
SalesforceMobileSDK-Android
SmartStore
/
com.salesforce.androidsdk.smartstore.store
/
IndexSpec
Index
Spec
open
class
IndexSpec
Simple class to represent index spec
Members
Constructors
Index
Spec
Link copied to clipboard
constructor
(
path
:
String
,
type
:
SmartStore.Type
)
constructor
(
path
:
String
,
type
:
SmartStore.Type
,
columnName
:
String
)
Properties
column
Name
Link copied to clipboard
val
columnName
:
String
path
Link copied to clipboard
val
path
:
String
type
Link copied to clipboard
val
type
:
SmartStore.Type
Functions
equals
Link copied to clipboard
open
fun
equals
(
obj
:
Any
)
:
Boolean
from
JSON
Link copied to clipboard
open
fun
fromJSON
(
jsonArray
:
JSONArray
)
:
Array
<
IndexSpec
>
open
fun
fromJSON
(
json
:
JSONObject
)
:
IndexSpec
Return IndexSpec given JSONObject
get
Path
Type
Link copied to clipboard
open
fun
getPathType
(
)
:
String
has
FTS
Link copied to clipboard
open
fun
hasFTS
(
indexSpecs
:
Array
<
IndexSpec
>
)
:
Boolean
hash
Code
Link copied to clipboard
open
fun
hashCode
(
)
:
Int
has
JSON1
Link copied to clipboard
open
fun
hasJSON1
(
indexSpecs
:
Array
<
IndexSpec
>
)
:
Boolean
map
For
Index
Specs
Link copied to clipboard
open
fun
mapForIndexSpecs
(
indexSpecs
:
Array
<
IndexSpec
>
)
:
Map
<
String
,
IndexSpec
>
to
JSON
Link copied to clipboard
open
fun
toJSON
(
)
:
JSONObject
open
fun
toJSON
(
indexSpecs
:
Array
<
IndexSpec
>
)
:
JSONArray