Class MsMerge
java.lang.Object
org.pgcodekeeper.core.parsers.antlr.ms.expr.MsAbstractExpr
org.pgcodekeeper.core.parsers.antlr.ms.expr.MsAbstractExprWithNmspc<TSQLParser.Merge_statementContext>
org.pgcodekeeper.core.parsers.antlr.ms.expr.MsMerge
Microsoft SQL MERGE statement analyzer.
Processes MERGE statements including CTEs, target tables, source tables,
and merge conditions to extract database object dependencies.
-
Method Summary
Modifier and TypeMethodDescriptionAnalyzes the given rule context and returns a list of column names.Methods inherited from class org.pgcodekeeper.core.parsers.antlr.ms.expr.MsAbstractExprWithNmspc
addRawTableReference, addReferenceMethods inherited from class org.pgcodekeeper.core.parsers.antlr.ms.expr.MsAbstractExpr
getDepcies
-
Method Details
-
analyze
Description copied from class:MsAbstractExprWithNmspcAnalyzes the given rule context and returns a list of column names. Implementations should process the specific Microsoft SQL expression type and extract relevant database dependencies and column information.- Specified by:
analyzein classMsAbstractExprWithNmspc<TSQLParser.Merge_statementContext>- Parameters:
merge- the parser rule context to analyze- Returns:
- list of column names found during analysis
-