| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>RexFuzzer (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="RexFuzzer (Calcite 1.20.0 Test API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10}; |
| var tabs = {65535:["t0","All 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/RexFuzzer.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 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: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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"> </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> <a href="package-summary.html">org.apache.calcite.test.fuzzer</a></div> |
| <h2 title="Class RexFuzzer" class="title">Class RexFuzzer</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.RexFuzzer</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <pre>public class <span class="typeNameLabel">RexFuzzer</span> |
| extends <a href="../RexProgramBuilderBase.html" title="class in org.apache.calcite.test">RexProgramBuilderBase</a></pre> |
| <div class="block">Generates random <code>RexNode</code> instances for tests.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== 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"> </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 static org.apache.calcite.sql.SqlOperator[]</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ANY_SAME_TYPE_MULTI_ARG">ANY_SAME_TYPE_MULTI_ARG</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private static org.apache.calcite.sql.SqlOperator[]</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ANY_TO_BOOL">ANY_TO_BOOL</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private static org.apache.calcite.sql.SqlOperator[]</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#BOOL_TO_BOOL">BOOL_TO_BOOL</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private static org.apache.calcite.sql.SqlOperator[]</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#BOOL_TO_BOOL_MULTI_ARG">BOOL_TO_BOOL_MULTI_ARG</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private static org.apache.calcite.sql.SqlOperator[]</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#COMPARABLE_TO_BOOL">COMPARABLE_TO_BOOL</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private static int[]</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#INT_VALUES">INT_VALUES</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private org.apache.calcite.rel.type.RelDataType</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#intType">intType</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private static int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#MAX_VARS">MAX_VARS</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private org.apache.calcite.rel.type.RelDataType</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#nullableIntType">nullableIntType</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private static org.apache.calcite.sql.SqlOperator[]</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#NUMERIC_TO_NUMERIC">NUMERIC_TO_NUMERIC</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private static org.apache.calcite.sql.SqlOperator[]</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#UNARY_NUMERIC">UNARY_NUMERIC</a></span></code></th> |
| <td class="colLast"> </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 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"> </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(org.apache.calcite.rex.RexBuilder,org.apache.calcite.adapter.java.JavaTypeFactory)">RexFuzzer</a></span>​(org.apache.calcite.rex.RexBuilder rexBuilder, |
| org.apache.calcite.adapter.java.JavaTypeFactory typeFactory)</code></th> |
| <td class="colLast"> |
| <div class="block">Generates randomized <code>RexNode</code>.</div> |
| </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </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>org.apache.calcite.rex.RexNode</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fuzzCase(java.util.Random,int,java.util.function.Function)">fuzzCase</a></span>​(java.util.Random r, |
| int depth, |
| java.util.function.Function<java.util.Random,​org.apache.calcite.rex.RexNode> resultFactory)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>private org.apache.calcite.rex.RexNode</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fuzzOperator(java.util.Random,org.apache.calcite.sql.SqlOperator%5B%5D,int,java.util.function.Function)">fuzzOperator</a></span>​(java.util.Random r, |
| org.apache.calcite.sql.SqlOperator[] operators, |
| int length, |
| java.util.function.Function<java.util.Random,​org.apache.calcite.rex.RexNode> factory)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>private org.apache.calcite.rex.RexNode</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fuzzOperator(java.util.Random,org.apache.calcite.sql.SqlOperator%5B%5D,org.apache.calcite.rex.RexNode...)">fuzzOperator</a></span>​(java.util.Random r, |
| org.apache.calcite.sql.SqlOperator[] operators, |
| org.apache.calcite.rex.RexNode... args)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>org.apache.calcite.rex.RexNode</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBoolExpression(java.util.Random,int)">getBoolExpression</a></span>​(java.util.Random r, |
| int depth)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>org.apache.calcite.rex.RexNode</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getComparableExpression(java.util.Random,int)">getComparableExpression</a></span>​(java.util.Random r, |
| int depth)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>org.apache.calcite.rex.RexNode</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getExpression(java.util.Random,int)">getExpression</a></span>​(java.util.Random r, |
| int depth)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>org.apache.calcite.rex.RexNode</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIntExpression(java.util.Random,int)">getIntExpression</a></span>​(java.util.Random r, |
| int depth)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>org.apache.calcite.rex.RexNode</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSimpleBool(java.util.Random)">getSimpleBool</a></span>​(java.util.Random r)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>org.apache.calcite.rex.RexNode</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSimpleInt(java.util.Random)">getSimpleInt</a></span>​(java.util.Random r)</code></th> |
| <td class="colLast"> </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 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#setUp()">setUp</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 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="MAX_VARS"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>MAX_VARS</h4> |
| <pre>private static final int MAX_VARS</pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../constant-values.html#org.apache.calcite.test.fuzzer.RexFuzzer.MAX_VARS">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="BOOL_TO_BOOL"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>BOOL_TO_BOOL</h4> |
| <pre>private static final org.apache.calcite.sql.SqlOperator[] BOOL_TO_BOOL</pre> |
| </li> |
| </ul> |
| <a id="ANY_TO_BOOL"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ANY_TO_BOOL</h4> |
| <pre>private static final org.apache.calcite.sql.SqlOperator[] ANY_TO_BOOL</pre> |
| </li> |
| </ul> |
| <a id="COMPARABLE_TO_BOOL"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>COMPARABLE_TO_BOOL</h4> |
| <pre>private static final org.apache.calcite.sql.SqlOperator[] COMPARABLE_TO_BOOL</pre> |
| </li> |
| </ul> |
| <a id="BOOL_TO_BOOL_MULTI_ARG"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>BOOL_TO_BOOL_MULTI_ARG</h4> |
| <pre>private static final org.apache.calcite.sql.SqlOperator[] BOOL_TO_BOOL_MULTI_ARG</pre> |
| </li> |
| </ul> |
| <a id="ANY_SAME_TYPE_MULTI_ARG"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ANY_SAME_TYPE_MULTI_ARG</h4> |
| <pre>private static final org.apache.calcite.sql.SqlOperator[] ANY_SAME_TYPE_MULTI_ARG</pre> |
| </li> |
| </ul> |
| <a id="NUMERIC_TO_NUMERIC"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>NUMERIC_TO_NUMERIC</h4> |
| <pre>private static final org.apache.calcite.sql.SqlOperator[] NUMERIC_TO_NUMERIC</pre> |
| </li> |
| </ul> |
| <a id="UNARY_NUMERIC"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>UNARY_NUMERIC</h4> |
| <pre>private static final org.apache.calcite.sql.SqlOperator[] UNARY_NUMERIC</pre> |
| </li> |
| </ul> |
| <a id="INT_VALUES"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>INT_VALUES</h4> |
| <pre>private static final int[] INT_VALUES</pre> |
| </li> |
| </ul> |
| <a id="intType"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>intType</h4> |
| <pre>private final org.apache.calcite.rel.type.RelDataType intType</pre> |
| </li> |
| </ul> |
| <a id="nullableIntType"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>nullableIntType</h4> |
| <pre>private final org.apache.calcite.rel.type.RelDataType nullableIntType</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="<init>(org.apache.calcite.rex.RexBuilder,org.apache.calcite.adapter.java.JavaTypeFactory)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>RexFuzzer</h4> |
| <pre>public RexFuzzer​(org.apache.calcite.rex.RexBuilder rexBuilder, |
| org.apache.calcite.adapter.java.JavaTypeFactory typeFactory)</pre> |
| <div class="block">Generates randomized <code>RexNode</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>rexBuilder</code> - builder to be used to create nodes</dd> |
| <dd><code>typeFactory</code> - type factory</dd> |
| </dl> |
| </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="getExpression(java.util.Random,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getExpression</h4> |
| <pre class="methodSignature">public org.apache.calcite.rex.RexNode getExpression​(java.util.Random r, |
| int depth)</pre> |
| </li> |
| </ul> |
| <a id="fuzzOperator(java.util.Random,org.apache.calcite.sql.SqlOperator[],org.apache.calcite.rex.RexNode...)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>fuzzOperator</h4> |
| <pre class="methodSignature">private org.apache.calcite.rex.RexNode fuzzOperator​(java.util.Random r, |
| org.apache.calcite.sql.SqlOperator[] operators, |
| org.apache.calcite.rex.RexNode... args)</pre> |
| </li> |
| </ul> |
| <a id="fuzzOperator(java.util.Random,org.apache.calcite.sql.SqlOperator[],int,java.util.function.Function)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>fuzzOperator</h4> |
| <pre class="methodSignature">private org.apache.calcite.rex.RexNode fuzzOperator​(java.util.Random r, |
| org.apache.calcite.sql.SqlOperator[] operators, |
| int length, |
| java.util.function.Function<java.util.Random,​org.apache.calcite.rex.RexNode> factory)</pre> |
| </li> |
| </ul> |
| <a id="getComparableExpression(java.util.Random,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getComparableExpression</h4> |
| <pre class="methodSignature">public org.apache.calcite.rex.RexNode getComparableExpression​(java.util.Random r, |
| int depth)</pre> |
| </li> |
| </ul> |
| <a id="getSimpleBool(java.util.Random)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSimpleBool</h4> |
| <pre class="methodSignature">public org.apache.calcite.rex.RexNode getSimpleBool​(java.util.Random r)</pre> |
| </li> |
| </ul> |
| <a id="getBoolExpression(java.util.Random,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getBoolExpression</h4> |
| <pre class="methodSignature">public org.apache.calcite.rex.RexNode getBoolExpression​(java.util.Random r, |
| int depth)</pre> |
| </li> |
| </ul> |
| <a id="getSimpleInt(java.util.Random)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSimpleInt</h4> |
| <pre class="methodSignature">public org.apache.calcite.rex.RexNode getSimpleInt​(java.util.Random r)</pre> |
| </li> |
| </ul> |
| <a id="getIntExpression(java.util.Random,int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getIntExpression</h4> |
| <pre class="methodSignature">public org.apache.calcite.rex.RexNode getIntExpression​(java.util.Random r, |
| int depth)</pre> |
| </li> |
| </ul> |
| <a id="fuzzCase(java.util.Random,int,java.util.function.Function)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>fuzzCase</h4> |
| <pre class="methodSignature">public org.apache.calcite.rex.RexNode fuzzCase​(java.util.Random r, |
| int depth, |
| java.util.function.Function<java.util.Random,​org.apache.calcite.rex.RexNode> resultFactory)</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/RexFuzzer.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 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: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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 © 2012–2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |