Indexable Data Provider
Defines an interface for external data indexing.
See also
Functions
clear
Link copied to clipboard
abstract fun clear(executor: Executor, callback: CompletionCallback<Unit>): AsyncOperationTask
Content copied to clipboard
contains
Link copied to clipboard
open fun contains(id: String, callback: CompletionCallback<Boolean>): AsyncOperationTask
Content copied to clipboard
abstract fun contains(id: String, executor: Executor, callback: CompletionCallback<Boolean>): AsyncOperationTask
Content copied to clipboard
get
Link copied to clipboard
open fun get(id: String, callback: CompletionCallback<in R?>): AsyncOperationTask
Content copied to clipboard
abstract fun get(id: String, executor: Executor, callback: CompletionCallback<in R?>): AsyncOperationTask
Content copied to clipboard
getAll
Link copied to clipboard
open fun getAll(callback: CompletionCallback<List<R>>): AsyncOperationTask
Content copied to clipboard
abstract fun getAll(executor: Executor, callback: CompletionCallback<List<R>>): AsyncOperationTask
Content copied to clipboard
registerIndexableDataProviderEngine
Link copied to clipboard
open fun registerIndexableDataProviderEngine(dataProviderEngine: IndexableDataProviderEngine, callback: CompletionCallback<Unit>): AsyncOperationTask
Content copied to clipboard
abstract fun registerIndexableDataProviderEngine(dataProviderEngine: IndexableDataProviderEngine, executor: Executor, callback: CompletionCallback<Unit>): AsyncOperationTask
Content copied to clipboard
remove
Link copied to clipboard
open fun remove(id: String, callback: CompletionCallback<Boolean>): AsyncOperationTask
Content copied to clipboard
Removes the record with specified id.
abstract fun remove(id: String, executor: Executor, callback: CompletionCallback<Boolean>): AsyncOperationTask
Content copied to clipboard
Removes the record with specified id.
unregisterIndexableDataProviderEngine
Link copied to clipboard
open fun unregisterIndexableDataProviderEngine(dataProviderEngine: IndexableDataProviderEngine, callback: CompletionCallback<Boolean>): AsyncOperationTask
Content copied to clipboard
abstract fun unregisterIndexableDataProviderEngine(dataProviderEngine: IndexableDataProviderEngine, executor: Executor, callback: CompletionCallback<Boolean>): AsyncOperationTask
Content copied to clipboard
upsert
Link copied to clipboard
open fun upsert(record: R, callback: CompletionCallback<Unit>): AsyncOperationTask
Content copied to clipboard
Insert or update a record to this data provider.
abstract fun upsert(record: R, executor: Executor, callback: CompletionCallback<Unit>): AsyncOperationTask
Content copied to clipboard
Insert or update a record in this data provider.
upsertAll
Link copied to clipboard
open fun upsertAll(records: List<R>, callback: CompletionCallback<Unit>): AsyncOperationTask
Content copied to clipboard
abstract fun upsertAll(records: List<R>, executor: Executor, callback: CompletionCallback<Unit>): AsyncOperationTask
Content copied to clipboard
Properties
Inheritors
LocalDataProvider
Link copied to clipboard