Class PgRuleAnalysisLauncher
java.lang.Object
org.pgcodekeeper.core.database.base.parser.launcher.AbstractAnalysisLauncher
org.pgcodekeeper.core.database.pg.parser.launcher.PgAbstractAnalysisLauncher
org.pgcodekeeper.core.database.pg.parser.launcher.PgRuleAnalysisLauncher
- All Implemented Interfaces:
IAnalysisLauncher
Launcher for analyzing PostgreSQL rule definitions.
Handles WHERE conditions and rewrite commands (SELECT/INSERT/UPDATE/DELETE) in rule bodies.
-
Constructor Summary
ConstructorsConstructorDescriptionPgRuleAnalysisLauncher(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, IMetaContainer meta) Methods inherited from class org.pgcodekeeper.core.database.base.parser.launcher.AbstractAnalysisLauncher
getReferences, getSchemaName, getStmt, launchAnalyze, setOffset, updateStmt
-
Constructor Details
-
PgRuleAnalysisLauncher
public PgRuleAnalysisLauncher(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
-