org.eigenbase.rel.rules
Class ReduceDecimalsRule.CastArgAsReturnExpander
java.lang.Object
org.eigenbase.rel.rules.ReduceDecimalsRule.RexExpander
org.eigenbase.rel.rules.ReduceDecimalsRule.CastArgAsTypeExpander
org.eigenbase.rel.rules.ReduceDecimalsRule.CastArgAsReturnExpander
- Enclosing class:
- ReduceDecimalsRule
private class ReduceDecimalsRule.CastArgAsReturnExpander
- extends ReduceDecimalsRule.CastArgAsTypeExpander
An expander which casts decimal arguments as call return type
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 |
ReduceDecimalsRule.CastArgAsReturnExpander
private ReduceDecimalsRule.CastArgAsReturnExpander(RexBuilder builder)
getArgType
public RelDataType getArgType(RexCall call,
int ordinal)
- Specified by:
getArgType
in class ReduceDecimalsRule.CastArgAsTypeExpander