blob: 633f5e96b9de16bf7d65a928f845505948f38ddc [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>SqlToRelConverter.Config (Apache Calcite calcite API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="declaration: package: org.apache.calcite.sql2rel, class: SqlToRelConverter, interface: Config">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../script-dir/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../script-dir/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../script-dir/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../script-dir/jquery-3.4.1.js"></script>
<script type="text/javascript" src="../../../../script-dir/jquery-ui.js"></script>
</head>
<body class="class-declaration">
<script type="text/javascript">var data = {"i0":18,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../";
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="flexBox">
<header role="banner" class="flexHeader">
<nav role="navigation">
<!-- ========= 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="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 class="aboutLanguage"><b>Apache Calcite</b></div>
</div>
<div class="subNav">
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<div class="navListSearch"><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="skipNav"><a id="skip.navbar.top">
<!-- -->
</a></div>
</nav>
</header>
<div class="flexContent">
<main role="main">
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.calcite.sql2rel</a></div>
<h1 title="Interface SqlToRelConverter.Config" class="title">Interface SqlToRelConverter.Config</h1>
</div>
<div class="contentContainer">
<section class="description">
<dl>
<dt>Enclosing class:</dt>
<dd><a href="SqlToRelConverter.html" title="class in org.apache.calcite.sql2rel">SqlToRelConverter</a></dd>
</dl>
<hr>
<pre>public static interface <span class="typeNameLabel">SqlToRelConverter.Config</span></pre>
<div class="block">Interface to define the configuration for a SqlToRelConverter.
Provides methods to set each configuration option.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><code>SqlToRelConverter.CONFIG</code></dd>
</dl>
</section>
<section class="summary">
<ul class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<li class="blockList">
<section class="methodSummary"><a id="method.summary">
<!-- -->
</a>
<h2>Method Summary</h2>
<div class="memberSummary">
<div role="tablist" aria-orientation="horizontal"><button role="tab" aria-selected="true" aria-controls="memberSummary_tabpanel" tabindex="0" onkeydown="switchTab(event)" id="t0" class="activeTableTab">All Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t2" class="tableTab" onclick="show(2);">Instance Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t3" class="tableTab" onclick="show(4);">Abstract Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t5" class="tableTab" onclick="show(16);">Default Methods</button></div>
<div id="memberSummary_tabpanel" role="tabpanel">
<table aria-labelledby="t0">
<thead>
<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>
</thead>
<tbody>
<tr class="altColor" id="i0">
<td class="colFirst"><code>default <a href="SqlToRelConverter.Config.html" title="interface in org.apache.calcite.sql2rel">SqlToRelConverter.Config</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addRelBuilderConfigTransform(java.util.function.UnaryOperator)">addRelBuilderConfigTransform</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/UnaryOperator.html?is-external=true" title="class or interface in java.util.function" class="externalLink">UnaryOperator</a>&lt;<a href="../tools/RelBuilder.Config.html" title="interface in org.apache.calcite.tools">RelBuilder.Config</a>&gt;&nbsp;transform)</code></th>
<td class="colLast">
<div class="block">Adds a transform to <a href="#getRelBuilderConfigTransform()"><code>getRelBuilderConfigTransform()</code></a>.</div>
</td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code><a href="../rel/hint/HintStrategyTable.html" title="class in org.apache.calcite.rel.hint">HintStrategyTable</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHintStrategyTable()">getHintStrategyTable</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the hint strategies used to decide how the hints are propagated to
the relational expressions.</div>
</td>
</tr>
<tr class="altColor" id="i2">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getInSubQueryThreshold()">getInSubQueryThreshold</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the <code>inSubQueryThreshold</code> option,
default <a href="SqlToRelConverter.html#DEFAULT_IN_SUB_QUERY_THRESHOLD"><code>SqlToRelConverter.DEFAULT_IN_SUB_QUERY_THRESHOLD</code></a>.</div>
</td>
</tr>
<tr class="rowColor" id="i3">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/UnaryOperator.html?is-external=true" title="class or interface in java.util.function" class="externalLink">UnaryOperator</a>&lt;<a href="../tools/RelBuilder.Config.html" title="interface in org.apache.calcite.tools">RelBuilder.Config</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRelBuilderConfigTransform()">getRelBuilderConfigTransform</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a function that takes a <a href="../tools/RelBuilder.Config.html" title="interface in org.apache.calcite.tools"><code>RelBuilder.Config</code></a> and returns
another.</div>
</td>
</tr>
<tr class="altColor" id="i4">
<td class="colFirst"><code><a href="../tools/RelBuilderFactory.html" title="interface in org.apache.calcite.tools">RelBuilderFactory</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRelBuilderFactory()">getRelBuilderFactory</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the factory to create <a href="../tools/RelBuilder.html" title="class in org.apache.calcite.tools"><code>RelBuilder</code></a>, never null.</div>
</td>
</tr>
<tr class="rowColor" id="i5">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isCreateValuesRel()">isCreateValuesRel</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the <code>createValuesRel</code> option.</div>
</td>
</tr>
<tr class="altColor" id="i6">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isDecorrelationEnabled()">isDecorrelationEnabled</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the <code>decorrelationEnabled</code> option.</div>
</td>
</tr>
<tr class="rowColor" id="i7">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isExpand()">isExpand</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the <code>expand</code> option.</div>
</td>
</tr>
<tr class="altColor" id="i8">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isExplain()">isExplain</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the <code>explain</code> option.</div>
</td>
</tr>
<tr class="rowColor" id="i9">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isRemoveSortInSubQuery()">isRemoveSortInSubQuery</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns whether to remove Sort operator for a sub-query
if the Sort has no offset and fetch limit attributes.</div>
</td>
</tr>
<tr class="altColor" id="i10">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isTrimUnusedFields()">isTrimUnusedFields</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the <code>trimUnusedFields</code> option.</div>
</td>
</tr>
<tr class="rowColor" id="i11">
<td class="colFirst"><code><a href="SqlToRelConverter.Config.html" title="interface in org.apache.calcite.sql2rel">SqlToRelConverter.Config</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withCreateValuesRel(boolean)">withCreateValuesRel</a></span>&#8203;(boolean&nbsp;createValuesRel)</code></th>
<td class="colLast">
<div class="block">Sets <a href="#isCreateValuesRel()"><code>isCreateValuesRel()</code></a>.</div>
</td>
</tr>
<tr class="altColor" id="i12">
<td class="colFirst"><code><a href="SqlToRelConverter.Config.html" title="interface in org.apache.calcite.sql2rel">SqlToRelConverter.Config</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withDecorrelationEnabled(boolean)">withDecorrelationEnabled</a></span>&#8203;(boolean&nbsp;decorrelationEnabled)</code></th>
<td class="colLast">
<div class="block">Sets <a href="#isDecorrelationEnabled()"><code>isDecorrelationEnabled()</code></a>.</div>
</td>
</tr>
<tr class="rowColor" id="i13">
<td class="colFirst"><code><a href="SqlToRelConverter.Config.html" title="interface in org.apache.calcite.sql2rel">SqlToRelConverter.Config</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withExpand(boolean)">withExpand</a></span>&#8203;(boolean&nbsp;expand)</code></th>
<td class="colLast">
<div class="block">Sets <a href="#isExpand()"><code>isExpand()</code></a>.</div>
</td>
</tr>
<tr class="altColor" id="i14">
<td class="colFirst"><code><a href="SqlToRelConverter.Config.html" title="interface in org.apache.calcite.sql2rel">SqlToRelConverter.Config</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withExplain(boolean)">withExplain</a></span>&#8203;(boolean&nbsp;explain)</code></th>
<td class="colLast">
<div class="block">Sets <a href="#isExplain()"><code>isExplain()</code></a>.</div>
</td>
</tr>
<tr class="rowColor" id="i15">
<td class="colFirst"><code><a href="SqlToRelConverter.Config.html" title="interface in org.apache.calcite.sql2rel">SqlToRelConverter.Config</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withHintStrategyTable(org.apache.calcite.rel.hint.HintStrategyTable)">withHintStrategyTable</a></span>&#8203;(<a href="../rel/hint/HintStrategyTable.html" title="class in org.apache.calcite.rel.hint">HintStrategyTable</a>&nbsp;hintStrategyTable)</code></th>
<td class="colLast">
<div class="block">Sets <a href="#getHintStrategyTable()"><code>getHintStrategyTable()</code></a>.</div>
</td>
</tr>
<tr class="altColor" id="i16">
<td class="colFirst"><code><a href="SqlToRelConverter.Config.html" title="interface in org.apache.calcite.sql2rel">SqlToRelConverter.Config</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withInSubQueryThreshold(int)">withInSubQueryThreshold</a></span>&#8203;(int&nbsp;threshold)</code></th>
<td class="colLast">
<div class="block">Sets <a href="#getInSubQueryThreshold()"><code>getInSubQueryThreshold()</code></a>.</div>
</td>
</tr>
<tr class="rowColor" id="i17">
<td class="colFirst"><code><a href="SqlToRelConverter.Config.html" title="interface in org.apache.calcite.sql2rel">SqlToRelConverter.Config</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withRelBuilderConfigTransform(java.util.function.UnaryOperator)">withRelBuilderConfigTransform</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/UnaryOperator.html?is-external=true" title="class or interface in java.util.function" class="externalLink">UnaryOperator</a>&lt;<a href="../tools/RelBuilder.Config.html" title="interface in org.apache.calcite.tools">RelBuilder.Config</a>&gt;&nbsp;transform)</code></th>
<td class="colLast">
<div class="block">Sets <a href="#getRelBuilderConfigTransform()"><code>getRelBuilderConfigTransform()</code></a>.</div>
</td>
</tr>
<tr class="altColor" id="i18">
<td class="colFirst"><code><a href="SqlToRelConverter.Config.html" title="interface in org.apache.calcite.sql2rel">SqlToRelConverter.Config</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withRelBuilderFactory(org.apache.calcite.tools.RelBuilderFactory)">withRelBuilderFactory</a></span>&#8203;(<a href="../tools/RelBuilderFactory.html" title="interface in org.apache.calcite.tools">RelBuilderFactory</a>&nbsp;factory)</code></th>
<td class="colLast">
<div class="block">Sets <a href="#getRelBuilderFactory()"><code>getRelBuilderFactory()</code></a>.</div>
</td>
</tr>
<tr class="rowColor" id="i19">
<td class="colFirst"><code><a href="SqlToRelConverter.Config.html" title="interface in org.apache.calcite.sql2rel">SqlToRelConverter.Config</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withRemoveSortInSubQuery(boolean)">withRemoveSortInSubQuery</a></span>&#8203;(boolean&nbsp;removeSortInSubQuery)</code></th>
<td class="colLast">
<div class="block">Sets <a href="#isRemoveSortInSubQuery()"><code>isRemoveSortInSubQuery()</code></a>.</div>
</td>
</tr>
<tr class="altColor" id="i20">
<td class="colFirst"><code><a href="SqlToRelConverter.Config.html" title="interface in org.apache.calcite.sql2rel">SqlToRelConverter.Config</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withTrimUnusedFields(boolean)">withTrimUnusedFields</a></span>&#8203;(boolean&nbsp;trimUnusedFields)</code></th>
<td class="colLast">
<div class="block">Sets <a href="#isTrimUnusedFields()"><code>isTrimUnusedFields()</code></a>.</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</section>
</li>
</ul>
</section>
<section class="details">
<ul class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<li class="blockList">
<section class="methodDetails"><a id="method.detail">
<!-- -->
</a>
<h2>Method Details</h2>
<ul class="blockList">
<li class="blockList">
<section class="detail">
<h3><a id="isDecorrelationEnabled()">isDecorrelationEnabled</a></h3>
<div class="memberSignature"><span class="returnType">boolean</span>&nbsp;<span class="memberName">isDecorrelationEnabled</span>()</div>
<div class="block">Returns the <code>decorrelationEnabled</code> option. Controls whether to
disable sub-query decorrelation when needed. e.g. if outer joins are not
supported.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="withDecorrelationEnabled(boolean)">withDecorrelationEnabled</a></h3>
<div class="memberSignature"><span class="returnType"><a href="SqlToRelConverter.Config.html" title="interface in org.apache.calcite.sql2rel">SqlToRelConverter.Config</a></span>&nbsp;<span class="memberName">withDecorrelationEnabled</span>&#8203;(<span class="arguments">boolean&nbsp;decorrelationEnabled)</span></div>
<div class="block">Sets <a href="#isDecorrelationEnabled()"><code>isDecorrelationEnabled()</code></a>.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="isTrimUnusedFields()">isTrimUnusedFields</a></h3>
<div class="memberSignature"><span class="returnType">boolean</span>&nbsp;<span class="memberName">isTrimUnusedFields</span>()</div>
<div class="block">Returns the <code>trimUnusedFields</code> option. Controls whether to trim
unused fields as part of the conversion process.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="withTrimUnusedFields(boolean)">withTrimUnusedFields</a></h3>
<div class="memberSignature"><span class="returnType"><a href="SqlToRelConverter.Config.html" title="interface in org.apache.calcite.sql2rel">SqlToRelConverter.Config</a></span>&nbsp;<span class="memberName">withTrimUnusedFields</span>&#8203;(<span class="arguments">boolean&nbsp;trimUnusedFields)</span></div>
<div class="block">Sets <a href="#isTrimUnusedFields()"><code>isTrimUnusedFields()</code></a>.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="isCreateValuesRel()">isCreateValuesRel</a></h3>
<div class="memberSignature"><span class="returnType">boolean</span>&nbsp;<span class="memberName">isCreateValuesRel</span>()</div>
<div class="block">Returns the <code>createValuesRel</code> option. Controls whether instances
of <a href="../rel/logical/LogicalValues.html" title="class in org.apache.calcite.rel.logical"><code>LogicalValues</code></a> are generated.
These may not be supported by all physical implementations.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="withCreateValuesRel(boolean)">withCreateValuesRel</a></h3>
<div class="memberSignature"><span class="returnType"><a href="SqlToRelConverter.Config.html" title="interface in org.apache.calcite.sql2rel">SqlToRelConverter.Config</a></span>&nbsp;<span class="memberName">withCreateValuesRel</span>&#8203;(<span class="arguments">boolean&nbsp;createValuesRel)</span></div>
<div class="block">Sets <a href="#isCreateValuesRel()"><code>isCreateValuesRel()</code></a>.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="isExplain()">isExplain</a></h3>
<div class="memberSignature"><span class="returnType">boolean</span>&nbsp;<span class="memberName">isExplain</span>()</div>
<div class="block">Returns the <code>explain</code> option. Describes whether the current
statement is part of an EXPLAIN PLAN statement.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="withExplain(boolean)">withExplain</a></h3>
<div class="memberSignature"><span class="returnType"><a href="SqlToRelConverter.Config.html" title="interface in org.apache.calcite.sql2rel">SqlToRelConverter.Config</a></span>&nbsp;<span class="memberName">withExplain</span>&#8203;(<span class="arguments">boolean&nbsp;explain)</span></div>
<div class="block">Sets <a href="#isExplain()"><code>isExplain()</code></a>.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="isExpand()">isExpand</a></h3>
<div class="memberSignature"><span class="returnType">boolean</span>&nbsp;<span class="memberName">isExpand</span>()</div>
<div class="block">Returns the <code>expand</code> option. Controls whether to expand
sub-queries. If false, each sub-query becomes a
<a href="../rex/RexSubQuery.html" title="class in org.apache.calcite.rex"><code>RexSubQuery</code></a>.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="withExpand(boolean)">withExpand</a></h3>
<div class="memberSignature"><span class="returnType"><a href="SqlToRelConverter.Config.html" title="interface in org.apache.calcite.sql2rel">SqlToRelConverter.Config</a></span>&nbsp;<span class="memberName">withExpand</span>&#8203;(<span class="arguments">boolean&nbsp;expand)</span></div>
<div class="block">Sets <a href="#isExpand()"><code>isExpand()</code></a>.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="getInSubQueryThreshold()">getInSubQueryThreshold</a></h3>
<div class="memberSignature"><span class="returnType">int</span>&nbsp;<span class="memberName">getInSubQueryThreshold</span>()</div>
<div class="block">Returns the <code>inSubQueryThreshold</code> option,
default <a href="SqlToRelConverter.html#DEFAULT_IN_SUB_QUERY_THRESHOLD"><code>SqlToRelConverter.DEFAULT_IN_SUB_QUERY_THRESHOLD</code></a>. Controls the list size
threshold under which <code>SqlToRelConverter.convertInToOr(org.apache.calcite.sql2rel.SqlToRelConverter.Blackboard, java.util.List&lt;org.apache.calcite.rex.RexNode&gt;, org.apache.calcite.sql.SqlNodeList, org.apache.calcite.sql.fun.SqlInOperator)</code> is used. Lists of this size
or greater will instead be converted to use a join against an inline
table (<a href="../rel/logical/LogicalValues.html" title="class in org.apache.calcite.rel.logical"><code>LogicalValues</code></a>) rather than
a predicate. A threshold of 0 forces usage of an inline table in all
cases; a threshold of <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Integer.html?is-external=true#MAX_VALUE" title="class or interface in java.lang" class="externalLink"><code>Integer.MAX_VALUE</code></a> forces usage of OR in all
cases.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="withInSubQueryThreshold(int)">withInSubQueryThreshold</a></h3>
<div class="memberSignature"><span class="returnType"><a href="SqlToRelConverter.Config.html" title="interface in org.apache.calcite.sql2rel">SqlToRelConverter.Config</a></span>&nbsp;<span class="memberName">withInSubQueryThreshold</span>&#8203;(<span class="arguments">int&nbsp;threshold)</span></div>
<div class="block">Sets <a href="#getInSubQueryThreshold()"><code>getInSubQueryThreshold()</code></a>.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="isRemoveSortInSubQuery()">isRemoveSortInSubQuery</a></h3>
<div class="memberSignature"><span class="returnType">boolean</span>&nbsp;<span class="memberName">isRemoveSortInSubQuery</span>()</div>
<div class="block">Returns whether to remove Sort operator for a sub-query
if the Sort has no offset and fetch limit attributes.
Because the remove does not change the semantics,
in many cases this is a promotion.
Default is true.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="withRemoveSortInSubQuery(boolean)">withRemoveSortInSubQuery</a></h3>
<div class="memberSignature"><span class="returnType"><a href="SqlToRelConverter.Config.html" title="interface in org.apache.calcite.sql2rel">SqlToRelConverter.Config</a></span>&nbsp;<span class="memberName">withRemoveSortInSubQuery</span>&#8203;(<span class="arguments">boolean&nbsp;removeSortInSubQuery)</span></div>
<div class="block">Sets <a href="#isRemoveSortInSubQuery()"><code>isRemoveSortInSubQuery()</code></a>.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="getRelBuilderFactory()">getRelBuilderFactory</a></h3>
<div class="memberSignature"><span class="returnType"><a href="../tools/RelBuilderFactory.html" title="interface in org.apache.calcite.tools">RelBuilderFactory</a></span>&nbsp;<span class="memberName">getRelBuilderFactory</span>()</div>
<div class="block">Returns the factory to create <a href="../tools/RelBuilder.html" title="class in org.apache.calcite.tools"><code>RelBuilder</code></a>, never null. Default is
<a href="../rel/core/RelFactories.html#LOGICAL_BUILDER"><code>RelFactories.LOGICAL_BUILDER</code></a>.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="withRelBuilderFactory(org.apache.calcite.tools.RelBuilderFactory)">withRelBuilderFactory</a></h3>
<div class="memberSignature"><span class="returnType"><a href="SqlToRelConverter.Config.html" title="interface in org.apache.calcite.sql2rel">SqlToRelConverter.Config</a></span>&nbsp;<span class="memberName">withRelBuilderFactory</span>&#8203;(<span class="arguments"><a href="../tools/RelBuilderFactory.html" title="interface in org.apache.calcite.tools">RelBuilderFactory</a>&nbsp;factory)</span></div>
<div class="block">Sets <a href="#getRelBuilderFactory()"><code>getRelBuilderFactory()</code></a>.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="getRelBuilderConfigTransform()">getRelBuilderConfigTransform</a></h3>
<div class="memberSignature"><span class="returnType"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/UnaryOperator.html?is-external=true" title="class or interface in java.util.function" class="externalLink">UnaryOperator</a>&lt;<a href="../tools/RelBuilder.Config.html" title="interface in org.apache.calcite.tools">RelBuilder.Config</a>&gt;</span>&nbsp;<span class="memberName">getRelBuilderConfigTransform</span>()</div>
<div class="block">Returns a function that takes a <a href="../tools/RelBuilder.Config.html" title="interface in org.apache.calcite.tools"><code>RelBuilder.Config</code></a> and returns
another. Default is the identity function.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="withRelBuilderConfigTransform(java.util.function.UnaryOperator)">withRelBuilderConfigTransform</a></h3>
<div class="memberSignature"><span class="returnType"><a href="SqlToRelConverter.Config.html" title="interface in org.apache.calcite.sql2rel">SqlToRelConverter.Config</a></span>&nbsp;<span class="memberName">withRelBuilderConfigTransform</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/UnaryOperator.html?is-external=true" title="class or interface in java.util.function" class="externalLink">UnaryOperator</a>&lt;<a href="../tools/RelBuilder.Config.html" title="interface in org.apache.calcite.tools">RelBuilder.Config</a>&gt;&nbsp;transform)</span></div>
<div class="block">Sets <a href="#getRelBuilderConfigTransform()"><code>getRelBuilderConfigTransform()</code></a>.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="#addRelBuilderConfigTransform(java.util.function.UnaryOperator)"><code>addRelBuilderConfigTransform(java.util.function.UnaryOperator&lt;org.apache.calcite.tools.RelBuilder.Config&gt;)</code></a></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="addRelBuilderConfigTransform(java.util.function.UnaryOperator)">addRelBuilderConfigTransform</a></h3>
<div class="memberSignature"><span class="modifiers">default</span>&nbsp;<span class="returnType"><a href="SqlToRelConverter.Config.html" title="interface in org.apache.calcite.sql2rel">SqlToRelConverter.Config</a></span>&nbsp;<span class="memberName">addRelBuilderConfigTransform</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/UnaryOperator.html?is-external=true" title="class or interface in java.util.function" class="externalLink">UnaryOperator</a>&lt;<a href="../tools/RelBuilder.Config.html" title="interface in org.apache.calcite.tools">RelBuilder.Config</a>&gt;&nbsp;transform)</span></div>
<div class="block">Adds a transform to <a href="#getRelBuilderConfigTransform()"><code>getRelBuilderConfigTransform()</code></a>.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="getHintStrategyTable()">getHintStrategyTable</a></h3>
<div class="memberSignature"><span class="returnType"><a href="../rel/hint/HintStrategyTable.html" title="class in org.apache.calcite.rel.hint">HintStrategyTable</a></span>&nbsp;<span class="memberName">getHintStrategyTable</span>()</div>
<div class="block">Returns the hint strategies used to decide how the hints are propagated to
the relational expressions. Default is
<a href="../rel/hint/HintStrategyTable.html#EMPTY"><code>HintStrategyTable.EMPTY</code></a>.</div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="withHintStrategyTable(org.apache.calcite.rel.hint.HintStrategyTable)">withHintStrategyTable</a></h3>
<div class="memberSignature"><span class="returnType"><a href="SqlToRelConverter.Config.html" title="interface in org.apache.calcite.sql2rel">SqlToRelConverter.Config</a></span>&nbsp;<span class="memberName">withHintStrategyTable</span>&#8203;(<span class="arguments"><a href="../rel/hint/HintStrategyTable.html" title="class in org.apache.calcite.rel.hint">HintStrategyTable</a>&nbsp;hintStrategyTable)</span></div>
<div class="block">Sets <a href="#getHintStrategyTable()"><code>getHintStrategyTable()</code></a>.</div>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
</div>
<!-- ========= END OF CLASS DATA ========= -->
</main>
<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="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 class="aboutLanguage"><b>Apache Calcite</b></div>
</div>
<div class="subNav">
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &copy; 2012-2020 Apache Software Foundation. All Rights Reserved.</small></p>
</footer>
</div>
</div>
</body>
</html>