org.eigenbase.rel.rules
Class ReduceDecimalsRule.CastArgAsDoubleExpander

java.lang.Object
  extended by org.eigenbase.rel.rules.ReduceDecimalsRule.RexExpander
      extended by org.eigenbase.rel.rules.ReduceDecimalsRule.CastArgAsTypeExpander
          extended by org.eigenbase.rel.rules.ReduceDecimalsRule.CastArgAsDoubleExpander
Enclosing class:
ReduceDecimalsRule

private class ReduceDecimalsRule.CastArgAsDoubleExpander
extends ReduceDecimalsRule.CastArgAsTypeExpander

An expander which casts decimal arguments as doubles


Field Summary
 
Fields inherited from class org.eigenbase.rel.rules.ReduceDecimalsRule.RexExpander
builder, int8, real8
 
Constructor Summary
private ReduceDecimalsRule.CastArgAsDoubleExpander(RexBuilder builder)
           
 
Method Summary
 RelDataType getArgType(RexCall call, int ordinal)
           
 
Methods inherited from class org.eigenbase.rel.rules.ReduceDecimalsRule.CastArgAsTypeExpander
expand
 
Methods inherited from class org.eigenbase.rel.rules.ReduceDecimalsRule.RexExpander
accessValue, canExpand, decodeValue, encodeValue, encodeValue, ensureScale, ensureType, ensureType, makeApproxLiteral, makeApproxScaleFactor, makeCase, makeCase, makeDivide, makeExactLiteral, makeIsNegative, makeIsPositive, makeMinus, makeMultiply, makePlus, makeRoundFactor, makeScaleFactor, matchNullability, powerOfTen, scaleDown, scaleDownDouble, scaleUp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReduceDecimalsRule.CastArgAsDoubleExpander

private ReduceDecimalsRule.CastArgAsDoubleExpander(RexBuilder builder)
Method Detail

getArgType

public RelDataType getArgType(RexCall call,
                              int ordinal)
Specified by:
getArgType in class ReduceDecimalsRule.CastArgAsTypeExpander