Class PgIndexAnalysisLauncher
java.lang.Object
org.pgcodekeeper.core.database.base.parser.launcher.AbstractAnalysisLauncher
org.pgcodekeeper.core.database.pg.parser.launcher.PgAbstractAnalysisLauncher
org.pgcodekeeper.core.database.pg.parser.launcher.PgIndexAnalysisLauncher
- All Implemented Interfaces:
IAnalysisLauncher
Launcher for analyzing PostgreSQL index definitions.
Extracts dependencies from index columns, storage parameters and WHERE clauses.
-
Constructor Summary
ConstructorsConstructorDescriptionPgIndexAnalysisLauncher(PgIndex stmt, SQLParser.Index_restContext ctx, String location) Creates an index analyzer. -
Method Summary
Modifier and TypeMethodDescriptionanalyze(org.antlr.v4.runtime.ParserRuleContext ctx, IMetaContainer meta) Analyzes the index definition to extract table dependencies.Methods inherited from class org.pgcodekeeper.core.database.base.parser.launcher.AbstractAnalysisLauncher
getReferences, getSchemaName, getStmt, launchAnalyze, setOffset, updateStmt
-
Constructor Details
-
PgIndexAnalysisLauncher
Creates an index analyzer.- Parameters:
stmt- the index statement to analyzectx- the index definition contextlocation- the source location identifier
-
-
Method Details
-
analyze
Analyzes the index definition to extract table dependencies. Processes index columns, storage parameters and WHERE clauses.- Parameters:
ctx- the parse tree contextmeta- metadata container for dependency resolution- Returns:
- set of object locations referenced in the index definition
-