Package ru.curs.celesta.score
Class FieldRef
- java.lang.Object
-
- ru.curs.celesta.score.Expr
-
- ru.curs.celesta.score.FieldRef
-
public final class FieldRef extends Expr
Reference to a table column.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(ExprVisitor visitor)Column<?>getColumn()Returns the column that the reference is pointing to.StringgetColumnName()Returns column name.ViewColumnMeta<?>getMeta()Returns the expression type.StringgetTableNameOrAlias()Returns table name or alias.-
Methods inherited from class ru.curs.celesta.score.Expr
getCSQL, getSQL, resolveFieldRefs
-
-
-
-
Method Detail
-
getTableNameOrAlias
public String getTableNameOrAlias()
Returns table name or alias.
-
getColumnName
public String getColumnName()
Returns column name.
-
getMeta
public ViewColumnMeta<?> getMeta()
Description copied from class:ExprReturns the expression type.
-
getColumn
public Column<?> getColumn()
Returns the column that the reference is pointing to.
-
accept
public void accept(ExprVisitor visitor) throws ParseException
- Throws:
ParseException
-
-