Class MsExprWithNmspc
java.lang.Object
org.pgcodekeeper.core.parsers.antlr.ms.expr.MsAbstractExpr
org.pgcodekeeper.core.parsers.antlr.ms.expr.MsAbstractExprWithNmspc<TSQLParser.ExpressionContext>
org.pgcodekeeper.core.parsers.antlr.ms.expr.MsExprWithNmspc
Microsoft SQL expression analyzer with namespace support.
Wraps expression analysis functionality to provide namespace capabilities
for analyzing standalone expressions.
-
Constructor Summary
ConstructorsConstructorDescriptionMsExprWithNmspc(String schema, MetaContainer meta) Creates a new Microsoft SQL expression analyzer with namespace support. -
Method Summary
Modifier and TypeMethodDescriptionanalyze(TSQLParser.ExpressionContext ruleCtx) Analyzes 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
-
Constructor Details
-
MsExprWithNmspc
Creates a new Microsoft SQL expression analyzer with namespace support.- Parameters:
schema- the current schema contextmeta- the metadata container for database schema information
-
-
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.ExpressionContext>- Parameters:
ruleCtx- the parser rule context to analyze- Returns:
- list of column names found during analysis
-