| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>RexToLixTranslator (Apache Calcite 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="RexToLixTranslator (Apache Calcite API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":9,"i1":9,"i2":10,"i3":9,"i4":9,"i5":10,"i6":10,"i7":10,"i8":9,"i9":10,"i10":10,"i11":10,"i12":10,"i13":9,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":9,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":9,"i32":10,"i33":9,"i34":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/RexToLixTranslator.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><a href="#nested.class.summary">Nested</a> | </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.adapter.enumerable</a></div> |
| <h2 title="Class RexToLixTranslator" class="title">Class RexToLixTranslator</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.calcite.adapter.enumerable.RexToLixTranslator</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <pre>public class <span class="typeNameLabel">RexToLixTranslator</span> |
| extends java.lang.Object</pre> |
| <div class="block">Translates <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex"><code>REX expressions</code></a> to |
| <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree"><code>linq4j expressions</code></a>.</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"> </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>(package private) static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="RexToLixTranslator.AlwaysNull.html" title="class in org.apache.calcite.adapter.enumerable">RexToLixTranslator.AlwaysNull</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Thrown in the unusual (but not erroneous) situation where the expression |
| we are translating is the null literal but we have already checked that |
| it is not null.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static interface </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="RexToLixTranslator.InputGetter.html" title="interface in org.apache.calcite.adapter.enumerable">RexToLixTranslator.InputGetter</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Translates a field of an input to an expression.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="RexToLixTranslator.InputGetterImpl.html" title="class in org.apache.calcite.adapter.enumerable">RexToLixTranslator.InputGetterImpl</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Implementation of <a href="RexToLixTranslator.InputGetter.html" title="interface in org.apache.calcite.adapter.enumerable"><code>RexToLixTranslator.InputGetter</code></a> that calls |
| <a href="PhysType.html#fieldReference(org.apache.calcite.linq4j.tree.Expression,int)"><code>PhysType.fieldReference(org.apache.calcite.linq4j.tree.Expression, int)</code></a>.</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"> </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>(package private) <a href="../../rex/RexBuilder.html" title="class in org.apache.calcite.rex">RexBuilder</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#builder">builder</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>(package private) <a href="../../sql/validate/SqlConformance.html" title="interface in org.apache.calcite.sql.validate">SqlConformance</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#conformance">conformance</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../../linq4j/function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a><java.lang.String,​<a href="RexToLixTranslator.InputGetter.html" title="interface in org.apache.calcite.adapter.enumerable">RexToLixTranslator.InputGetter</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#correlates">correlates</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private java.util.Map<? extends <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>,​java.lang.Boolean></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#exprNullableMap">exprNullableMap</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="RexToLixTranslator.InputGetter.html" title="interface in org.apache.calcite.adapter.enumerable">RexToLixTranslator.InputGetter</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#inputGetter">inputGetter</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static java.util.Map<java.lang.reflect.Method,​<a href="../../sql/SqlOperator.html" title="class in org.apache.calcite.sql">SqlOperator</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JAVA_TO_SQL_METHOD_MAP">JAVA_TO_SQL_METHOD_MAP</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../../linq4j/tree/BlockBuilder.html" title="class in org.apache.calcite.linq4j.tree">BlockBuilder</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#list">list</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="RexToLixTranslator.html" title="class in org.apache.calcite.adapter.enumerable">RexToLixTranslator</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#parent">parent</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private <a href="../../rex/RexProgram.html" title="class in org.apache.calcite.rex">RexProgram</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#program">program</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>private <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#root">root</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>(package private) <a href="../java/JavaTypeFactory.html" title="interface in org.apache.calcite.adapter.java">JavaTypeFactory</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#typeFactory">typeFactory</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| </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">Modifier</th> |
| <th class="colSecond" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private </code></td> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.apache.calcite.rex.RexProgram,org.apache.calcite.adapter.java.JavaTypeFactory,org.apache.calcite.linq4j.tree.Expression,org.apache.calcite.adapter.enumerable.RexToLixTranslator.InputGetter,org.apache.calcite.linq4j.tree.BlockBuilder,java.util.Map,org.apache.calcite.rex.RexBuilder,org.apache.calcite.sql.validate.SqlConformance,org.apache.calcite.adapter.enumerable.RexToLixTranslator,org.apache.calcite.linq4j.function.Function1)">RexToLixTranslator</a></span>​(<a href="../../rex/RexProgram.html" title="class in org.apache.calcite.rex">RexProgram</a> program, |
| <a href="../java/JavaTypeFactory.html" title="interface in org.apache.calcite.adapter.java">JavaTypeFactory</a> typeFactory, |
| <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> root, |
| <a href="RexToLixTranslator.InputGetter.html" title="interface in org.apache.calcite.adapter.enumerable">RexToLixTranslator.InputGetter</a> inputGetter, |
| <a href="../../linq4j/tree/BlockBuilder.html" title="class in org.apache.calcite.linq4j.tree">BlockBuilder</a> list, |
| java.util.Map<? extends <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>,​java.lang.Boolean> exprNullableMap, |
| <a href="../../rex/RexBuilder.html" title="class in org.apache.calcite.rex">RexBuilder</a> builder, |
| <a href="../../sql/validate/SqlConformance.html" title="interface in org.apache.calcite.sql.validate">SqlConformance</a> conformance, |
| <a href="RexToLixTranslator.html" title="class in org.apache.calcite.adapter.enumerable">RexToLixTranslator</a> parent, |
| <a href="../../linq4j/function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a><java.lang.String,​<a href="RexToLixTranslator.InputGetter.html" title="interface in org.apache.calcite.adapter.enumerable">RexToLixTranslator.InputGetter</a>> correlates)</code></th> |
| <td class="colLast"> </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="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></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>static <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#convert(org.apache.calcite.linq4j.tree.Expression,java.lang.reflect.Type)">convert</a></span>​(<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> operand, |
| java.lang.reflect.Type toType)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#convert(org.apache.calcite.linq4j.tree.Expression,java.lang.reflect.Type,java.lang.reflect.Type)">convert</a></span>​(<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> operand, |
| java.lang.reflect.Type fromType, |
| java.lang.reflect.Type toType)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code><a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#deref(org.apache.calcite.rex.RexNode)">deref</a></span>​(<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> expr)</code></th> |
| <td class="colLast"> |
| <div class="block">Dereferences an expression if it is a |
| <a href="../../rex/RexLocalRef.html" title="class in org.apache.calcite.rex"><code>RexLocalRef</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>private static java.lang.reflect.Method</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#findMethod(java.lang.Class,java.lang.String,java.lang.Class...)">findMethod</a></span>​(java.lang.Class<?> clazz, |
| java.lang.String name, |
| java.lang.Class... parameterTypes)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>static <a href="RexToLixTranslator.html" title="class in org.apache.calcite.adapter.enumerable">RexToLixTranslator</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#forAggregation(org.apache.calcite.adapter.java.JavaTypeFactory,org.apache.calcite.linq4j.tree.BlockBuilder,org.apache.calcite.adapter.enumerable.RexToLixTranslator.InputGetter,org.apache.calcite.sql.validate.SqlConformance)">forAggregation</a></span>​(<a href="../java/JavaTypeFactory.html" title="interface in org.apache.calcite.adapter.java">JavaTypeFactory</a> typeFactory, |
| <a href="../../linq4j/tree/BlockBuilder.html" title="class in org.apache.calcite.linq4j.tree">BlockBuilder</a> list, |
| <a href="RexToLixTranslator.InputGetter.html" title="interface in org.apache.calcite.adapter.enumerable">RexToLixTranslator.InputGetter</a> inputGetter, |
| <a href="../../sql/validate/SqlConformance.html" title="interface in org.apache.calcite.sql.validate">SqlConformance</a> conformance)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a translator for translating aggregate functions.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRoot()">getRoot</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#handleNull(org.apache.calcite.linq4j.tree.Expression,org.apache.calcite.adapter.enumerable.RexImpTable.NullAs)">handleNull</a></span>​(<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> input, |
| <a href="RexImpTable.NullAs.html" title="enum in org.apache.calcite.adapter.enumerable">RexImpTable.NullAs</a> nullAs)</code></th> |
| <td class="colLast"> |
| <div class="block">Adapts an expression with "normal" result to one that adheres to |
| this particular policy.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>private <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#handleNullUnboxingIfNecessary(org.apache.calcite.linq4j.tree.Expression,org.apache.calcite.adapter.enumerable.RexImpTable.NullAs,java.lang.reflect.Type)">handleNullUnboxingIfNecessary</a></span>​(<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> input, |
| <a href="RexImpTable.NullAs.html" title="enum in org.apache.calcite.adapter.enumerable">RexImpTable.NullAs</a> nullAs, |
| java.lang.reflect.Type storageType)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>(package private) static boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isA(java.lang.reflect.Type,org.apache.calcite.linq4j.tree.Primitive)">isA</a></span>​(java.lang.reflect.Type fromType, |
| <a href="../../linq4j/tree/Primitive.html" title="enum in org.apache.calcite.linq4j.tree">Primitive</a> primitive)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>protected java.lang.Boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isKnownNullable(org.apache.calcite.rex.RexNode)">isKnownNullable</a></span>​(<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> node)</code></th> |
| <td class="colLast"> |
| <div class="block">Walks parent translator chain and verifies if the expression is nullable.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isNullable(org.apache.calcite.rex.RexNode)">isNullable</a></span>​(<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> e)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns whether an expression is nullable.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>private <a href="../../linq4j/tree/Primitive.html" title="enum in org.apache.calcite.linq4j.tree">Primitive</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#javaPrimitive(org.apache.calcite.rel.type.RelDataType)">javaPrimitive</a></span>​(<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> type)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code><a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#nullifyType(org.apache.calcite.rel.type.RelDataType,boolean)">nullifyType</a></span>​(<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> type, |
| boolean nullable)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>private static <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#scaleIntervalToNumber(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.rel.type.RelDataType,org.apache.calcite.linq4j.tree.Expression)">scaleIntervalToNumber</a></span>​(<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> sourceType, |
| <a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> targetType, |
| <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> operand)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code><a href="RexToLixTranslator.html" title="class in org.apache.calcite.adapter.enumerable">RexToLixTranslator</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBlock(org.apache.calcite.linq4j.tree.BlockBuilder)">setBlock</a></span>​(<a href="../../linq4j/tree/BlockBuilder.html" title="class in org.apache.calcite.linq4j.tree">BlockBuilder</a> block)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code><a href="RexToLixTranslator.html" title="class in org.apache.calcite.adapter.enumerable">RexToLixTranslator</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCorrelates(org.apache.calcite.linq4j.function.Function1)">setCorrelates</a></span>​(<a href="../../linq4j/function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a><java.lang.String,​<a href="RexToLixTranslator.InputGetter.html" title="interface in org.apache.calcite.adapter.enumerable">RexToLixTranslator.InputGetter</a>> correlates)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code><a href="RexToLixTranslator.html" title="class in org.apache.calcite.adapter.enumerable">RexToLixTranslator</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setNullable(java.util.Map)">setNullable</a></span>​(java.util.Map<? extends <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>,​java.lang.Boolean> nullable)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a read-only copy of this translator that records that a given |
| expression is nullable.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code><a href="RexToLixTranslator.html" title="class in org.apache.calcite.adapter.enumerable">RexToLixTranslator</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setNullable(org.apache.calcite.rex.RexNode,boolean)">setNullable</a></span>​(<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> e, |
| boolean nullable)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a read-only copy of this translator that records that a given |
| expression is nullable.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>(package private) <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#translate(org.apache.calcite.rex.RexNode)">translate</a></span>​(<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> expr)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>(package private) <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#translate(org.apache.calcite.rex.RexNode,java.lang.reflect.Type)">translate</a></span>​(<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> expr, |
| java.lang.reflect.Type storageType)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>(package private) <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#translate(org.apache.calcite.rex.RexNode,org.apache.calcite.adapter.enumerable.RexImpTable.NullAs)">translate</a></span>​(<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> expr, |
| <a href="RexImpTable.NullAs.html" title="enum in org.apache.calcite.adapter.enumerable">RexImpTable.NullAs</a> nullAs)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>(package private) <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#translate(org.apache.calcite.rex.RexNode,org.apache.calcite.adapter.enumerable.RexImpTable.NullAs,java.lang.reflect.Type)">translate</a></span>​(<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> expr, |
| <a href="RexImpTable.NullAs.html" title="enum in org.apache.calcite.adapter.enumerable">RexImpTable.NullAs</a> nullAs, |
| java.lang.reflect.Type storageType)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>private <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#translate0(org.apache.calcite.rex.RexNode,org.apache.calcite.adapter.enumerable.RexImpTable.NullAs,java.lang.reflect.Type)">translate0</a></span>​(<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> expr, |
| <a href="RexImpTable.NullAs.html" title="enum in org.apache.calcite.adapter.enumerable">RexImpTable.NullAs</a> nullAs, |
| java.lang.reflect.Type storageType)</code></th> |
| <td class="colLast"> |
| <div class="block">Translates an expression that is not in the cache.</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>private <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#translateCall(org.apache.calcite.rex.RexCall,org.apache.calcite.adapter.enumerable.RexImpTable.NullAs)">translateCall</a></span>​(<a href="../../rex/RexCall.html" title="class in org.apache.calcite.rex">RexCall</a> call, |
| <a href="RexImpTable.NullAs.html" title="enum in org.apache.calcite.adapter.enumerable">RexImpTable.NullAs</a> nullAs)</code></th> |
| <td class="colLast"> |
| <div class="block">Translates a call to an operator or function.</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>(package private) <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#translateCast(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.rel.type.RelDataType,org.apache.calcite.linq4j.tree.Expression)">translateCast</a></span>​(<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> sourceType, |
| <a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> targetType, |
| <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> operand)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#translateCondition(org.apache.calcite.rex.RexProgram,org.apache.calcite.adapter.java.JavaTypeFactory,org.apache.calcite.linq4j.tree.BlockBuilder,org.apache.calcite.adapter.enumerable.RexToLixTranslator.InputGetter,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.sql.validate.SqlConformance)">translateCondition</a></span>​(<a href="../../rex/RexProgram.html" title="class in org.apache.calcite.rex">RexProgram</a> program, |
| <a href="../java/JavaTypeFactory.html" title="interface in org.apache.calcite.adapter.java">JavaTypeFactory</a> typeFactory, |
| <a href="../../linq4j/tree/BlockBuilder.html" title="class in org.apache.calcite.linq4j.tree">BlockBuilder</a> list, |
| <a href="RexToLixTranslator.InputGetter.html" title="interface in org.apache.calcite.adapter.enumerable">RexToLixTranslator.InputGetter</a> inputGetter, |
| <a href="../../linq4j/function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a><java.lang.String,​<a href="RexToLixTranslator.InputGetter.html" title="interface in org.apache.calcite.adapter.enumerable">RexToLixTranslator.InputGetter</a>> correlates, |
| <a href="../../sql/validate/SqlConformance.html" title="interface in org.apache.calcite.sql.validate">SqlConformance</a> conformance)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code><a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#translateConstructor(java.util.List,org.apache.calcite.sql.SqlKind)">translateConstructor</a></span>​(java.util.List<<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> operandList, |
| <a href="../../sql/SqlKind.html" title="enum in org.apache.calcite.sql">SqlKind</a> kind)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>java.util.List<<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#translateList(java.util.List)">translateList</a></span>​(java.util.List<? extends <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> operandList)</code></th> |
| <td class="colLast"> |
| <div class="block">Translates the list of <code>RexNode</code>, using the default output types.</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>java.util.List<<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#translateList(java.util.List,java.util.List)">translateList</a></span>​(java.util.List<? extends <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> operandList, |
| java.util.List<? extends java.lang.reflect.Type> storageTypes)</code></th> |
| <td class="colLast"> |
| <div class="block">Translates the list of <code>RexNode</code>, while optimizing for output |
| storage.</div> |
| </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>java.util.List<<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#translateList(java.util.List,org.apache.calcite.adapter.enumerable.RexImpTable.NullAs)">translateList</a></span>​(java.util.List<<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> operandList, |
| <a href="RexImpTable.NullAs.html" title="enum in org.apache.calcite.adapter.enumerable">RexImpTable.NullAs</a> nullAs)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>java.util.List<<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#translateList(java.util.List,org.apache.calcite.adapter.enumerable.RexImpTable.NullAs,java.util.List)">translateList</a></span>​(java.util.List<<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> operandList, |
| <a href="RexImpTable.NullAs.html" title="enum in org.apache.calcite.adapter.enumerable">RexImpTable.NullAs</a> nullAs, |
| java.util.List<? extends java.lang.reflect.Type> storageTypes)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#translateLiteral(org.apache.calcite.rex.RexLiteral,org.apache.calcite.rel.type.RelDataType,org.apache.calcite.adapter.java.JavaTypeFactory,org.apache.calcite.adapter.enumerable.RexImpTable.NullAs)">translateLiteral</a></span>​(<a href="../../rex/RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a> literal, |
| <a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> type, |
| <a href="../java/JavaTypeFactory.html" title="interface in org.apache.calcite.adapter.java">JavaTypeFactory</a> typeFactory, |
| <a href="RexImpTable.NullAs.html" title="enum in org.apache.calcite.adapter.enumerable">RexImpTable.NullAs</a> nullAs)</code></th> |
| <td class="colLast"> |
| <div class="block">Translates a literal.</div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>private <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#translateParameter(org.apache.calcite.rex.RexDynamicParam,org.apache.calcite.adapter.enumerable.RexImpTable.NullAs,java.lang.reflect.Type)">translateParameter</a></span>​(<a href="../../rex/RexDynamicParam.html" title="class in org.apache.calcite.rex">RexDynamicParam</a> expr, |
| <a href="RexImpTable.NullAs.html" title="enum in org.apache.calcite.adapter.enumerable">RexImpTable.NullAs</a> nullAs, |
| java.lang.reflect.Type storageType)</code></th> |
| <td class="colLast"> |
| <div class="block">Translates a parameter.</div> |
| </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code>static java.util.List<<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#translateProjects(org.apache.calcite.rex.RexProgram,org.apache.calcite.adapter.java.JavaTypeFactory,org.apache.calcite.sql.validate.SqlConformance,org.apache.calcite.linq4j.tree.BlockBuilder,org.apache.calcite.adapter.enumerable.PhysType,org.apache.calcite.linq4j.tree.Expression,org.apache.calcite.adapter.enumerable.RexToLixTranslator.InputGetter,org.apache.calcite.linq4j.function.Function1)">translateProjects</a></span>​(<a href="../../rex/RexProgram.html" title="class in org.apache.calcite.rex">RexProgram</a> program, |
| <a href="../java/JavaTypeFactory.html" title="interface in org.apache.calcite.adapter.java">JavaTypeFactory</a> typeFactory, |
| <a href="../../sql/validate/SqlConformance.html" title="interface in org.apache.calcite.sql.validate">SqlConformance</a> conformance, |
| <a href="../../linq4j/tree/BlockBuilder.html" title="class in org.apache.calcite.linq4j.tree">BlockBuilder</a> list, |
| <a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a> outputPhysType, |
| <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> root, |
| <a href="RexToLixTranslator.InputGetter.html" title="interface in org.apache.calcite.adapter.enumerable">RexToLixTranslator.InputGetter</a> inputGetter, |
| <a href="../../linq4j/function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a><java.lang.String,​<a href="RexToLixTranslator.InputGetter.html" title="interface in org.apache.calcite.adapter.enumerable">RexToLixTranslator.InputGetter</a>> correlates)</code></th> |
| <td class="colLast"> |
| <div class="block">Translates a <a href="../../rex/RexProgram.html" title="class in org.apache.calcite.rex"><code>RexProgram</code></a> to a sequence of expressions and |
| declarations.</div> |
| </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code>private <a href="RexToLixTranslator.html" title="class in org.apache.calcite.adapter.enumerable">RexToLixTranslator</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withConformance(org.apache.calcite.sql.validate.SqlConformance)">withConformance</a></span>​(<a href="../../sql/validate/SqlConformance.html" title="interface in org.apache.calcite.sql.validate">SqlConformance</a> conformance)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| <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="JAVA_TO_SQL_METHOD_MAP"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>JAVA_TO_SQL_METHOD_MAP</h4> |
| <pre>public static final java.util.Map<java.lang.reflect.Method,​<a href="../../sql/SqlOperator.html" title="class in org.apache.calcite.sql">SqlOperator</a>> JAVA_TO_SQL_METHOD_MAP</pre> |
| </li> |
| </ul> |
| <a id="typeFactory"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>typeFactory</h4> |
| <pre>final <a href="../java/JavaTypeFactory.html" title="interface in org.apache.calcite.adapter.java">JavaTypeFactory</a> typeFactory</pre> |
| </li> |
| </ul> |
| <a id="builder"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>builder</h4> |
| <pre>final <a href="../../rex/RexBuilder.html" title="class in org.apache.calcite.rex">RexBuilder</a> builder</pre> |
| </li> |
| </ul> |
| <a id="program"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>program</h4> |
| <pre>private final <a href="../../rex/RexProgram.html" title="class in org.apache.calcite.rex">RexProgram</a> program</pre> |
| </li> |
| </ul> |
| <a id="conformance"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>conformance</h4> |
| <pre>final <a href="../../sql/validate/SqlConformance.html" title="interface in org.apache.calcite.sql.validate">SqlConformance</a> conformance</pre> |
| </li> |
| </ul> |
| <a id="root"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>root</h4> |
| <pre>private final <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> root</pre> |
| </li> |
| </ul> |
| <a id="inputGetter"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>inputGetter</h4> |
| <pre>private final <a href="RexToLixTranslator.InputGetter.html" title="interface in org.apache.calcite.adapter.enumerable">RexToLixTranslator.InputGetter</a> inputGetter</pre> |
| </li> |
| </ul> |
| <a id="list"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>list</h4> |
| <pre>private final <a href="../../linq4j/tree/BlockBuilder.html" title="class in org.apache.calcite.linq4j.tree">BlockBuilder</a> list</pre> |
| </li> |
| </ul> |
| <a id="exprNullableMap"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>exprNullableMap</h4> |
| <pre>private final java.util.Map<? extends <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>,​java.lang.Boolean> exprNullableMap</pre> |
| </li> |
| </ul> |
| <a id="parent"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>parent</h4> |
| <pre>private final <a href="RexToLixTranslator.html" title="class in org.apache.calcite.adapter.enumerable">RexToLixTranslator</a> parent</pre> |
| </li> |
| </ul> |
| <a id="correlates"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>correlates</h4> |
| <pre>private final <a href="../../linq4j/function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a><java.lang.String,​<a href="RexToLixTranslator.InputGetter.html" title="interface in org.apache.calcite.adapter.enumerable">RexToLixTranslator.InputGetter</a>> correlates</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.RexProgram,org.apache.calcite.adapter.java.JavaTypeFactory,org.apache.calcite.linq4j.tree.Expression,org.apache.calcite.adapter.enumerable.RexToLixTranslator.InputGetter,org.apache.calcite.linq4j.tree.BlockBuilder,java.util.Map,org.apache.calcite.rex.RexBuilder,org.apache.calcite.sql.validate.SqlConformance,org.apache.calcite.adapter.enumerable.RexToLixTranslator,org.apache.calcite.linq4j.function.Function1)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>RexToLixTranslator</h4> |
| <pre>private RexToLixTranslator​(<a href="../../rex/RexProgram.html" title="class in org.apache.calcite.rex">RexProgram</a> program, |
| <a href="../java/JavaTypeFactory.html" title="interface in org.apache.calcite.adapter.java">JavaTypeFactory</a> typeFactory, |
| <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> root, |
| <a href="RexToLixTranslator.InputGetter.html" title="interface in org.apache.calcite.adapter.enumerable">RexToLixTranslator.InputGetter</a> inputGetter, |
| <a href="../../linq4j/tree/BlockBuilder.html" title="class in org.apache.calcite.linq4j.tree">BlockBuilder</a> list, |
| java.util.Map<? extends <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>,​java.lang.Boolean> exprNullableMap, |
| <a href="../../rex/RexBuilder.html" title="class in org.apache.calcite.rex">RexBuilder</a> builder, |
| <a href="../../sql/validate/SqlConformance.html" title="interface in org.apache.calcite.sql.validate">SqlConformance</a> conformance, |
| <a href="RexToLixTranslator.html" title="class in org.apache.calcite.adapter.enumerable">RexToLixTranslator</a> parent, |
| <a href="../../linq4j/function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a><java.lang.String,​<a href="RexToLixTranslator.InputGetter.html" title="interface in org.apache.calcite.adapter.enumerable">RexToLixTranslator.InputGetter</a>> correlates)</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="findMethod(java.lang.Class,java.lang.String,java.lang.Class...)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>findMethod</h4> |
| <pre class="methodSignature">private static java.lang.reflect.Method findMethod​(java.lang.Class<?> clazz, |
| java.lang.String name, |
| java.lang.Class... parameterTypes)</pre> |
| </li> |
| </ul> |
| <a id="translateProjects(org.apache.calcite.rex.RexProgram,org.apache.calcite.adapter.java.JavaTypeFactory,org.apache.calcite.sql.validate.SqlConformance,org.apache.calcite.linq4j.tree.BlockBuilder,org.apache.calcite.adapter.enumerable.PhysType,org.apache.calcite.linq4j.tree.Expression,org.apache.calcite.adapter.enumerable.RexToLixTranslator.InputGetter,org.apache.calcite.linq4j.function.Function1)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>translateProjects</h4> |
| <pre class="methodSignature">public static java.util.List<<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>> translateProjects​(<a href="../../rex/RexProgram.html" title="class in org.apache.calcite.rex">RexProgram</a> program, |
| <a href="../java/JavaTypeFactory.html" title="interface in org.apache.calcite.adapter.java">JavaTypeFactory</a> typeFactory, |
| <a href="../../sql/validate/SqlConformance.html" title="interface in org.apache.calcite.sql.validate">SqlConformance</a> conformance, |
| <a href="../../linq4j/tree/BlockBuilder.html" title="class in org.apache.calcite.linq4j.tree">BlockBuilder</a> list, |
| <a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a> outputPhysType, |
| <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> root, |
| <a href="RexToLixTranslator.InputGetter.html" title="interface in org.apache.calcite.adapter.enumerable">RexToLixTranslator.InputGetter</a> inputGetter, |
| <a href="../../linq4j/function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a><java.lang.String,​<a href="RexToLixTranslator.InputGetter.html" title="interface in org.apache.calcite.adapter.enumerable">RexToLixTranslator.InputGetter</a>> correlates)</pre> |
| <div class="block">Translates a <a href="../../rex/RexProgram.html" title="class in org.apache.calcite.rex"><code>RexProgram</code></a> to a sequence of expressions and |
| declarations.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>program</code> - Program to be translated</dd> |
| <dd><code>typeFactory</code> - Type factory</dd> |
| <dd><code>conformance</code> - SQL conformance</dd> |
| <dd><code>list</code> - List of statements, populated with declarations</dd> |
| <dd><code>outputPhysType</code> - Output type, or null</dd> |
| <dd><code>root</code> - Root expression</dd> |
| <dd><code>inputGetter</code> - Generates expressions for inputs</dd> |
| <dd><code>correlates</code> - Provider of references to the values of correlated |
| variables</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Sequence of expressions, optional condition</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="forAggregation(org.apache.calcite.adapter.java.JavaTypeFactory,org.apache.calcite.linq4j.tree.BlockBuilder,org.apache.calcite.adapter.enumerable.RexToLixTranslator.InputGetter,org.apache.calcite.sql.validate.SqlConformance)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>forAggregation</h4> |
| <pre class="methodSignature">public static <a href="RexToLixTranslator.html" title="class in org.apache.calcite.adapter.enumerable">RexToLixTranslator</a> forAggregation​(<a href="../java/JavaTypeFactory.html" title="interface in org.apache.calcite.adapter.java">JavaTypeFactory</a> typeFactory, |
| <a href="../../linq4j/tree/BlockBuilder.html" title="class in org.apache.calcite.linq4j.tree">BlockBuilder</a> list, |
| <a href="RexToLixTranslator.InputGetter.html" title="interface in org.apache.calcite.adapter.enumerable">RexToLixTranslator.InputGetter</a> inputGetter, |
| <a href="../../sql/validate/SqlConformance.html" title="interface in org.apache.calcite.sql.validate">SqlConformance</a> conformance)</pre> |
| <div class="block">Creates a translator for translating aggregate functions.</div> |
| </li> |
| </ul> |
| <a id="translate(org.apache.calcite.rex.RexNode)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>translate</h4> |
| <pre class="methodSignature"><a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> translate​(<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> expr)</pre> |
| </li> |
| </ul> |
| <a id="translate(org.apache.calcite.rex.RexNode,org.apache.calcite.adapter.enumerable.RexImpTable.NullAs)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>translate</h4> |
| <pre class="methodSignature"><a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> translate​(<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> expr, |
| <a href="RexImpTable.NullAs.html" title="enum in org.apache.calcite.adapter.enumerable">RexImpTable.NullAs</a> nullAs)</pre> |
| </li> |
| </ul> |
| <a id="translate(org.apache.calcite.rex.RexNode,java.lang.reflect.Type)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>translate</h4> |
| <pre class="methodSignature"><a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> translate​(<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> expr, |
| java.lang.reflect.Type storageType)</pre> |
| </li> |
| </ul> |
| <a id="translate(org.apache.calcite.rex.RexNode,org.apache.calcite.adapter.enumerable.RexImpTable.NullAs,java.lang.reflect.Type)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>translate</h4> |
| <pre class="methodSignature"><a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> translate​(<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> expr, |
| <a href="RexImpTable.NullAs.html" title="enum in org.apache.calcite.adapter.enumerable">RexImpTable.NullAs</a> nullAs, |
| java.lang.reflect.Type storageType)</pre> |
| </li> |
| </ul> |
| <a id="translateCast(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.rel.type.RelDataType,org.apache.calcite.linq4j.tree.Expression)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>translateCast</h4> |
| <pre class="methodSignature"><a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> translateCast​(<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> sourceType, |
| <a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> targetType, |
| <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> operand)</pre> |
| </li> |
| </ul> |
| <a id="handleNullUnboxingIfNecessary(org.apache.calcite.linq4j.tree.Expression,org.apache.calcite.adapter.enumerable.RexImpTable.NullAs,java.lang.reflect.Type)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>handleNullUnboxingIfNecessary</h4> |
| <pre class="methodSignature">private <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> handleNullUnboxingIfNecessary​(<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> input, |
| <a href="RexImpTable.NullAs.html" title="enum in org.apache.calcite.adapter.enumerable">RexImpTable.NullAs</a> nullAs, |
| java.lang.reflect.Type storageType)</pre> |
| </li> |
| </ul> |
| <a id="handleNull(org.apache.calcite.linq4j.tree.Expression,org.apache.calcite.adapter.enumerable.RexImpTable.NullAs)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>handleNull</h4> |
| <pre class="methodSignature">public <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> handleNull​(<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> input, |
| <a href="RexImpTable.NullAs.html" title="enum in org.apache.calcite.adapter.enumerable">RexImpTable.NullAs</a> nullAs)</pre> |
| <div class="block">Adapts an expression with "normal" result to one that adheres to |
| this particular policy. Wraps the result expression into a new |
| parameter if need be.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>input</code> - Expression</dd> |
| <dd><code>nullAs</code> - If false, if expression is definitely not null at |
| runtime. Therefore we can optimize. For example, we can cast to int |
| using x.intValue().</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Translated expression</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="translate0(org.apache.calcite.rex.RexNode,org.apache.calcite.adapter.enumerable.RexImpTable.NullAs,java.lang.reflect.Type)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>translate0</h4> |
| <pre class="methodSignature">private <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> translate0​(<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> expr, |
| <a href="RexImpTable.NullAs.html" title="enum in org.apache.calcite.adapter.enumerable">RexImpTable.NullAs</a> nullAs, |
| java.lang.reflect.Type storageType)</pre> |
| <div class="block">Translates an expression that is not in the cache.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>expr</code> - Expression</dd> |
| <dd><code>nullAs</code> - If false, if expression is definitely not null at |
| runtime. Therefore we can optimize. For example, we can cast to int |
| using x.intValue().</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Translated expression</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="deref(org.apache.calcite.rex.RexNode)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>deref</h4> |
| <pre class="methodSignature">public <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> deref​(<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> expr)</pre> |
| <div class="block">Dereferences an expression if it is a |
| <a href="../../rex/RexLocalRef.html" title="class in org.apache.calcite.rex"><code>RexLocalRef</code></a>.</div> |
| </li> |
| </ul> |
| <a id="translateCall(org.apache.calcite.rex.RexCall,org.apache.calcite.adapter.enumerable.RexImpTable.NullAs)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>translateCall</h4> |
| <pre class="methodSignature">private <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> translateCall​(<a href="../../rex/RexCall.html" title="class in org.apache.calcite.rex">RexCall</a> call, |
| <a href="RexImpTable.NullAs.html" title="enum in org.apache.calcite.adapter.enumerable">RexImpTable.NullAs</a> nullAs)</pre> |
| <div class="block">Translates a call to an operator or function.</div> |
| </li> |
| </ul> |
| <a id="translateParameter(org.apache.calcite.rex.RexDynamicParam,org.apache.calcite.adapter.enumerable.RexImpTable.NullAs,java.lang.reflect.Type)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>translateParameter</h4> |
| <pre class="methodSignature">private <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> translateParameter​(<a href="../../rex/RexDynamicParam.html" title="class in org.apache.calcite.rex">RexDynamicParam</a> expr, |
| <a href="RexImpTable.NullAs.html" title="enum in org.apache.calcite.adapter.enumerable">RexImpTable.NullAs</a> nullAs, |
| java.lang.reflect.Type storageType)</pre> |
| <div class="block">Translates a parameter.</div> |
| </li> |
| </ul> |
| <a id="translateLiteral(org.apache.calcite.rex.RexLiteral,org.apache.calcite.rel.type.RelDataType,org.apache.calcite.adapter.java.JavaTypeFactory,org.apache.calcite.adapter.enumerable.RexImpTable.NullAs)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>translateLiteral</h4> |
| <pre class="methodSignature">public static <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> translateLiteral​(<a href="../../rex/RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a> literal, |
| <a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> type, |
| <a href="../java/JavaTypeFactory.html" title="interface in org.apache.calcite.adapter.java">JavaTypeFactory</a> typeFactory, |
| <a href="RexImpTable.NullAs.html" title="enum in org.apache.calcite.adapter.enumerable">RexImpTable.NullAs</a> nullAs)</pre> |
| <div class="block">Translates a literal.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="RexToLixTranslator.AlwaysNull.html" title="class in org.apache.calcite.adapter.enumerable">RexToLixTranslator.AlwaysNull</a></code> - if literal is null but <code>nullAs</code> is |
| <a href="RexImpTable.NullAs.html#NOT_POSSIBLE"><code>RexImpTable.NullAs.NOT_POSSIBLE</code></a>.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="translateList(java.util.List,org.apache.calcite.adapter.enumerable.RexImpTable.NullAs)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>translateList</h4> |
| <pre class="methodSignature">public java.util.List<<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>> translateList​(java.util.List<<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> operandList, |
| <a href="RexImpTable.NullAs.html" title="enum in org.apache.calcite.adapter.enumerable">RexImpTable.NullAs</a> nullAs)</pre> |
| </li> |
| </ul> |
| <a id="translateList(java.util.List,org.apache.calcite.adapter.enumerable.RexImpTable.NullAs,java.util.List)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>translateList</h4> |
| <pre class="methodSignature">public java.util.List<<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>> translateList​(java.util.List<<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> operandList, |
| <a href="RexImpTable.NullAs.html" title="enum in org.apache.calcite.adapter.enumerable">RexImpTable.NullAs</a> nullAs, |
| java.util.List<? extends java.lang.reflect.Type> storageTypes)</pre> |
| </li> |
| </ul> |
| <a id="translateList(java.util.List)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>translateList</h4> |
| <pre class="methodSignature">public java.util.List<<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>> translateList​(java.util.List<? extends <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> operandList)</pre> |
| <div class="block">Translates the list of <code>RexNode</code>, using the default output types. |
| This might be suboptimal in terms of additional box-unbox when you use |
| the translation later. |
| If you know the java class that will be used to store the results, use |
| <a href="#translateList(java.util.List,java.util.List)"><code>translateList(java.util.List, java.util.List)</code></a> |
| version.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>operandList</code> - list of RexNodes to translate</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>translated expressions</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="translateList(java.util.List,java.util.List)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>translateList</h4> |
| <pre class="methodSignature">public java.util.List<<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>> translateList​(java.util.List<? extends <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> operandList, |
| java.util.List<? extends java.lang.reflect.Type> storageTypes)</pre> |
| <div class="block">Translates the list of <code>RexNode</code>, while optimizing for output |
| storage. |
| For instance, if the result of translation is going to be stored in |
| <code>Object[]</code>, and the input is <code>Object[]</code> as well, |
| then translator will avoid casting, boxing, etc.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>operandList</code> - list of RexNodes to translate</dd> |
| <dd><code>storageTypes</code> - hints of the java classes that will be used |
| to store translation results. Use null to use |
| default storage type</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>translated expressions</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="translateCondition(org.apache.calcite.rex.RexProgram,org.apache.calcite.adapter.java.JavaTypeFactory,org.apache.calcite.linq4j.tree.BlockBuilder,org.apache.calcite.adapter.enumerable.RexToLixTranslator.InputGetter,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.sql.validate.SqlConformance)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>translateCondition</h4> |
| <pre class="methodSignature">public static <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> translateCondition​(<a href="../../rex/RexProgram.html" title="class in org.apache.calcite.rex">RexProgram</a> program, |
| <a href="../java/JavaTypeFactory.html" title="interface in org.apache.calcite.adapter.java">JavaTypeFactory</a> typeFactory, |
| <a href="../../linq4j/tree/BlockBuilder.html" title="class in org.apache.calcite.linq4j.tree">BlockBuilder</a> list, |
| <a href="RexToLixTranslator.InputGetter.html" title="interface in org.apache.calcite.adapter.enumerable">RexToLixTranslator.InputGetter</a> inputGetter, |
| <a href="../../linq4j/function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a><java.lang.String,​<a href="RexToLixTranslator.InputGetter.html" title="interface in org.apache.calcite.adapter.enumerable">RexToLixTranslator.InputGetter</a>> correlates, |
| <a href="../../sql/validate/SqlConformance.html" title="interface in org.apache.calcite.sql.validate">SqlConformance</a> conformance)</pre> |
| </li> |
| </ul> |
| <a id="convert(org.apache.calcite.linq4j.tree.Expression,java.lang.reflect.Type)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>convert</h4> |
| <pre class="methodSignature">public static <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> convert​(<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> operand, |
| java.lang.reflect.Type toType)</pre> |
| </li> |
| </ul> |
| <a id="convert(org.apache.calcite.linq4j.tree.Expression,java.lang.reflect.Type,java.lang.reflect.Type)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>convert</h4> |
| <pre class="methodSignature">public static <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> convert​(<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> operand, |
| java.lang.reflect.Type fromType, |
| java.lang.reflect.Type toType)</pre> |
| </li> |
| </ul> |
| <a id="isA(java.lang.reflect.Type,org.apache.calcite.linq4j.tree.Primitive)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isA</h4> |
| <pre class="methodSignature">static boolean isA​(java.lang.reflect.Type fromType, |
| <a href="../../linq4j/tree/Primitive.html" title="enum in org.apache.calcite.linq4j.tree">Primitive</a> primitive)</pre> |
| </li> |
| </ul> |
| <a id="translateConstructor(java.util.List,org.apache.calcite.sql.SqlKind)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>translateConstructor</h4> |
| <pre class="methodSignature">public <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> translateConstructor​(java.util.List<<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>> operandList, |
| <a href="../../sql/SqlKind.html" title="enum in org.apache.calcite.sql">SqlKind</a> kind)</pre> |
| </li> |
| </ul> |
| <a id="isNullable(org.apache.calcite.rex.RexNode)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isNullable</h4> |
| <pre class="methodSignature">public boolean isNullable​(<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> e)</pre> |
| <div class="block">Returns whether an expression is nullable. Even if its type says it is |
| nullable, if we have previously generated a check to make sure that it is |
| not null, we will say so. |
| |
| <p>For example, <code>WHERE a == b</code> translates to |
| <code>a != null && b != null && a.equals(b)</code>. When translating the |
| 3rd part of the disjunction, we already know a and b are not null.</p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>e</code> - Expression</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Whether expression is nullable in the current translation context</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isKnownNullable(org.apache.calcite.rex.RexNode)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isKnownNullable</h4> |
| <pre class="methodSignature">protected java.lang.Boolean isKnownNullable​(<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> node)</pre> |
| <div class="block">Walks parent translator chain and verifies if the expression is nullable.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>node</code> - RexNode to check if it is nullable or not</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>null when nullability is not known, true or false otherwise</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setNullable(org.apache.calcite.rex.RexNode,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setNullable</h4> |
| <pre class="methodSignature">public <a href="RexToLixTranslator.html" title="class in org.apache.calcite.adapter.enumerable">RexToLixTranslator</a> setNullable​(<a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a> e, |
| boolean nullable)</pre> |
| <div class="block">Creates a read-only copy of this translator that records that a given |
| expression is nullable.</div> |
| </li> |
| </ul> |
| <a id="setNullable(java.util.Map)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setNullable</h4> |
| <pre class="methodSignature">public <a href="RexToLixTranslator.html" title="class in org.apache.calcite.adapter.enumerable">RexToLixTranslator</a> setNullable​(java.util.Map<? extends <a href="../../rex/RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>,​java.lang.Boolean> nullable)</pre> |
| <div class="block">Creates a read-only copy of this translator that records that a given |
| expression is nullable.</div> |
| </li> |
| </ul> |
| <a id="setBlock(org.apache.calcite.linq4j.tree.BlockBuilder)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setBlock</h4> |
| <pre class="methodSignature">public <a href="RexToLixTranslator.html" title="class in org.apache.calcite.adapter.enumerable">RexToLixTranslator</a> setBlock​(<a href="../../linq4j/tree/BlockBuilder.html" title="class in org.apache.calcite.linq4j.tree">BlockBuilder</a> block)</pre> |
| </li> |
| </ul> |
| <a id="setCorrelates(org.apache.calcite.linq4j.function.Function1)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setCorrelates</h4> |
| <pre class="methodSignature">public <a href="RexToLixTranslator.html" title="class in org.apache.calcite.adapter.enumerable">RexToLixTranslator</a> setCorrelates​(<a href="../../linq4j/function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a><java.lang.String,​<a href="RexToLixTranslator.InputGetter.html" title="interface in org.apache.calcite.adapter.enumerable">RexToLixTranslator.InputGetter</a>> correlates)</pre> |
| </li> |
| </ul> |
| <a id="withConformance(org.apache.calcite.sql.validate.SqlConformance)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withConformance</h4> |
| <pre class="methodSignature">private <a href="RexToLixTranslator.html" title="class in org.apache.calcite.adapter.enumerable">RexToLixTranslator</a> withConformance​(<a href="../../sql/validate/SqlConformance.html" title="interface in org.apache.calcite.sql.validate">SqlConformance</a> conformance)</pre> |
| </li> |
| </ul> |
| <a id="nullifyType(org.apache.calcite.rel.type.RelDataType,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>nullifyType</h4> |
| <pre class="methodSignature">public <a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> nullifyType​(<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> type, |
| boolean nullable)</pre> |
| </li> |
| </ul> |
| <a id="javaPrimitive(org.apache.calcite.rel.type.RelDataType)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>javaPrimitive</h4> |
| <pre class="methodSignature">private <a href="../../linq4j/tree/Primitive.html" title="enum in org.apache.calcite.linq4j.tree">Primitive</a> javaPrimitive​(<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> type)</pre> |
| </li> |
| </ul> |
| <a id="getRoot()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRoot</h4> |
| <pre class="methodSignature">public <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> getRoot()</pre> |
| </li> |
| </ul> |
| <a id="scaleIntervalToNumber(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.rel.type.RelDataType,org.apache.calcite.linq4j.tree.Expression)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>scaleIntervalToNumber</h4> |
| <pre class="methodSignature">private static <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> scaleIntervalToNumber​(<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> sourceType, |
| <a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> targetType, |
| <a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a> operand)</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/RexToLixTranslator.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><a href="#nested.class.summary">Nested</a> | </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> |