net.sf.farrago.fennel.calc
Class CalcRexImplementorTableImpl.TimeFunctionImplementor
java.lang.Object
net.sf.farrago.fennel.calc.CalcRexImplementorTableImpl.AbstractCalcRexImplementor
net.sf.farrago.fennel.calc.CalcRexImplementorTableImpl.TimeFunctionImplementor
- All Implemented Interfaces:
- CalcRexImplementor
- Enclosing class:
- CalcRexImplementorTableImpl
private static class CalcRexImplementorTableImpl.TimeFunctionImplementor
- extends CalcRexImplementorTableImpl.AbstractCalcRexImplementor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
timeFuncs
private static final Map<SqlOperator,CalcProgramBuilder.ExtInstrDef> timeFuncs
CalcRexImplementorTableImpl.TimeFunctionImplementor
private CalcRexImplementorTableImpl.TimeFunctionImplementor()
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.
implementTimeFunc
private static CalcReg implementTimeFunc(CalcProgramBuilder.ExtInstrDef instruction,
RexNode operand,
RexToCalcTranslator translator)