blob: 88401177efa4faed5529270dac408528a70ccd06 [file] [log] [blame]
<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>RelBuilder.Config (Apache Calcite API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="declaration: package: org.apache.calcite.tools, class: RelBuilder, 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.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../script-dir/jquery-3.5.1.min.js"></script>
<script type="text/javascript" src="../../../../script-dir/jquery-ui.min.js"></script>
</head>
<body class="class-declaration-page">
<script type="text/javascript">var evenRowColor = "even-row-color";
var oddRowColor = "odd-row-color";
var tableTab = "table-tab";
var activeTableTab = "active-table-tab";
var pathtoroot = "../../../../";
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
<div class="about-language"><b>Apache Calcite</b></div>
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="nav-bar-cell1-rev">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#class">Help</a></li>
</ul>
</div>
<div class="sub-nav">
<div>
<ul class="sub-nav-list">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field-summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li>
</ul>
<ul class="sub-nav-list">
<li>Detail:&nbsp;</li>
<li><a href="#field-detail">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method-detail">Method</a></li>
</ul>
</div>
<div class="nav-list-search"><label for="search-input">SEARCH:</label>
<input type="text" id="search-input" value="search" disabled="disabled">
<input type="reset" id="reset-button" value="reset" disabled="disabled">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">org.apache.calcite.tools</a></div>
<h1 title="Interface RelBuilder.Config" class="title">Interface RelBuilder.Config</h1>
</div>
<section class="class-description" id="class-description">
<dl class="notes">
<dt>Enclosing class:</dt>
<dd><a href="RelBuilder.html" title="class in org.apache.calcite.tools">RelBuilder</a></dd>
</dl>
<hr>
<div class="type-signature"><span class="annotations">@Immutable
</span><span class="modifiers">public static interface </span><span class="element-name type-name-label">RelBuilder.Config</span></div>
<div class="block">Configuration of RelBuilder.
<p>It is immutable, and all fields are public.
<p>Start with the <a href="#DEFAULT"><code>DEFAULT</code></a> instance,
and call <code>withXxx</code> methods to set its properties.</div>
</section>
<section class="summary">
<ul class="summary-list">
<!-- =========== FIELD SUMMARY =========== -->
<li>
<section class="field-summary" id="field-summary">
<h2>Field Summary</h2>
<div class="caption"><span>Fields</span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Field</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>static final <a href="RelBuilder.Config.html" title="interface in org.apache.calcite.tools">RelBuilder.Config</a></code></div>
<div class="col-second even-row-color"><code><a href="#DEFAULT" class="member-name-link">DEFAULT</a></code></div>
<div class="col-last even-row-color">
<div class="block">Default configuration.</div>
</div>
</div>
</section>
</li>
<!-- ========== METHOD SUMMARY =========== -->
<li>
<section class="method-summary" id="method-summary">
<h2>Method Summary</h2>
<div id="method-summary-table">
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab3" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab3', 3)" class="table-tab">Abstract Methods</button><button id="method-summary-table-tab5" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab5', 3)" class="table-tab">Default Methods</button></div>
<div id="method-summary-table.tabpanel" role="tabpanel">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#aggregateUnique()" class="member-name-link">aggregateUnique</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
<div class="block">Whether to create an Aggregate even if we know that the input is
already unique; default false.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default int</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#bloat()" class="member-name-link">bloat</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
<div class="block">Controls whether to merge two <a href="../rel/core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> operators when inlining
expressions causes complexity to increase.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#dedupAggregateCalls()" class="member-name-link">dedupAggregateCalls</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
<div class="block">Whether <a href="RelBuilder.html#aggregate(org.apache.calcite.tools.RelBuilder.GroupKey,org.apache.calcite.tools.RelBuilder.AggCall...)"><code>RelBuilder.aggregate(org.apache.calcite.tools.RelBuilder.GroupKey, org.apache.calcite.tools.RelBuilder.AggCall...)</code></a> should eliminate duplicate
aggregate calls; default true.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#pruneInputOfAggregate()" class="member-name-link">pruneInputOfAggregate</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
<div class="block">Whether <a href="RelBuilder.html#aggregate(org.apache.calcite.tools.RelBuilder.GroupKey,org.apache.calcite.tools.RelBuilder.AggCall...)"><code>RelBuilder.aggregate(org.apache.calcite.tools.RelBuilder.GroupKey, org.apache.calcite.tools.RelBuilder.AggCall...)</code></a> should prune unused
input columns; default true.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#pushJoinCondition()" class="member-name-link">pushJoinCondition</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
<div class="block">Whether to push down join conditions; default false (but
<a href="../sql2rel/SqlToRelConverter.html#config()"><code>SqlToRelConverter.config()</code></a> by default sets this to true).</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#simplify()" class="member-name-link">simplify</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
<div class="block">Whether to simplify expressions; default true.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#simplifyLimit()" class="member-name-link">simplifyLimit</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
<div class="block">Whether to simplify LIMIT 0 to an empty relation; default true.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#simplifyValues()" class="member-name-link">simplifyValues</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5">
<div class="block">Whether to simplify <code>Union(Values, Values)</code> or
<code>Union(Project(Values))</code> to <code>Values</code>; default true.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="RelBuilder.Config.html" title="interface in org.apache.calcite.tools">RelBuilder.Config</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withAggregateUnique(boolean)" class="member-name-link">withAggregateUnique</a><wbr>(boolean&nbsp;aggregateUnique)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets <a href="#aggregateUnique()"><code>aggregateUnique()</code></a>.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="RelBuilder.Config.html" title="interface in org.apache.calcite.tools">RelBuilder.Config</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withBloat(int)" class="member-name-link">withBloat</a><wbr>(int&nbsp;bloat)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets <a href="#bloat()"><code>bloat()</code></a>.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="RelBuilder.Config.html" title="interface in org.apache.calcite.tools">RelBuilder.Config</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withDedupAggregateCalls(boolean)" class="member-name-link">withDedupAggregateCalls</a><wbr>(boolean&nbsp;dedupAggregateCalls)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets <a href="#dedupAggregateCalls()"><code>dedupAggregateCalls()</code></a>.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="RelBuilder.Config.html" title="interface in org.apache.calcite.tools">RelBuilder.Config</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withPruneInputOfAggregate(boolean)" class="member-name-link">withPruneInputOfAggregate</a><wbr>(boolean&nbsp;pruneInputOfAggregate)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets <a href="#pruneInputOfAggregate()"><code>pruneInputOfAggregate()</code></a>.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="RelBuilder.Config.html" title="interface in org.apache.calcite.tools">RelBuilder.Config</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withPushJoinCondition(boolean)" class="member-name-link">withPushJoinCondition</a><wbr>(boolean&nbsp;pushJoinCondition)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets <a href="#pushJoinCondition()"><code>pushJoinCondition()</code></a>.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="RelBuilder.Config.html" title="interface in org.apache.calcite.tools">RelBuilder.Config</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withSimplify(boolean)" class="member-name-link">withSimplify</a><wbr>(boolean&nbsp;simplify)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets <a href="#simplify()"><code>simplify()</code></a>.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="RelBuilder.Config.html" title="interface in org.apache.calcite.tools">RelBuilder.Config</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withSimplifyLimit(boolean)" class="member-name-link">withSimplifyLimit</a><wbr>(boolean&nbsp;simplifyLimit)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets <a href="#simplifyLimit()"><code>simplifyLimit()</code></a>.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="RelBuilder.Config.html" title="interface in org.apache.calcite.tools">RelBuilder.Config</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withSimplifyValues(boolean)" class="member-name-link">withSimplifyValues</a><wbr>(boolean&nbsp;simplifyValues)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3">
<div class="block">Sets <a href="#simplifyValues()"><code>simplifyValues()</code></a>.</div>
</div>
</div>
</div>
</div>
</section>
</li>
</ul>
</section>
<section class="details">
<ul class="details-list">
<!-- ============ FIELD DETAIL =========== -->
<li>
<section class="field-details" id="field-detail">
<h2>Field Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="DEFAULT">
<h3>DEFAULT</h3>
<div class="member-signature"><span class="modifiers">static final</span>&nbsp;<span class="return-type"><a href="RelBuilder.Config.html" title="interface in org.apache.calcite.tools">RelBuilder.Config</a></span>&nbsp;<span class="element-name">DEFAULT</span></div>
<div class="block">Default configuration.</div>
</section>
</li>
</ul>
</section>
</li>
<!-- ============ METHOD DETAIL ========== -->
<li>
<section class="method-details" id="method-detail">
<h2>Method Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="bloat()">
<h3>bloat</h3>
<div class="member-signature"><span class="annotations">@Default
</span><span class="modifiers">default</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">bloat</span>()</div>
<div class="block">Controls whether to merge two <a href="../rel/core/Project.html" title="class in org.apache.calcite.rel.core"><code>Project</code></a> operators when inlining
expressions causes complexity to increase.
<p>Usually merging projects is beneficial, but occasionally the
result is more complex than the original projects. Consider:
<pre>
P: Project(a+b+c AS x, d+e+f AS y, g+h+i AS z) # complexity 15
Q: Project(x*y*z AS p, x-y-z AS q) # complexity 10
R: Project((a+b+c)*(d+e+f)*(g+h+i) AS s,
(a+b+c)-(d+e+f)-(g+h+i) AS t) # complexity 34
</pre>
The complexity of an expression is the number of nodes (leaves and
operators). For example, <code>a+b+c</code> has complexity 5 (3 field
references and 2 calls):
<pre>
+
/ \
+ c
/ \
a b
</pre>
<p>A negative value never allows merges.
<p>A zero or positive value, <code>bloat</code>, allows a merge if complexity
of the result is less than or equal to the sum of the complexity of the
originals plus <code>bloat</code>.
<p>The default value, 100, allows a moderate increase in complexity but
prevents cases where complexity would run away into the millions and run
out of memory. Moderate complexity is OK; the implementation, say via
<a href="../adapter/enumerable/EnumerableCalc.html" title="class in org.apache.calcite.adapter.enumerable"><code>EnumerableCalc</code></a>, will often
gather common sub-expressions and compute them only once.</div>
</section>
</li>
<li>
<section class="detail" id="withBloat(int)">
<h3>withBloat</h3>
<div class="member-signature"><span class="return-type"><a href="RelBuilder.Config.html" title="interface in org.apache.calcite.tools">RelBuilder.Config</a></span>&nbsp;<span class="element-name">withBloat</span><wbr><span class="parameters">(int&nbsp;bloat)</span></div>
<div class="block">Sets <a href="#bloat()"><code>bloat()</code></a>.</div>
</section>
</li>
<li>
<section class="detail" id="dedupAggregateCalls()">
<h3>dedupAggregateCalls</h3>
<div class="member-signature"><span class="annotations">@Default
</span><span class="modifiers">default</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">dedupAggregateCalls</span>()</div>
<div class="block">Whether <a href="RelBuilder.html#aggregate(org.apache.calcite.tools.RelBuilder.GroupKey,org.apache.calcite.tools.RelBuilder.AggCall...)"><code>RelBuilder.aggregate(org.apache.calcite.tools.RelBuilder.GroupKey, org.apache.calcite.tools.RelBuilder.AggCall...)</code></a> should eliminate duplicate
aggregate calls; default true.</div>
</section>
</li>
<li>
<section class="detail" id="withDedupAggregateCalls(boolean)">
<h3>withDedupAggregateCalls</h3>
<div class="member-signature"><span class="return-type"><a href="RelBuilder.Config.html" title="interface in org.apache.calcite.tools">RelBuilder.Config</a></span>&nbsp;<span class="element-name">withDedupAggregateCalls</span><wbr><span class="parameters">(boolean&nbsp;dedupAggregateCalls)</span></div>
<div class="block">Sets <a href="#dedupAggregateCalls()"><code>dedupAggregateCalls()</code></a>.</div>
</section>
</li>
<li>
<section class="detail" id="pruneInputOfAggregate()">
<h3>pruneInputOfAggregate</h3>
<div class="member-signature"><span class="annotations">@Default
</span><span class="modifiers">default</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">pruneInputOfAggregate</span>()</div>
<div class="block">Whether <a href="RelBuilder.html#aggregate(org.apache.calcite.tools.RelBuilder.GroupKey,org.apache.calcite.tools.RelBuilder.AggCall...)"><code>RelBuilder.aggregate(org.apache.calcite.tools.RelBuilder.GroupKey, org.apache.calcite.tools.RelBuilder.AggCall...)</code></a> should prune unused
input columns; default true.</div>
</section>
</li>
<li>
<section class="detail" id="withPruneInputOfAggregate(boolean)">
<h3>withPruneInputOfAggregate</h3>
<div class="member-signature"><span class="return-type"><a href="RelBuilder.Config.html" title="interface in org.apache.calcite.tools">RelBuilder.Config</a></span>&nbsp;<span class="element-name">withPruneInputOfAggregate</span><wbr><span class="parameters">(boolean&nbsp;pruneInputOfAggregate)</span></div>
<div class="block">Sets <a href="#pruneInputOfAggregate()"><code>pruneInputOfAggregate()</code></a>.</div>
</section>
</li>
<li>
<section class="detail" id="pushJoinCondition()">
<h3>pushJoinCondition</h3>
<div class="member-signature"><span class="annotations">@Default
</span><span class="modifiers">default</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">pushJoinCondition</span>()</div>
<div class="block">Whether to push down join conditions; default false (but
<a href="../sql2rel/SqlToRelConverter.html#config()"><code>SqlToRelConverter.config()</code></a> by default sets this to true).</div>
</section>
</li>
<li>
<section class="detail" id="withPushJoinCondition(boolean)">
<h3>withPushJoinCondition</h3>
<div class="member-signature"><span class="return-type"><a href="RelBuilder.Config.html" title="interface in org.apache.calcite.tools">RelBuilder.Config</a></span>&nbsp;<span class="element-name">withPushJoinCondition</span><wbr><span class="parameters">(boolean&nbsp;pushJoinCondition)</span></div>
<div class="block">Sets <a href="#pushJoinCondition()"><code>pushJoinCondition()</code></a>.</div>
</section>
</li>
<li>
<section class="detail" id="simplify()">
<h3>simplify</h3>
<div class="member-signature"><span class="annotations">@Default
</span><span class="modifiers">default</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">simplify</span>()</div>
<div class="block">Whether to simplify expressions; default true.</div>
</section>
</li>
<li>
<section class="detail" id="withSimplify(boolean)">
<h3>withSimplify</h3>
<div class="member-signature"><span class="return-type"><a href="RelBuilder.Config.html" title="interface in org.apache.calcite.tools">RelBuilder.Config</a></span>&nbsp;<span class="element-name">withSimplify</span><wbr><span class="parameters">(boolean&nbsp;simplify)</span></div>
<div class="block">Sets <a href="#simplify()"><code>simplify()</code></a>.</div>
</section>
</li>
<li>
<section class="detail" id="simplifyLimit()">
<h3>simplifyLimit</h3>
<div class="member-signature"><span class="annotations">@Default
</span><span class="modifiers">default</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">simplifyLimit</span>()</div>
<div class="block">Whether to simplify LIMIT 0 to an empty relation; default true.</div>
</section>
</li>
<li>
<section class="detail" id="withSimplifyLimit(boolean)">
<h3>withSimplifyLimit</h3>
<div class="member-signature"><span class="return-type"><a href="RelBuilder.Config.html" title="interface in org.apache.calcite.tools">RelBuilder.Config</a></span>&nbsp;<span class="element-name">withSimplifyLimit</span><wbr><span class="parameters">(boolean&nbsp;simplifyLimit)</span></div>
<div class="block">Sets <a href="#simplifyLimit()"><code>simplifyLimit()</code></a>.</div>
</section>
</li>
<li>
<section class="detail" id="simplifyValues()">
<h3>simplifyValues</h3>
<div class="member-signature"><span class="annotations">@Default
</span><span class="modifiers">default</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">simplifyValues</span>()</div>
<div class="block">Whether to simplify <code>Union(Values, Values)</code> or
<code>Union(Project(Values))</code> to <code>Values</code>; default true.</div>
</section>
</li>
<li>
<section class="detail" id="withSimplifyValues(boolean)">
<h3>withSimplifyValues</h3>
<div class="member-signature"><span class="return-type"><a href="RelBuilder.Config.html" title="interface in org.apache.calcite.tools">RelBuilder.Config</a></span>&nbsp;<span class="element-name">withSimplifyValues</span><wbr><span class="parameters">(boolean&nbsp;simplifyValues)</span></div>
<div class="block">Sets <a href="#simplifyValues()"><code>simplifyValues()</code></a>.</div>
</section>
</li>
<li>
<section class="detail" id="aggregateUnique()">
<h3>aggregateUnique</h3>
<div class="member-signature"><span class="annotations">@Default
</span><span class="modifiers">default</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">aggregateUnique</span>()</div>
<div class="block">Whether to create an Aggregate even if we know that the input is
already unique; default false.</div>
</section>
</li>
<li>
<section class="detail" id="withAggregateUnique(boolean)">
<h3>withAggregateUnique</h3>
<div class="member-signature"><span class="return-type"><a href="RelBuilder.Config.html" title="interface in org.apache.calcite.tools">RelBuilder.Config</a></span>&nbsp;<span class="element-name">withAggregateUnique</span><wbr><span class="parameters">(boolean&nbsp;aggregateUnique)</span></div>
<div class="block">Sets <a href="#aggregateUnique()"><code>aggregateUnique()</code></a>.</div>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
<!-- ========= END OF CLASS DATA ========= -->
</main>
<footer role="contentinfo">
<hr>
<p class="legal-copy"><small>Copyright &copy; 2012-2023 Apache Software Foundation. All Rights Reserved.</small></p>
</footer>
</div>
</div>
</body>
</html>