net.sf.saffron.rex
Class RexFieldAccess
java.lang.Object
|
+--net.sf.saffron.rex.RexNode
|
+--net.sf.saffron.rex.RexFieldAccess
- public class RexFieldAccess
- extends RexNode
Access to a field of a row-expression.
- Since:
- Nov 24, 2003
- Version:
- $Id: $
- Author:
- jhyde
expr
private final RexNode expr
field
private final SaffronField field
RexFieldAccess
RexFieldAccess(RexNode expr,
SaffronField field)
getType
public SaffronType getType()
- Specified by:
getType
in class RexNode
clone
public Object clone()
- Specified by:
clone
in class RexNode
getKind
public RexKind getKind()
- Description copied from class:
RexNode
- Returns the kind of node this is.
- Overrides:
getKind
in class RexNode
- Returns:
- A
RexKind
value, never null
getReferenceExpr
public RexNode getReferenceExpr()
- Returns the expression whose field is being accessed.
getName
public String getName()
- Returns the name of the field.