AlterSoupLongOperation

Class taking care of alter soup Two entry points: - new AlterSoupLongOperation(...) + run() => when asked to alterSoup in SmartStore - LongOperation.getOperation(...) + run() => when completing interrupted long operations when opening the database

Constructors

Link copied to clipboard
constructor()
Default constructor when reading back from long operations status table Should be followed by a call to: initFromDbRow
constructor(store: SmartStore, soupName: String, newIndexSpecs: Array<IndexSpec>, reIndexData: Boolean)
Constructor

Types

Link copied to clipboard
Enum for alter steps

Properties

Link copied to clipboard
val TAG: String = "AlterSoup:Status"

Functions

Link copied to clipboard
Link copied to clipboard
open fun run()
Run long operation
Used by test only