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

Lowers the text search, collation and conversion commands.

Rule: PG-TEXT-SEARCH-LOWER-001. Scope: AlterTSDictionaryStmt, AlterTSConfigurationStmt, any_with, AlterCollationStmt, CreateConversionStmt. Constructors: AlterTextSearchDictionary, MapTextSearchTokens, ReplaceTextSearchDictionary, DropTextSearchMapping, RefreshCollationVersion, CreateConversion. WITH_LA is the WITH keyword read with lookahead; both are the mandatory WITH of the mapping. Source: https://www.postgresql.org/docs/17/sql-altertsdictionary.html, https://www.postgresql.org/docs/17/sql-altertsconfig.html, https://www.postgresql.org/docs/17/sql-altercollation.html, https://www.postgresql.org/docs/17/sql-createconversion.html. Status: Implemented.

Methods§

public function __construct(private Lowering $lowering)

Parameters

$loweringLoweringThe hub
public function with(Form $form): void

Accepts the any_with of a configuration change, which is the mandatory WITH in either lexical form.

Parameters

$formForm

Throws

ImplementationGap When the production has no rule
Test cases 1
Called from 1
Calls 1

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