Class FullAnalyze
java.lang.Object
org.pgcodekeeper.core.database.base.parser.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(IDatabase db, List<Object> errors, ISupportedVersion version) Performs full analysis of the database using metadata created from the database.static voidfullAnalyze(IDatabase db, MetaContainer metaDb, List<Object> errors) Performs full analysis of the database using the provided metadata container.
-
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 analyzeerrors- list to collect analysis errorsversion- version of database- Throws:
InterruptedException- if analysis is interruptedIOException- 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 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
-