net.sf.saffron.oj.util
Class JavaRowExpression
java.lang.Object
|
+--net.sf.saffron.rex.RexNode
|
+--net.sf.saffron.oj.util.JavaRowExpression
- public class JavaRowExpression
- extends RexNode
A row expression which is implemented by an underlying Java expression.
This is a leaf node of a RexNode
tree, but the Java expression,
represented by a Expression
object, may be complex.
- Since:
- Nov 23, 2003
- Version:
- $Id: $
- Author:
- jhyde
- See Also:
JavaRexBuilder
env
final Environment env
type
private final SaffronType type
expression
public final Expression expression
JavaRowExpression
public JavaRowExpression(Environment env,
SaffronType type,
Expression expression)
isAlwaysTrue
public boolean isAlwaysTrue()
- Description copied from class:
RexNode
- Returns whether this expression always returns true. (Such as if this
expression is equal to the literal
TRUE
.)
- Overrides:
isAlwaysTrue
in class RexNode
getType
public SaffronType getType()
- Specified by:
getType
in class RexNode
clone
public Object clone()
- Specified by:
clone
in class RexNode