net.sf.farrago.ojrex
Class FarragoOJRexUnaryExpressionImplementor
java.lang.Object
net.sf.farrago.ojrex.FarragoOJRexImplementor
net.sf.farrago.ojrex.FarragoOJRexUnaryExpressionImplementor
- All Implemented Interfaces:
- OJRexImplementor
public class FarragoOJRexUnaryExpressionImplementor
- extends FarragoOJRexImplementor
FarragoOJRexUnaryExpressionImplementor implements Farrago specifics of OJRexImplementor for row expressions which can be
translated to instances of OpenJava UnaryExpression.
- Version:
- $Id: //open/dev/farrago/src/net/sf/farrago/ojrex/FarragoOJRexUnaryExpressionImplementor.java#12 $
- Author:
- Angel Chang
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ojUnaryExpressionOrdinal
private final int ojUnaryExpressionOrdinal
FarragoOJRexUnaryExpressionImplementor
public FarragoOJRexUnaryExpressionImplementor(int ojUnaryExpressionOrdinal)
implementFarrago
public Expression implementFarrago(FarragoRexToOJTranslator translator,
RexCall call,
Expression[] operands)
- Description copied from class:
FarragoOJRexImplementor
- Refined version of
OJRexImplementor.implement(org.eigenbase.oj.rex.RexToOJTranslator, org.eigenbase.rex.RexCall, openjava.ptree.Expression[]).
- Specified by:
implementFarrago in class FarragoOJRexImplementor
- Parameters:
translator - provides Farrago-specific translation contextcall - the call to be translatedoperands - call's operands, which have already been translated
independently
implementNotNull
private Expression implementNotNull(FarragoRexToOJTranslator translator,
RexCall call,
Expression[] operands)