Class FullAnalyze

java.lang.Object
org.pgcodekeeper.core.database.base.parser.FullAnalyze

public final class FullAnalyze extends Object
Performs full analysis of database objects including operators, aggregates, views, and other database elements. Manages ANTLR tasks for concurrent analysis and collects references and dependencies.
  • Method Details

    • fullAnalyze

      public static void fullAnalyze(IDatabase db, List<Object> errors, ISupportedVersion version) throws InterruptedException, IOException
      Performs full analysis of the database using metadata created from the database.
      Parameters:
      db - the database to analyze
      errors - list to collect analysis errors
      version - version of database
      Throws:
      InterruptedException - if analysis is interrupted
      IOException - if analysis fails
    • fullAnalyze

      public static void fullAnalyze(IDatabase db, MetaContainer metaDb, List<Object> errors) throws InterruptedException, IOException
      Performs full analysis of the database using the provided metadata container.
      Parameters:
      db - the database to analyze
      metaDb - metadata container for analysis context
      errors - list to collect analysis errors
      Throws:
      InterruptedException - if analysis is interrupted
      IOException - if analysis fails
    • analyzeView

      public void analyzeView(IRelation rel)
      Analyzes views in the database, optionally focusing on a specific relation.
      Parameters:
      rel - the specific relation to analyze, or null to analyze all views