blob: 2f3c2853828d2d5188d81c9b03ed521e300d5387 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>RexProgramFuzzyTest (Calcite 1.20.0 Test API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-migrate-3.0.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="RexProgramFuzzyTest (Calcite 1.20.0 Test API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":9,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":9,"i12":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/RexProgramFuzzyTest.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.calcite.test.fuzzer</a></div>
<h2 title="Class RexProgramFuzzyTest" class="title">Class RexProgramFuzzyTest</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../RexProgramBuilderBase.html" title="class in org.apache.calcite.test">org.apache.calcite.test.RexProgramBuilderBase</a></li>
<li>
<ul class="inheritance">
<li>org.apache.calcite.test.fuzzer.RexProgramFuzzyTest</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<pre>public class <span class="typeNameLabel">RexProgramFuzzyTest</span>
extends <a href="../RexProgramBuilderBase.html" title="class in org.apache.calcite.test">RexProgramBuilderBase</a></pre>
<div class="block">Validates that <code>RexSimplify</code> is able to deal with
randomized <code>RexNode</code>.
Note: the default fuzzing time is 5 seconds to keep overall test duration reasonable.
The test starts from a random point every time, so the longer it runs the more errors it detects.
<p>Note: The test is not included to <a href="../CalciteSuite.html" title="class in org.apache.calcite.test"><code>CalciteSuite</code></a> since it would
fail every build (there are lots of issues with <code>RexSimplify</code>)</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private static class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="RexProgramFuzzyTest.TopN.html" title="class in org.apache.calcite.test.fuzzer">RexProgramFuzzyTest.TopN</a>&lt;<a href="RexProgramFuzzyTest.TopN.html" title="type parameter in RexProgramFuzzyTest.TopN">E</a> extends java.lang.Comparable&lt;<a href="RexProgramFuzzyTest.TopN.html" title="type parameter in RexProgramFuzzyTest.TopN">E</a>&gt;&gt;</span></code></th>
<td class="colLast">
<div class="block">A bounded variation of <code>PriorityQueue</code></div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#currentSeed">currentSeed</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private static java.time.Duration</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DEFAULT_FUZZ_TEST_DURATION">DEFAULT_FUZZ_TEST_DURATION</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DEFAULT_FUZZ_TEST_FAIL">DEFAULT_FUZZ_TEST_FAIL</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private static long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DEFAULT_FUZZ_TEST_ITERATIONS">DEFAULT_FUZZ_TEST_ITERATIONS</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private static long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#DEFAULT_FUZZ_TEST_SEED">DEFAULT_FUZZ_TEST_SEED</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static org.slf4j.Logger</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#LOGGER">LOGGER</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MAX_FAILURES">MAX_FAILURES</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private static long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#SEED">SEED</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private java.util.PriorityQueue&lt;<a href="SimplifyTask.html" title="class in org.apache.calcite.test.fuzzer">SimplifyTask</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#slowestTasks">slowestTasks</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private static org.apache.calcite.plan.Strong</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#STRONG">STRONG</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private static java.time.Duration</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#TEST_DURATION">TEST_DURATION</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private static long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#TEST_ITERATIONS">TEST_ITERATIONS</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#TOPN_SLOWEST">TOPN_SLOWEST</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.apache.calcite.test.RexProgramBuilderBase">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.calcite.test.<a href="../RexProgramBuilderBase.html" title="class in org.apache.calcite.test">RexProgramBuilderBase</a></h3>
<code><a href="../RexProgramBuilderBase.html#executor">executor</a>, <a href="../RexProgramBuilderBase.html#falseLiteral">falseLiteral</a>, <a href="../RexProgramBuilderBase.html#MAX_FIELDS">MAX_FIELDS</a>, <a href="../RexProgramBuilderBase.html#nullBool">nullBool</a>, <a href="../RexProgramBuilderBase.html#nullInt">nullInt</a>, <a href="../RexProgramBuilderBase.html#nullVarchar">nullVarchar</a>, <a href="../RexProgramBuilderBase.html#rexBuilder">rexBuilder</a>, <a href="../RexProgramBuilderBase.html#simplify">simplify</a>, <a href="../RexProgramBuilderBase.html#trueLiteral">trueLiteral</a>, <a href="../RexProgramBuilderBase.html#typeFactory">typeFactory</a></code></li>
</ul>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">RexProgramFuzzyTest</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>private void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#checkUnknownAs(org.apache.calcite.rex.RexNode)">checkUnknownAs</a></span>&#8203;(org.apache.calcite.rex.RexNode&nbsp;node)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>private void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#checkUnknownAs(org.apache.calcite.rex.RexNode,org.apache.calcite.rex.RexUnknownAs)">checkUnknownAs</a></span>&#8203;(org.apache.calcite.rex.RexNode&nbsp;node,
org.apache.calcite.rex.RexUnknownAs&nbsp;unknownAs)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#defaultFuzzTest()">defaultFuzzTest</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>private void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#generateRexAndCheckTrueFalse(org.apache.calcite.test.fuzzer.RexFuzzer,java.util.Random)">generateRexAndCheckTrueFalse</a></span>&#8203;(<a href="RexFuzzer.html" title="class in org.apache.calcite.test.fuzzer">RexFuzzer</a>&nbsp;fuzzer,
java.util.Random&nbsp;r)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>private void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#nestedCalls(org.apache.calcite.rex.RexNode)">nestedCalls</a></span>&#8203;(org.apache.calcite.rex.RexNode&nbsp;arg)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>private static java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#nodeToString(org.apache.calcite.rex.RexNode)">nodeToString</a></span>&#8203;(org.apache.calcite.rex.RexNode&nbsp;node)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>private void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#runRexFuzzer(long,java.time.Duration,int,long,int)">runRexFuzzer</a></span>&#8203;(long&nbsp;startSeed,
java.time.Duration&nbsp;testDuration,
int&nbsp;maxFailures,
long&nbsp;testIterations,
int&nbsp;topnSlowest)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setUp()">setUp</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#singleFuzzyTest()">singleFuzzyTest</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testFuzzy()">testFuzzy</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#testNestedCalls()">testNestedCalls</a></span>()</code></th>
<td class="colLast">
<div class="block">Verifies <code>IS TRUE(IS NULL(null))</code> kind of expressions up to 4 level deep.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>private static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#trimStackTrace(java.lang.Throwable,int)">trimStackTrace</a></span>&#8203;(java.lang.Throwable&nbsp;t,
int&nbsp;maxStackLines)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>private java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#unknownAsString(org.apache.calcite.rex.RexUnknownAs)">unknownAsString</a></span>&#8203;(org.apache.calcite.rex.RexUnknownAs&nbsp;unknownAs)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.calcite.test.RexProgramBuilderBase">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.calcite.test.<a href="../RexProgramBuilderBase.html" title="class in org.apache.calcite.test">RexProgramBuilderBase</a></h3>
<code><a href="../RexProgramBuilderBase.html#abstractCast(org.apache.calcite.rex.RexNode,org.apache.calcite.rel.type.RelDataType)">abstractCast</a>, <a href="../RexProgramBuilderBase.html#add(org.apache.calcite.rex.RexNode,org.apache.calcite.rex.RexNode)">add</a>, <a href="../RexProgramBuilderBase.html#and(java.lang.Iterable)">and</a>, <a href="../RexProgramBuilderBase.html#and(org.apache.calcite.rex.RexNode...)">and</a>, <a href="../RexProgramBuilderBase.html#case_(java.lang.Iterable)">case_</a>, <a href="../RexProgramBuilderBase.html#case_(org.apache.calcite.rex.RexNode...)">case_</a>, <a href="../RexProgramBuilderBase.html#cast(org.apache.calcite.rex.RexNode,org.apache.calcite.rel.type.RelDataType)">cast</a>, <a href="../RexProgramBuilderBase.html#coalesce(org.apache.calcite.rex.RexNode...)">coalesce</a>, <a href="../RexProgramBuilderBase.html#div(org.apache.calcite.rex.RexNode,org.apache.calcite.rex.RexNode)">div</a>, <a href="../RexProgramBuilderBase.html#divInt(org.apache.calcite.rex.RexNode,org.apache.calcite.rex.RexNode)">divInt</a>, <a href="../RexProgramBuilderBase.html#eq(org.apache.calcite.rex.RexNode,org.apache.calcite.rex.RexNode)">eq</a>, <a href="../RexProgramBuilderBase.html#ge(org.apache.calcite.rex.RexNode,org.apache.calcite.rex.RexNode)">ge</a>, <a href="../RexProgramBuilderBase.html#gt(org.apache.calcite.rex.RexNode,org.apache.calcite.rex.RexNode)">gt</a>, <a href="../RexProgramBuilderBase.html#in(org.apache.calcite.rex.RexNode,org.apache.calcite.rex.RexNode...)">in</a>, <a href="../RexProgramBuilderBase.html#input(org.apache.calcite.rel.type.RelDataType,int)">input</a>, <a href="../RexProgramBuilderBase.html#isDistinctFrom(org.apache.calcite.rex.RexNode,org.apache.calcite.rex.RexNode)">isDistinctFrom</a>, <a href="../RexProgramBuilderBase.html#isFalse(org.apache.calcite.rex.RexNode)">isFalse</a>, <a href="../RexProgramBuilderBase.html#isNotDistinctFrom(org.apache.calcite.rex.RexNode,org.apache.calcite.rex.RexNode)">isNotDistinctFrom</a>, <a href="../RexProgramBuilderBase.html#isNotFalse(org.apache.calcite.rex.RexNode)">isNotFalse</a>, <a href="../RexProgramBuilderBase.html#isNotNull(org.apache.calcite.rex.RexNode)">isNotNull</a>, <a href="../RexProgramBuilderBase.html#isNotTrue(org.apache.calcite.rex.RexNode)">isNotTrue</a>, <a href="../RexProgramBuilderBase.html#isNull(org.apache.calcite.rex.RexNode)">isNull</a>, <a href="../RexProgramBuilderBase.html#isTrue(org.apache.calcite.rex.RexNode)">isTrue</a>, <a href="../RexProgramBuilderBase.html#isUnknown(org.apache.calcite.rex.RexNode)">isUnknown</a>, <a href="../RexProgramBuilderBase.html#le(org.apache.calcite.rex.RexNode,org.apache.calcite.rex.RexNode)">le</a>, <a href="../RexProgramBuilderBase.html#literal(boolean)">literal</a>, <a href="../RexProgramBuilderBase.html#literal(int)">literal</a>, <a href="../RexProgramBuilderBase.html#literal(java.lang.Boolean)">literal</a>, <a href="../RexProgramBuilderBase.html#literal(java.lang.Integer)">literal</a>, <a href="../RexProgramBuilderBase.html#literal(java.lang.String)">literal</a>, <a href="../RexProgramBuilderBase.html#literal(java.math.BigDecimal)">literal</a>, <a href="../RexProgramBuilderBase.html#literal(java.math.BigDecimal,org.apache.calcite.rel.type.RelDataType)">literal</a>, <a href="../RexProgramBuilderBase.html#lt(org.apache.calcite.rex.RexNode,org.apache.calcite.rex.RexNode)">lt</a>, <a href="../RexProgramBuilderBase.html#mul(org.apache.calcite.rex.RexNode,org.apache.calcite.rex.RexNode)">mul</a>, <a href="../RexProgramBuilderBase.html#ne(org.apache.calcite.rex.RexNode,org.apache.calcite.rex.RexNode)">ne</a>, <a href="../RexProgramBuilderBase.html#not(org.apache.calcite.rex.RexNode)">not</a>, <a href="../RexProgramBuilderBase.html#null_(org.apache.calcite.rel.type.RelDataType)">null_</a>, <a href="../RexProgramBuilderBase.html#nullable(org.apache.calcite.rel.type.RelDataType)">nullable</a>, <a href="../RexProgramBuilderBase.html#nullIf(org.apache.calcite.rex.RexNode,org.apache.calcite.rex.RexNode)">nullIf</a>, <a href="../RexProgramBuilderBase.html#or(java.lang.Iterable)">or</a>, <a href="../RexProgramBuilderBase.html#or(org.apache.calcite.rex.RexNode...)">or</a>, <a href="../RexProgramBuilderBase.html#plus(org.apache.calcite.rex.RexNode,org.apache.calcite.rex.RexNode)">plus</a>, <a href="../RexProgramBuilderBase.html#sub(org.apache.calcite.rex.RexNode,org.apache.calcite.rex.RexNode)">sub</a>, <a href="../RexProgramBuilderBase.html#tBoolean()">tBoolean</a>, <a href="../RexProgramBuilderBase.html#tBoolean(boolean)">tBoolean</a>, <a href="../RexProgramBuilderBase.html#tInt()">tInt</a>, <a href="../RexProgramBuilderBase.html#tInt(boolean)">tInt</a>, <a href="../RexProgramBuilderBase.html#tVarchar()">tVarchar</a>, <a href="../RexProgramBuilderBase.html#tVarchar(boolean)">tVarchar</a>, <a href="../RexProgramBuilderBase.html#unaryMinus(org.apache.calcite.rex.RexNode)">unaryMinus</a>, <a href="../RexProgramBuilderBase.html#unaryPlus(org.apache.calcite.rex.RexNode)">unaryPlus</a>, <a href="../RexProgramBuilderBase.html#vBool()">vBool</a>, <a href="../RexProgramBuilderBase.html#vBool(int)">vBool</a>, <a href="../RexProgramBuilderBase.html#vBoolNotNull()">vBoolNotNull</a>, <a href="../RexProgramBuilderBase.html#vBoolNotNull(int)">vBoolNotNull</a>, <a href="../RexProgramBuilderBase.html#vInt()">vInt</a>, <a href="../RexProgramBuilderBase.html#vInt(int)">vInt</a>, <a href="../RexProgramBuilderBase.html#vIntNotNull()">vIntNotNull</a>, <a href="../RexProgramBuilderBase.html#vIntNotNull(int)">vIntNotNull</a>, <a href="../RexProgramBuilderBase.html#vVarchar()">vVarchar</a>, <a href="../RexProgramBuilderBase.html#vVarchar(int)">vVarchar</a>, <a href="../RexProgramBuilderBase.html#vVarcharNotNull()">vVarcharNotNull</a>, <a href="../RexProgramBuilderBase.html#vVarcharNotNull(int)">vVarcharNotNull</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a id="LOGGER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOGGER</h4>
<pre>protected static final&nbsp;org.slf4j.Logger LOGGER</pre>
</li>
</ul>
<a id="TEST_DURATION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TEST_DURATION</h4>
<pre>private static final&nbsp;java.time.Duration TEST_DURATION</pre>
</li>
</ul>
<a id="TEST_ITERATIONS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TEST_ITERATIONS</h4>
<pre>private static final&nbsp;long TEST_ITERATIONS</pre>
</li>
</ul>
<a id="MAX_FAILURES">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>MAX_FAILURES</h4>
<pre>private static final&nbsp;int MAX_FAILURES</pre>
</li>
</ul>
<a id="TOPN_SLOWEST">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TOPN_SLOWEST</h4>
<pre>private static final&nbsp;int TOPN_SLOWEST</pre>
</li>
</ul>
<a id="SEED">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SEED</h4>
<pre>private static final&nbsp;long SEED</pre>
</li>
</ul>
<a id="DEFAULT_FUZZ_TEST_SEED">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_FUZZ_TEST_SEED</h4>
<pre>private static final&nbsp;long DEFAULT_FUZZ_TEST_SEED</pre>
</li>
</ul>
<a id="DEFAULT_FUZZ_TEST_DURATION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_FUZZ_TEST_DURATION</h4>
<pre>private static final&nbsp;java.time.Duration DEFAULT_FUZZ_TEST_DURATION</pre>
</li>
</ul>
<a id="DEFAULT_FUZZ_TEST_ITERATIONS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_FUZZ_TEST_ITERATIONS</h4>
<pre>private static final&nbsp;long DEFAULT_FUZZ_TEST_ITERATIONS</pre>
</li>
</ul>
<a id="DEFAULT_FUZZ_TEST_FAIL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_FUZZ_TEST_FAIL</h4>
<pre>private static final&nbsp;boolean DEFAULT_FUZZ_TEST_FAIL</pre>
</li>
</ul>
<a id="slowestTasks">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>slowestTasks</h4>
<pre>private&nbsp;java.util.PriorityQueue&lt;<a href="SimplifyTask.html" title="class in org.apache.calcite.test.fuzzer">SimplifyTask</a>&gt; slowestTasks</pre>
</li>
</ul>
<a id="currentSeed">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>currentSeed</h4>
<pre>private&nbsp;long currentSeed</pre>
</li>
</ul>
<a id="STRONG">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>STRONG</h4>
<pre>private static final&nbsp;org.apache.calcite.plan.Strong STRONG</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>RexProgramFuzzyTest</h4>
<pre>public&nbsp;RexProgramFuzzyTest()</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="setUp()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUp</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setUp()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../RexProgramBuilderBase.html#setUp()">setUp</a></code>&nbsp;in class&nbsp;<code><a href="../RexProgramBuilderBase.html" title="class in org.apache.calcite.test">RexProgramBuilderBase</a></code></dd>
</dl>
</li>
</ul>
<a id="testNestedCalls()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testNestedCalls</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;testNestedCalls()</pre>
<div class="block">Verifies <code>IS TRUE(IS NULL(null))</code> kind of expressions up to 4 level deep.</div>
</li>
</ul>
<a id="nestedCalls(org.apache.calcite.rex.RexNode)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nestedCalls</h4>
<pre class="methodSignature">private&nbsp;void&nbsp;nestedCalls&#8203;(org.apache.calcite.rex.RexNode&nbsp;arg)</pre>
</li>
</ul>
<a id="checkUnknownAs(org.apache.calcite.rex.RexNode)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkUnknownAs</h4>
<pre class="methodSignature">private&nbsp;void&nbsp;checkUnknownAs&#8203;(org.apache.calcite.rex.RexNode&nbsp;node)</pre>
</li>
</ul>
<a id="checkUnknownAs(org.apache.calcite.rex.RexNode,org.apache.calcite.rex.RexUnknownAs)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkUnknownAs</h4>
<pre class="methodSignature">private&nbsp;void&nbsp;checkUnknownAs&#8203;(org.apache.calcite.rex.RexNode&nbsp;node,
org.apache.calcite.rex.RexUnknownAs&nbsp;unknownAs)</pre>
</li>
</ul>
<a id="unknownAsString(org.apache.calcite.rex.RexUnknownAs)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unknownAsString</h4>
<pre class="methodSignature">@Nonnull
private&nbsp;java.lang.String&nbsp;unknownAsString&#8203;(org.apache.calcite.rex.RexUnknownAs&nbsp;unknownAs)</pre>
</li>
</ul>
<a id="nodeToString(org.apache.calcite.rex.RexNode)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nodeToString</h4>
<pre class="methodSignature">private static&nbsp;java.lang.String&nbsp;nodeToString&#8203;(org.apache.calcite.rex.RexNode&nbsp;node)</pre>
</li>
</ul>
<a id="trimStackTrace(java.lang.Throwable,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>trimStackTrace</h4>
<pre class="methodSignature">private static&nbsp;void&nbsp;trimStackTrace&#8203;(java.lang.Throwable&nbsp;t,
int&nbsp;maxStackLines)</pre>
</li>
</ul>
<a id="defaultFuzzTest()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>defaultFuzzTest</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;defaultFuzzTest()</pre>
</li>
</ul>
<a id="testFuzzy()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testFuzzy</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;testFuzzy()</pre>
</li>
</ul>
<a id="runRexFuzzer(long,java.time.Duration,int,long,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>runRexFuzzer</h4>
<pre class="methodSignature">private&nbsp;void&nbsp;runRexFuzzer&#8203;(long&nbsp;startSeed,
java.time.Duration&nbsp;testDuration,
int&nbsp;maxFailures,
long&nbsp;testIterations,
int&nbsp;topnSlowest)</pre>
</li>
</ul>
<a id="generateRexAndCheckTrueFalse(org.apache.calcite.test.fuzzer.RexFuzzer,java.util.Random)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateRexAndCheckTrueFalse</h4>
<pre class="methodSignature">private&nbsp;void&nbsp;generateRexAndCheckTrueFalse&#8203;(<a href="RexFuzzer.html" title="class in org.apache.calcite.test.fuzzer">RexFuzzer</a>&nbsp;fuzzer,
java.util.Random&nbsp;r)</pre>
</li>
</ul>
<a id="singleFuzzyTest()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>singleFuzzyTest</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;singleFuzzyTest()</pre>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/RexProgramFuzzyTest.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2012&#x2013;2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</body>
</html>