net.sf.farrago.fennel.calc
Class CalcRexImplementorTableImpl.IsBoolImplementor
java.lang.Object
net.sf.farrago.fennel.calc.CalcRexImplementorTableImpl.IsBoolImplementor
- All Implemented Interfaces:
- CalcRexImplementor
- Direct Known Subclasses:
- CalcRexImplementorTableImpl.IsNotBoolImplementor
- Enclosing class:
- CalcRexImplementorTableImpl
private static class CalcRexImplementorTableImpl.IsBoolImplementor
- extends Object
- implements CalcRexImplementor
Implements "IS TRUE" and "IS FALSE" operators.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
boolType
private boolean boolType
res
protected RexNode res
CalcRexImplementorTableImpl.IsBoolImplementor
CalcRexImplementorTableImpl.IsBoolImplementor(boolean boolType)
canImplement
public boolean canImplement(RexCall call)
- Specified by:
canImplement
in interface CalcRexImplementor
implement
public CalcReg implement(RexCall call,
RexToCalcTranslator translator)
- Description copied from interface:
CalcRexImplementor
- Generates instructions to implement this call, and returns the register
which holds the result.
- Specified by:
implement
in interface CalcRexImplementor