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, resolveFieldRefs
public FieldRef(String tableNameOrAlias, String columnName) throws ParseException
ParseException
public String getTableNameOrAlias()
public String getColumnName()
public ViewColumnMeta<?> getMeta()
Expr
public Column<?> getColumn()
public void accept(ExprVisitor visitor) throws ParseException
Expr
visitor
- universal visitor element performing tasks with the parse tree.ParseException
- semantic error during the tree traversalCopyright © 2022 CURS. All rights reserved.