blob: a65532c8ccc3015587cb971152075f3b65f293ca [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="zh">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ReduceDecimalsRule.RexExpander (Apache Calcite calcite API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ReduceDecimalsRule.RexExpander (Apache Calcite calcite API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":6,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10};
var tabs = {65535:["t0","所有方法"],2:["t2","实例方法"],4:["t3","抽象方法"],8:["t4","具体方法"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>您的浏览器已禁用 JavaScript。</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="导航">
<li><a href="../../../../../overview-summary.html">概览</a></li>
<li><a href="package-summary.html">程序包</a></li>
<li class="navBarCell1Rev"></li>
<li><a href="package-tree.html"></a></li>
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
<li><a href="../../../../../index-all.html">索引</a></li>
<li><a href="../../../../../help-doc.html">帮助</a></li>
</ul>
<div class="aboutLanguage"><b>Apache Calcite</b></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/calcite/rel/rules/ReduceDecimalsRule.DecimalShuttle.html" title="org.apache.calcite.rel.rules中的类"><span class="typeNameLink">上一个类</span></a></li>
<li><a href="../../../../../org/apache/calcite/rel/rules/ReduceExpressionsRule.html" title="org.apache.calcite.rel.rules中的类"><span class="typeNameLink">下一个类</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/calcite/rel/rules/ReduceDecimalsRule.RexExpander.html" target="_top">框架</a></li>
<li><a href="ReduceDecimalsRule.RexExpander.html" target="_top">无框架</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>概要:&nbsp;</li>
<li>嵌套&nbsp;|&nbsp;</li>
<li>字段&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">构造器</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">方法</a></li>
</ul>
<ul class="subNavList">
<li>详细资料:&nbsp;</li>
<li>字段&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">构造器</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">方法</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.calcite.rel.rules</div>
<h2 title="类 ReduceDecimalsRule.RexExpander" class="title">类 ReduceDecimalsRule.RexExpander</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.calcite.rel.rules.ReduceDecimalsRule.RexExpander</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>封闭类:</dt>
<dd><a href="../../../../../org/apache/calcite/rel/rules/ReduceDecimalsRule.html" title="org.apache.calcite.rel.rules中的类">ReduceDecimalsRule</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">ReduceDecimalsRule.RexExpander</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a></pre>
<div class="block">Rewrites a decimal expression for a specific set of SqlOperator's. In
general, most expressions are rewritten in such a way that SqlOperator's
do not have to deal with decimals. Decimals are represented by their
unscaled integer representations, similar to
<a href="https://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html?is-external=true#unscaledValue--" title="java.math中的类或接口"><code>BigDecimal.unscaledValue()</code></a> (i.e. 10^scale). Once decimals are
decoded, SqlOperators can then operate on the integer representations. The
value can later be recoded as a decimal.
<p>For example, suppose one casts 2.0 as a decima(10,4). The value is
decoded (20), multiplied by a scale factor (1000), for a result of
(20000) which is encoded as a decimal(10,4), in this case 2.0000
<p>To avoid the lengthy coding of RexNode expressions, this base class
provides succinct methods for building expressions used in rewrites.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>构造器概要</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="构造器概要表, 列表构造器和解释">
<caption><span>构造器</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">构造器和说明</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rules/ReduceDecimalsRule.RexExpander.html#RexExpander-org.apache.calcite.rex.RexBuilder-">RexExpander</a></span>(<a href="../../../../../org/apache/calcite/rex/RexBuilder.html" title="org.apache.calcite.rex中的类">RexBuilder</a>&nbsp;builder)</code>
<div class="block">Constructs a RexExpander</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>方法概要</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
<caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">实例方法</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">抽象方法</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">限定符和类型</th>
<th class="colLast" scope="col">方法和说明</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rules/ReduceDecimalsRule.RexExpander.html#accessValue-org.apache.calcite.rex.RexNode-">accessValue</a></span>(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;node)</code>
<div class="block">Retrieves the primitive value of a numeric node.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rules/ReduceDecimalsRule.RexExpander.html#canExpand-org.apache.calcite.rex.RexCall-">canExpand</a></span>(<a href="../../../../../org/apache/calcite/rex/RexCall.html" title="org.apache.calcite.rex中的类">RexCall</a>&nbsp;call)</code>
<div class="block">This defaults to the utility method,
<a href="../../../../../org/apache/calcite/rex/RexUtil.html#requiresDecimalExpansion-org.apache.calcite.rex.RexNode-boolean-"><code>RexUtil.requiresDecimalExpansion(RexNode, boolean)</code></a> which checks
general guidelines on whether a rewrite should be considered at all.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rules/ReduceDecimalsRule.RexExpander.html#decodeValue-org.apache.calcite.rex.RexNode-">decodeValue</a></span>(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;decimalNode)</code>
<div class="block">Retrieves a decimal node's integer representation</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rules/ReduceDecimalsRule.RexExpander.html#encodeValue-org.apache.calcite.rex.RexNode-org.apache.calcite.rel.type.RelDataType-">encodeValue</a></span>(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;value,
<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a>&nbsp;decimalType)</code>
<div class="block">Casts a decimal's integer representation to a decimal node.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rules/ReduceDecimalsRule.RexExpander.html#encodeValue-org.apache.calcite.rex.RexNode-org.apache.calcite.rel.type.RelDataType-boolean-">encodeValue</a></span>(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;value,
<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a>&nbsp;decimalType,
boolean&nbsp;checkOverflow)</code>
<div class="block">Casts a decimal's integer representation to a decimal node.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rules/ReduceDecimalsRule.RexExpander.html#ensureScale-org.apache.calcite.rex.RexNode-int-int-">ensureScale</a></span>(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;value,
int&nbsp;scale,
int&nbsp;required)</code>
<div class="block">Ensures a value is of a required scale.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rules/ReduceDecimalsRule.RexExpander.html#ensureType-org.apache.calcite.rel.type.RelDataType-org.apache.calcite.rex.RexNode-">ensureType</a></span>(<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a>&nbsp;type,
<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;node)</code>
<div class="block">Ensures expression is interpreted as a specified type.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rules/ReduceDecimalsRule.RexExpander.html#ensureType-org.apache.calcite.rel.type.RelDataType-org.apache.calcite.rex.RexNode-boolean-">ensureType</a></span>(<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a>&nbsp;type,
<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;node,
boolean&nbsp;matchNullability)</code>
<div class="block">Ensures expression is interpreted as a specified type.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>abstract <a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rules/ReduceDecimalsRule.RexExpander.html#expand-org.apache.calcite.rex.RexCall-">expand</a></span>(<a href="../../../../../org/apache/calcite/rex/RexCall.html" title="org.apache.calcite.rex中的类">RexCall</a>&nbsp;call)</code>
<div class="block">Rewrites an expression containing decimals.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rules/ReduceDecimalsRule.RexExpander.html#makeApproxLiteral-java.math.BigDecimal-">makeApproxLiteral</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html?is-external=true" title="java.math中的类或接口">BigDecimal</a>&nbsp;bd)</code>
<div class="block">Makes an approximate literal of double precision</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rules/ReduceDecimalsRule.RexExpander.html#makeApproxScaleFactor-int-">makeApproxScaleFactor</a></span>(int&nbsp;scale)</code>
<div class="block">Makes an approximate literal to be used for scaling</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rules/ReduceDecimalsRule.RexExpander.html#makeCase-org.apache.calcite.rex.RexNode-org.apache.calcite.rex.RexNode-org.apache.calcite.rex.RexNode-">makeCase</a></span>(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;condition,
<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;thenClause,
<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;elseClause)</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rules/ReduceDecimalsRule.RexExpander.html#makeCase-org.apache.calcite.rex.RexNode-org.apache.calcite.rex.RexNode-org.apache.calcite.rex.RexNode-org.apache.calcite.rex.RexNode-org.apache.calcite.rex.RexNode-">makeCase</a></span>(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;whenA,
<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;thenA,
<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;whenB,
<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;thenB,
<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;elseClause)</code>&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rules/ReduceDecimalsRule.RexExpander.html#makeDivide-org.apache.calcite.rex.RexNode-org.apache.calcite.rex.RexNode-">makeDivide</a></span>(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;a,
<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;b)</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rules/ReduceDecimalsRule.RexExpander.html#makeExactLiteral-long-">makeExactLiteral</a></span>(long&nbsp;l)</code>
<div class="block">Makes an exact, non-nullable literal of Bigint type</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rules/ReduceDecimalsRule.RexExpander.html#makeIsNegative-org.apache.calcite.rex.RexNode-">makeIsNegative</a></span>(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;a)</code>&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rules/ReduceDecimalsRule.RexExpander.html#makeIsPositive-org.apache.calcite.rex.RexNode-">makeIsPositive</a></span>(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;a)</code>&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rules/ReduceDecimalsRule.RexExpander.html#makeMinus-org.apache.calcite.rex.RexNode-org.apache.calcite.rex.RexNode-">makeMinus</a></span>(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;a,
<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;b)</code>&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rules/ReduceDecimalsRule.RexExpander.html#makeMultiply-org.apache.calcite.rex.RexNode-org.apache.calcite.rex.RexNode-">makeMultiply</a></span>(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;a,
<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;b)</code>&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rules/ReduceDecimalsRule.RexExpander.html#makePlus-org.apache.calcite.rex.RexNode-org.apache.calcite.rex.RexNode-">makePlus</a></span>(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;a,
<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;b)</code>&nbsp;</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rules/ReduceDecimalsRule.RexExpander.html#makeRoundFactor-int-">makeRoundFactor</a></span>(int&nbsp;scale)</code>
<div class="block">Makes an exact numeric value to be used for rounding.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rules/ReduceDecimalsRule.RexExpander.html#makeScaleFactor-int-">makeScaleFactor</a></span>(int&nbsp;scale)</code>
<div class="block">Makes an exact numeric literal to be used for scaling</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>protected long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rules/ReduceDecimalsRule.RexExpander.html#powerOfTen-int-">powerOfTen</a></span>(int&nbsp;scale)</code>
<div class="block">Calculates a power of ten, as a long value</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rules/ReduceDecimalsRule.RexExpander.html#scaleDown-org.apache.calcite.rex.RexNode-int-">scaleDown</a></span>(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;value,
int&nbsp;scale)</code>
<div class="block">Scales down a decimal value, and returns the scaled value as an exact
numeric. with the rounding convention
<a href="https://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html?is-external=true#ROUND_HALF_UP" title="java.math中的类或接口"><code>BigDecimal.ROUND_HALF_UP</code></a>.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rules/ReduceDecimalsRule.RexExpander.html#scaleDownDouble-org.apache.calcite.rex.RexNode-int-">scaleDownDouble</a></span>(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;value,
int&nbsp;scale)</code>
<div class="block">Scales down a decimal value and returns the scaled value as a an
double precision approximate value.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/rel/rules/ReduceDecimalsRule.RexExpander.html#scaleUp-org.apache.calcite.rex.RexNode-int-">scaleUp</a></span>(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;value,
int&nbsp;scale)</code>
<div class="block">Scales up a decimal value and returns the scaled value as an exact
number.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>从类继承的方法&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="java.lang中的类或接口">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="java.lang中的类或接口">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="java.lang中的类或接口">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="java.lang中的类或接口">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="java.lang中的类或接口">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="java.lang中的类或接口">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="java.lang中的类或接口">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="java.lang中的类或接口">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="java.lang中的类或接口">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="java.lang中的类或接口">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="java.lang中的类或接口">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>构造器详细资料</h3>
<a name="RexExpander-org.apache.calcite.rex.RexBuilder-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>RexExpander</h4>
<pre>public&nbsp;RexExpander(<a href="../../../../../org/apache/calcite/rex/RexBuilder.html" title="org.apache.calcite.rex中的类">RexBuilder</a>&nbsp;builder)</pre>
<div class="block">Constructs a RexExpander</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>方法详细资料</h3>
<a name="canExpand-org.apache.calcite.rex.RexCall-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canExpand</h4>
<pre>public&nbsp;boolean&nbsp;canExpand(<a href="../../../../../org/apache/calcite/rex/RexCall.html" title="org.apache.calcite.rex中的类">RexCall</a>&nbsp;call)</pre>
<div class="block">This defaults to the utility method,
<a href="../../../../../org/apache/calcite/rex/RexUtil.html#requiresDecimalExpansion-org.apache.calcite.rex.RexNode-boolean-"><code>RexUtil.requiresDecimalExpansion(RexNode, boolean)</code></a> which checks
general guidelines on whether a rewrite should be considered at all. In
general, it is helpful to update the utility method since that method is
often used to filter the somewhat expensive rewrite process.
<p>However, this method provides another place for implementations of
RexExpander to make a more detailed analysis before deciding on
whether to perform a rewrite.</div>
</li>
</ul>
<a name="expand-org.apache.calcite.rex.RexCall-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>expand</h4>
<pre>public abstract&nbsp;<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;expand(<a href="../../../../../org/apache/calcite/rex/RexCall.html" title="org.apache.calcite.rex中的类">RexCall</a>&nbsp;call)</pre>
<div class="block">Rewrites an expression containing decimals. Normally, this method
always performs a rewrite, but implementations may choose to return
the original expression if no change was required.</div>
</li>
</ul>
<a name="makeScaleFactor-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>makeScaleFactor</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;makeScaleFactor(int&nbsp;scale)</pre>
<div class="block">Makes an exact numeric literal to be used for scaling</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>scale</code> - a scale from one to max precision - 1</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>10^scale as an exact numeric value</dd>
</dl>
</li>
</ul>
<a name="makeApproxScaleFactor-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>makeApproxScaleFactor</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;makeApproxScaleFactor(int&nbsp;scale)</pre>
<div class="block">Makes an approximate literal to be used for scaling</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>scale</code> - a scale from -99 to 99</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>10^scale as an approximate value</dd>
</dl>
</li>
</ul>
<a name="makeRoundFactor-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>makeRoundFactor</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;makeRoundFactor(int&nbsp;scale)</pre>
<div class="block">Makes an exact numeric value to be used for rounding.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>scale</code> - a scale from 1 to max precision - 1</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>10^scale / 2 as an exact numeric value</dd>
</dl>
</li>
</ul>
<a name="powerOfTen-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>powerOfTen</h4>
<pre>protected&nbsp;long&nbsp;powerOfTen(int&nbsp;scale)</pre>
<div class="block">Calculates a power of ten, as a long value</div>
</li>
</ul>
<a name="makeExactLiteral-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>makeExactLiteral</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;makeExactLiteral(long&nbsp;l)</pre>
<div class="block">Makes an exact, non-nullable literal of Bigint type</div>
</li>
</ul>
<a name="makeApproxLiteral-java.math.BigDecimal-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>makeApproxLiteral</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;makeApproxLiteral(<a href="https://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html?is-external=true" title="java.math中的类或接口">BigDecimal</a>&nbsp;bd)</pre>
<div class="block">Makes an approximate literal of double precision</div>
</li>
</ul>
<a name="scaleUp-org.apache.calcite.rex.RexNode-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>scaleUp</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;scaleUp(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;value,
int&nbsp;scale)</pre>
<div class="block">Scales up a decimal value and returns the scaled value as an exact
number.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>value</code> - the integer representation of a decimal</dd>
<dd><code>scale</code> - a value from zero to max precision - 1</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>value * 10^scale as an exact numeric value</dd>
</dl>
</li>
</ul>
<a name="scaleDown-org.apache.calcite.rex.RexNode-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>scaleDown</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;scaleDown(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;value,
int&nbsp;scale)</pre>
<div class="block">Scales down a decimal value, and returns the scaled value as an exact
numeric. with the rounding convention
<a href="https://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html?is-external=true#ROUND_HALF_UP" title="java.math中的类或接口"><code>BigDecimal.ROUND_HALF_UP</code></a>. (Values midway
between two points are rounded away from zero.)</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>value</code> - the integer representation of a decimal</dd>
<dd><code>scale</code> - a value from zero to max precision</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>value/10^scale, rounded away from zero and returned as an
exact numeric value</dd>
</dl>
</li>
</ul>
<a name="scaleDownDouble-org.apache.calcite.rex.RexNode-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>scaleDownDouble</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;scaleDownDouble(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;value,
int&nbsp;scale)</pre>
<div class="block">Scales down a decimal value and returns the scaled value as a an
double precision approximate value. Scaling is implemented with
double precision arithmetic.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>value</code> - the integer representation of a decimal</dd>
<dd><code>scale</code> - a value from zero to max precision</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>value/10^scale as a double precision value</dd>
</dl>
</li>
</ul>
<a name="ensureScale-org.apache.calcite.rex.RexNode-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ensureScale</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;ensureScale(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;value,
int&nbsp;scale,
int&nbsp;required)</pre>
<div class="block">Ensures a value is of a required scale. If it is not, then the value
is multiplied by a scale factor. Scaling up an exact value is limited
to max precision - 1, because we cannot represent the result of
larger scales internally. Scaling up a floating point value is more
flexible since the value may be very small despite having a scale of
zero and the scaling may still produce a reasonable result</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>value</code> - integer representation of decimal, or a floating point
number</dd>
<dd><code>scale</code> - current scale, 0 for floating point numbers</dd>
<dd><code>required</code> - required scale, must be at least the current scale;
the scale difference may not be greater than max
precision - 1 for exact numerics</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>value * 10^scale, returned as an exact or approximate value
corresponding to the input value</dd>
</dl>
</li>
</ul>
<a name="decodeValue-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>decodeValue</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;decodeValue(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;decimalNode)</pre>
<div class="block">Retrieves a decimal node's integer representation</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>decimalNode</code> - the decimal value as an opaque type</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>an integer representation of the decimal value</dd>
</dl>
</li>
</ul>
<a name="accessValue-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>accessValue</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;accessValue(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;node)</pre>
<div class="block">Retrieves the primitive value of a numeric node. If the node is a
decimal, then it must first be decoded. Otherwise the original node
may be returned.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>node</code> - a numeric node, possibly a decimal</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>the primitive value of the numeric node</dd>
</dl>
</li>
</ul>
<a name="encodeValue-org.apache.calcite.rex.RexNode-org.apache.calcite.rel.type.RelDataType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>encodeValue</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;encodeValue(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;value,
<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a>&nbsp;decimalType)</pre>
<div class="block">Casts a decimal's integer representation to a decimal node. If the
expression is not the expected integer type, then it is casted first.
<p>This method does not request an overflow check.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>value</code> - integer representation of decimal</dd>
<dd><code>decimalType</code> - type integer will be reinterpreted as</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>the integer representation reinterpreted as a decimal type</dd>
</dl>
</li>
</ul>
<a name="encodeValue-org.apache.calcite.rex.RexNode-org.apache.calcite.rel.type.RelDataType-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>encodeValue</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;encodeValue(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;value,
<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a>&nbsp;decimalType,
boolean&nbsp;checkOverflow)</pre>
<div class="block">Casts a decimal's integer representation to a decimal node. If the
expression is not the expected integer type, then it is casted first.
<p>An overflow check may be requested to ensure the internal value
does not exceed the maximum value of the decimal type.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>value</code> - integer representation of decimal</dd>
<dd><code>decimalType</code> - type integer will be reinterpreted as</dd>
<dd><code>checkOverflow</code> - indicates whether an overflow check is required
when reinterpreting this particular value as the
decimal type. A check usually not required for
arithmetic, but is often required for rounding and
explicit casts.</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>the integer reinterpreted as an opaque decimal type</dd>
</dl>
</li>
</ul>
<a name="ensureType-org.apache.calcite.rel.type.RelDataType-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ensureType</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;ensureType(<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a>&nbsp;type,
<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;node)</pre>
<div class="block">Ensures expression is interpreted as a specified type. The returned
expression may be wrapped with a cast.
<p>This method corrects the nullability of the specified type to
match the nullability of the expression.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>type</code> - desired type</dd>
<dd><code>node</code> - expression</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>a casted expression or the original expression</dd>
</dl>
</li>
</ul>
<a name="ensureType-org.apache.calcite.rel.type.RelDataType-org.apache.calcite.rex.RexNode-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ensureType</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;ensureType(<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a>&nbsp;type,
<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;node,
boolean&nbsp;matchNullability)</pre>
<div class="block">Ensures expression is interpreted as a specified type. The returned
expression may be wrapped with a cast.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>type</code> - desired type</dd>
<dd><code>node</code> - expression</dd>
<dd><code>matchNullability</code> - whether to correct nullability of specified
type to match the expression; this usually should
be true, except for explicit casts which can
override default nullability</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>a casted expression or the original expression</dd>
</dl>
</li>
</ul>
<a name="makeCase-org.apache.calcite.rex.RexNode-org.apache.calcite.rex.RexNode-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>makeCase</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;makeCase(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;condition,
<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;thenClause,
<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;elseClause)</pre>
</li>
</ul>
<a name="makeCase-org.apache.calcite.rex.RexNode-org.apache.calcite.rex.RexNode-org.apache.calcite.rex.RexNode-org.apache.calcite.rex.RexNode-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>makeCase</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;makeCase(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;whenA,
<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;thenA,
<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;whenB,
<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;thenB,
<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;elseClause)</pre>
</li>
</ul>
<a name="makePlus-org.apache.calcite.rex.RexNode-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>makePlus</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;makePlus(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;a,
<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;b)</pre>
</li>
</ul>
<a name="makeMinus-org.apache.calcite.rex.RexNode-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>makeMinus</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;makeMinus(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;a,
<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;b)</pre>
</li>
</ul>
<a name="makeDivide-org.apache.calcite.rex.RexNode-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>makeDivide</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;makeDivide(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;a,
<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;b)</pre>
</li>
</ul>
<a name="makeMultiply-org.apache.calcite.rex.RexNode-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>makeMultiply</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;makeMultiply(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;a,
<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;b)</pre>
</li>
</ul>
<a name="makeIsPositive-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>makeIsPositive</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;makeIsPositive(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;a)</pre>
</li>
</ul>
<a name="makeIsNegative-org.apache.calcite.rex.RexNode-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>makeIsNegative</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;makeIsNegative(<a href="../../../../../org/apache/calcite/rex/RexNode.html" title="org.apache.calcite.rex中的类">RexNode</a>&nbsp;a)</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="导航">
<li><a href="../../../../../overview-summary.html">概览</a></li>
<li><a href="package-summary.html">程序包</a></li>
<li class="navBarCell1Rev"></li>
<li><a href="package-tree.html"></a></li>
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
<li><a href="../../../../../index-all.html">索引</a></li>
<li><a href="../../../../../help-doc.html">帮助</a></li>
</ul>
<div class="aboutLanguage"><b>Apache Calcite</b></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/calcite/rel/rules/ReduceDecimalsRule.DecimalShuttle.html" title="org.apache.calcite.rel.rules中的类"><span class="typeNameLink">上一个类</span></a></li>
<li><a href="../../../../../org/apache/calcite/rel/rules/ReduceExpressionsRule.html" title="org.apache.calcite.rel.rules中的类"><span class="typeNameLink">下一个类</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/calcite/rel/rules/ReduceDecimalsRule.RexExpander.html" target="_top">框架</a></li>
<li><a href="ReduceDecimalsRule.RexExpander.html" target="_top">无框架</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>概要:&nbsp;</li>
<li>嵌套&nbsp;|&nbsp;</li>
<li>字段&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">构造器</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">方法</a></li>
</ul>
<ul class="subNavList">
<li>详细资料:&nbsp;</li>
<li>字段&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">构造器</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">方法</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &copy; 2012-2020 Apache Software Foundation. All Rights Reserved.</small></p>
</body>
</html>