public class TableColumnResolver extends Object
| Constructor and Description |
|---|
TableColumnResolver(DbInfoDto schema) |
| Modifier and Type | Method and Description |
|---|---|
void |
enterStatementeContext(net.sf.jsqlparser.statement.Statement statement)
Creates a context for resolving table names and columns in
the given statement.
|
void |
exitCurrentStatementContext()
Exists the current statement context for resolving
table and column names.
|
net.sf.jsqlparser.statement.Statement |
getCurrentStatement()
Get the current statement in the context stack.
|
SqlColumnReference |
resolve(net.sf.jsqlparser.schema.Column column) |
SqlTableReference |
resolve(net.sf.jsqlparser.schema.Table table)
Resolve the table reference for a given table name.
|
public TableColumnResolver(DbInfoDto schema)
public void enterStatementeContext(net.sf.jsqlparser.statement.Statement statement)
statement - the new current statement contextpublic void exitCurrentStatementContext()
public net.sf.jsqlparser.statement.Statement getCurrentStatement()
public SqlColumnReference resolve(net.sf.jsqlparser.schema.Column column)
public SqlTableReference resolve(net.sf.jsqlparser.schema.Table table)
table - a non-null table . It could be a reference to an alias or a base tableCopyright © 2016–2025. All rights reserved.