MaintenanceType

actual typealias MaintenanceType = <Error class: unknown class>(source)

Entries

Link copied to clipboard

Use only in collaboration with Couchbase Support. (Runs SQLite REINDEX.)

Link copied to clipboard

Shrinks the database file by removing any empty pages, and deletes blobs that are no longer referenced by any documents. (Runs SQLite PRAGMA incremental_vacuum; PRAGMA wal_checkpoint(TRUNCATE).)

Link copied to clipboard

Checks for database corruption, as might be caused by a damaged filesystem, or memory corruption. (Runs SQLite PRAGMA integrity_check.)

Link copied to clipboard

Quickly updates database statistics that may help optimize queries that have been run by this Database since it was opened. The more queries that have been run, the more effective this will be, but it tries to do its work quickly by scanning only portions of indexes. (Runs SQLite PRAGMA analysis_limit=400; PRAGMA optimize.)

Link copied to clipboard

Fully scans all indexes to gather database statistics that help optimize queries. This may take some time, depending on the size of the indexes, but it doesn't have to be redone unless the database changes drastically, or new indexes are created. (Runs SQLite PRAGMA analysis_limit=0; ANALYZE.)

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Returns a representation of an immutable list of all enum entries, in the order they're declared.

name
Link copied to clipboard
ordinal
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Returns an array containing the constants of this enum type, in the order they're declared.