Package gudusoft.gsqlparser.resolver
Class TSQLResolver
Object
gudusoft.gsqlparser.resolver.TSQLResolver
TSQLResolver handles all semantic analysis and resolution steps for SQL statements.
This class consolidates various resolution algorithms to provide a clear, maintainable
structure for SQL semantic analysis.
涉及的重要 类有:
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTSQLResolver(gudusoft.gsqlparser.compiler.TContext context, TStatementList statements) Creates a new SQL resolver instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidreportNewColumns(int count) booleanresolve()Performs complete semantic analysis of SQL statements.
-
Constructor Details
-
TSQLResolver
Creates a new SQL resolver instance.- Parameters:
context- The global context containing SQL environment and scope informationstatements- List of SQL statements to analyze
-
-
Method Details
-
resolve
Performs complete semantic analysis of SQL statements. Executes all resolution steps in the correct order.- Returns:
- true if resolution completes successfully, false if errors occurred
-
reportNewColumns
-