Package org.pgcodekeeper.core.loader
Class FullAnalyze
java.lang.Object
org.pgcodekeeper.core.loader.FullAnalyze
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 Summary
Modifier and TypeMethodDescriptionvoidanalyzeView(IRelation rel) Analyzes views in the database, optionally focusing on a specific relation.static voidfullAnalyze(AbstractDatabase db, List<Object> errors) Performs full analysis of the database using metadata created from the database.static voidfullAnalyze(AbstractDatabase db, MetaContainer metaDb, List<Object> errors) Performs full analysis of the database using the provided metadata container.
-
Method Details
-
fullAnalyze
public static void fullAnalyze(AbstractDatabase db, List<Object> errors) throws InterruptedException, IOException Performs full analysis of the database using metadata created from the database.- Parameters:
db- the database to analyzeerrors- list to collect analysis errors- Throws:
InterruptedException- if analysis is interruptedIOException- if analysis fails
-
fullAnalyze
public static void fullAnalyze(AbstractDatabase 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 analyzemetaDb- metadata container for analysis contexterrors- list to collect analysis errors- Throws:
InterruptedException- if analysis is interruptedIOException- if analysis fails
-
analyzeView
Analyzes views in the database, optionally focusing on a specific relation.- Parameters:
rel- the specific relation to analyze, or null to analyze all views
-