Class RuleAnalysisLauncher
java.lang.Object
org.pgcodekeeper.core.parsers.antlr.base.launcher.AbstractAnalysisLauncher
org.pgcodekeeper.core.parsers.antlr.pg.launcher.AbstractPgAnalysisLauncher
org.pgcodekeeper.core.parsers.antlr.pg.launcher.RuleAnalysisLauncher
Launcher for analyzing PostgreSQL rule definitions.
Handles WHERE conditions and rewrite commands (SELECT/INSERT/UPDATE/DELETE) in rule bodies.
-
Constructor Summary
ConstructorsConstructorDescriptionRuleAnalysisLauncher(PgRule stmt, SQLParser.Create_rewrite_statementContext ctx, String location) Creates a rule analyzer for PostgreSQL. -
Method Summary
Modifier and TypeMethodDescriptionanalyze(org.antlr.v4.runtime.ParserRuleContext ctx, MetaContainer meta) Methods inherited from class org.pgcodekeeper.core.parsers.antlr.base.launcher.AbstractAnalysisLauncher
getReferences, getSchemaName, getStmt, launchAnalyze, setOffset, updateStmt
-
Constructor Details
-
RuleAnalysisLauncher
public RuleAnalysisLauncher(PgRule stmt, SQLParser.Create_rewrite_statementContext ctx, String location) Creates a rule analyzer for PostgreSQL.- Parameters:
stmt- the rule statement to analyzectx- the CREATE RULE statement contextlocation- the source location identifier
-
-
Method Details
-
analyze
-