Class ChAbstractExprWithNmspc<T>
java.lang.Object
org.pgcodekeeper.core.parsers.antlr.ch.expr.ChAbstractExpr
org.pgcodekeeper.core.parsers.antlr.ch.expr.ChAbstractExprWithNmspc<T>
- Direct Known Subclasses:
ChExprWithNmspc,ChSelect
Abstract class extending ChAbstractExpr with namespace support for SQL expression analysis.
Handles table aliases, CTEs (Common Table Expressions) and namespace management.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddRawTableReference(GenericColumn qualifiedTable) Adds an unaliased table reference to the namespace.voidaddReference(String alias) Adds a reference with the given aliasAnalyzes the given SQL context and returns a list of processing results.Methods inherited from class org.pgcodekeeper.core.parsers.antlr.ch.expr.ChAbstractExpr
getDepcies
-
Method Details
-
addReference
Adds a reference with the given alias- Parameters:
alias- the alias name to register
-
addRawTableReference
Adds an unaliased table reference to the namespace.- Parameters:
qualifiedTable- the table reference to add
-
analyze
Analyzes the given SQL context and returns a list of processing results. Must be implemented by concrete subclasses.- Parameters:
ruleCtx- the ANTLR context to analyze- Returns:
- list of analysis results (implementation-dependent)
-