net.sf.farrago.fennel.calc
Class CalcRexImplementorTableImpl.HistogramResultRexImplementor

java.lang.Object
  extended by net.sf.farrago.fennel.calc.CalcRexImplementorTableImpl.AbstractCalcRexImplementor
      extended by net.sf.farrago.fennel.calc.CalcRexImplementorTableImpl.HistogramResultRexImplementor
All Implemented Interfaces:
CalcRexImplementor
Enclosing class:
CalcRexImplementorTableImpl

private static class CalcRexImplementorTableImpl.HistogramResultRexImplementor
extends CalcRexImplementorTableImpl.AbstractCalcRexImplementor

Implementation of the operators which extract a result from a histogram:

See Also:
CalcRexImplementorTableImpl.HistogramAggRexImplementor

Field Summary
private  SqlAggFunction function
           
 
Constructor Summary
CalcRexImplementorTableImpl.HistogramResultRexImplementor(SqlAggFunction function)
           
 
Method Summary
 CalcReg implement(RexCall call, RexToCalcTranslator translator)
          Generates instructions to implement this call, and returns the register which holds the result.
 
Methods inherited from class net.sf.farrago.fennel.calc.CalcRexImplementorTableImpl.AbstractCalcRexImplementor
canImplement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

function

private final SqlAggFunction function
Constructor Detail

CalcRexImplementorTableImpl.HistogramResultRexImplementor

public CalcRexImplementorTableImpl.HistogramResultRexImplementor(SqlAggFunction function)
Method Detail

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.