public final class FieldRef extends Expr
| Constructor and Description |
|---|
FieldRef(String tableNameOrAlias,
String columnName) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ExprVisitor visitor)
Accepts a visitor during a traversal of the parse tree for solving tasks of
types validation, code generation etc.
|
Column<?> |
getColumn()
Returns the column that the reference is pointing to.
|
String |
getColumnName()
Returns column name.
|
ViewColumnMeta<?> |
getMeta()
Returns the expression type.
|
String |
getTableNameOrAlias()
Returns table name or alias.
|
getCSQL, getSQL, resolveFieldRefspublic FieldRef(String tableNameOrAlias, String columnName) throws ParseException
ParseExceptionpublic String getTableNameOrAlias()
public String getColumnName()
public ViewColumnMeta<?> getMeta()
Exprpublic Column<?> getColumn()
public void accept(ExprVisitor visitor) throws ParseException
Exprvisitor - universal visitor element performing tasks with the parse tree.ParseException - semantic error during the tree traversalCopyright © 2020 CURS. All rights reserved.