Class PgFuncProcAnalysisLauncher
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.PgFuncProcAnalysisLauncher
- All Implemented Interfaces:
IAnalysisLauncher
Launcher for analyzing PostgreSQL function and procedure bodies.
Handles SQL, function body and PL/pgSQL function contexts with argument namespace support.
-
Constructor Summary
ConstructorsConstructorDescriptionPgFuncProcAnalysisLauncher(PgAbstractFunction stmt, SQLParser.Function_bodyContext ctx, String location, List<Pair<String, ObjectReference>> funcArgs, boolean isEnableFunctionBodiesDependencies) Creates a function/procedure analyzer for function body context.PgFuncProcAnalysisLauncher(PgAbstractFunction stmt, SQLParser.Plpgsql_functionContext ctx, String location, List<Pair<String, ObjectReference>> funcArgs, boolean isEnableFunctionBodiesDependencies) Creates a function/procedure analyzer for PL/pgSQL context.PgFuncProcAnalysisLauncher(PgAbstractFunction stmt, SQLParser.SqlContext ctx, String location, List<Pair<String, ObjectReference>> funcArgs, boolean isEnableFunctionBodiesDependencies) Creates a function/procedure analyzer for SQL context. -
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
-
PgFuncProcAnalysisLauncher
public PgFuncProcAnalysisLauncher(PgAbstractFunction stmt, SQLParser.SqlContext ctx, String location, List<Pair<String, ObjectReference>> funcArgs, boolean isEnableFunctionBodiesDependencies) Creates a function/procedure analyzer for SQL context.- Parameters:
stmt- the function/procedure statementctx- the SQL context to analyzelocation- the source location identifierfuncArgs- list of function argumentsisEnableFunctionBodiesDependencies- flag to control function body dependency collection
-
PgFuncProcAnalysisLauncher
public PgFuncProcAnalysisLauncher(PgAbstractFunction stmt, SQLParser.Function_bodyContext ctx, String location, List<Pair<String, ObjectReference>> funcArgs, boolean isEnableFunctionBodiesDependencies) Creates a function/procedure analyzer for function body context.- Parameters:
stmt- the function/procedure statementctx- the function body context to analyzelocation- the source location identifierfuncArgs- list of function argumentsisEnableFunctionBodiesDependencies- flag to control function body dependency collection
-
PgFuncProcAnalysisLauncher
public PgFuncProcAnalysisLauncher(PgAbstractFunction stmt, SQLParser.Plpgsql_functionContext ctx, String location, List<Pair<String, ObjectReference>> funcArgs, boolean isEnableFunctionBodiesDependencies) Creates a function/procedure analyzer for PL/pgSQL context.- Parameters:
stmt- the function/procedure statementctx- the PL/pgSQL function context to analyzelocation- the source location identifierfuncArgs- list of function argumentsisEnableFunctionBodiesDependencies- flag to control function body dependency collection
-
-
Method Details
-
analyze
-