net.sf.farrago.fennel.calc
Class CalcRexImplementorTableImpl.CaseImplementor
java.lang.Object
net.sf.farrago.fennel.calc.CalcRexImplementorTableImpl.AbstractCalcRexImplementor
net.sf.farrago.fennel.calc.CalcRexImplementorTableImpl.CaseImplementor
- All Implemented Interfaces:
- CalcRexImplementor
- Enclosing class:
- CalcRexImplementorTableImpl
private static class CalcRexImplementorTableImpl.CaseImplementor
- extends CalcRexImplementorTableImpl.AbstractCalcRexImplementor
Implementor for CASE operator.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CalcRexImplementorTableImpl.CaseImplementor
private CalcRexImplementorTableImpl.CaseImplementor()
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.
implementCaseValue
private void implementCaseValue(RexToCalcTranslator translator,
CalcReg resultOfCall,
RelDataType resultDataType,
RexNode value)