Class PgIndexAnalysisLauncher

All Implemented Interfaces:
IAnalysisLauncher

public class PgIndexAnalysisLauncher extends PgAbstractAnalysisLauncher
Launcher for analyzing PostgreSQL index definitions. Extracts dependencies from index columns, storage parameters and WHERE clauses.
  • Constructor Details

    • PgIndexAnalysisLauncher

      public PgIndexAnalysisLauncher(PgIndex stmt, SQLParser.Index_restContext ctx, String location)
      Creates an index analyzer.
      Parameters:
      stmt - the index statement to analyze
      ctx - the index definition context
      location - the source location identifier
  • Method Details

    • analyze

      public Set<ObjectLocation> analyze(org.antlr.v4.runtime.ParserRuleContext ctx, IMetaContainer meta)
      Analyzes the index definition to extract table dependencies. Processes index columns, storage parameters and WHERE clauses.
      Parameters:
      ctx - the parse tree context
      meta - metadata container for dependency resolution
      Returns:
      set of object locations referenced in the index definition