net.sf.saffron.rex
Class RexUtil
java.lang.Object
|
+--net.sf.saffron.rex.RexUtil
- public class RexUtil
- extends Object
Utility methods concerning row-expressions.
- Since:
- Nov 23, 2003
- Version:
- $Id: $
- Author:
- jhyde
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
emptyExpressionArray
public static final RexNode[] emptyExpressionArray
RexUtil
public RexUtil()
getSelectivity
public static double getSelectivity(RexNode exp)
clone
public static RexNode clone(RexNode exp)
- Returns a copy of a row-expression.
clone
public static RexNode[] clone(RexNode[] exps)
- Returns a copy of an array of row-expressions.
generateCastExpressions
public static RexNode[] generateCastExpressions(RexBuilder rexBuilder,
SaffronType lhsRowType,
RexNode[] rhsExps)