final class MaintenanceRule
Restricted visibility: declared "@visibility SqlSemantics\Platform\Sqlite". Code outside that scope must not name this declaration.

Lowers the administration commands VACUUM, PRAGMA, REINDEX and ANALYZE.

Rule: SQLITE-MAINTENANCE-LOWER-001. Scope: the cmd productions of VACUUM, PRAGMA, REINDEX and ANALYZE, with vinto and nmnum. Constructors: Vacuum, Pragma, Reindex, Analyze. The two value notations of a pragma lower to the same request; = and the parentheses are declared noise. No fact is derived here. Terminates: fixed number of children. Source: https://sqlite.org/lang_vacuum.html, https://sqlite.org/pragma.html, https://sqlite.org/lang_reindex.html, https://sqlite.org/lang_analyze.html. Status: Implemented.

Methods§

public function __construct(private Lowering $lowering)

Parameters

$loweringLoweringThe lowering this rule belongs to
public function command(Form $form): ?Statement

Private surface 1§

Implementation details, listed for orientation only.

private Lowering $lowering

Test cases 1§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1

Relations§

Instantiated in 1
Method calls 1
Type declarations 1