blob: c6a3eb9b953da0e5566ebf8e0f71f22bdcd317cc [file] [log] [blame]
<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>EnumerableDefaults (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.linq4j, class: EnumerableDefaults">
<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>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor-summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li>
</ul>
<ul class="sub-nav-list">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor-detail">Constr</a>&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.linq4j</a></div>
<h1 title="Class EnumerableDefaults" class="title">Class EnumerableDefaults</h1>
</div>
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a>
<div class="inheritance">org.apache.calcite.linq4j.EnumerableDefaults</div>
</div>
<section class="class-description" id="class-description">
<hr>
<div class="type-signature"><span class="modifiers">public abstract class </span><span class="element-name type-name-label">EnumerableDefaults</span>
<span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></span></div>
<div class="block">Default implementations of methods in the <a href="Enumerable.html" title="interface in org.apache.calcite.linq4j"><code>Enumerable</code></a> interface.</div>
</section>
<section class="summary">
<ul class="summary-list">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li>
<section class="constructor-summary" id="constructor-summary">
<h2>Constructor Summary</h2>
<div class="caption"><span>Constructors</span></div>
<div class="summary-table two-column-summary">
<div class="table-header col-first">Constructor</div>
<div class="table-header col-last">Description</div>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E()" class="member-name-link">EnumerableDefaults</a>()</code></div>
<div class="col-last even-row-color">&nbsp;</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-tab1" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab1', 3)" class="table-tab">Static Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button><button id="method-summary-table-tab6" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab6', 3)" class="table-tab">Deprecated 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-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;@Nullable TSource</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#aggregate(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function2)" class="member-name-link">aggregate</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;@Nullable TSource,<wbr>TSource,<wbr>TSource&gt;&nbsp;func)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Applies an accumulator function over a sequence.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TAccumulate&gt;<br>TAccumulate</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#aggregate(org.apache.calcite.linq4j.Enumerable,TAccumulate,org.apache.calcite.linq4j.function.Function2)" class="member-name-link">aggregate</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
TAccumulate&nbsp;seed,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TAccumulate,<wbr>TSource,<wbr>TAccumulate&gt;&nbsp;func)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Applies an accumulator function over a
sequence.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TAccumulate,<wbr>
TResult&gt;<br>TResult</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#aggregate(org.apache.calcite.linq4j.Enumerable,TAccumulate,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.function.Function1)" class="member-name-link">aggregate</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
TAccumulate&nbsp;seed,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TAccumulate,<wbr>TSource,<wbr>TAccumulate&gt;&nbsp;func,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TAccumulate,<wbr>TResult&gt;&nbsp;selector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Applies an accumulator function over a
sequence.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#all(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate1)" class="member-name-link">all</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;TSource&gt;&nbsp;predicate)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Determines whether all elements of a sequence
satisfy a condition.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TInner,<wbr>
TKey&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#antiJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1)" class="member-name-link">antiJoin</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns elements of <code>outer</code> for which there is NOT a member of
<code>inner</code> with a matching key.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TInner,<wbr>
TKey&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#antiJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.EqualityComparer)" class="member-name-link">antiJoin</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TInner,<wbr>
TKey&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#antiJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.EqualityComparer,org.apache.calcite.linq4j.function.Predicate2)" class="member-name-link">antiJoin</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer,
<a href="function/Predicate2.html" title="interface in org.apache.calcite.linq4j.function">Predicate2</a>&lt;TSource,<wbr>TInner&gt;&nbsp;nonEquiPredicate)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#any(org.apache.calcite.linq4j.Enumerable)" class="member-name-link">any</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&nbsp;enumerable)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Determines whether a sequence contains any
elements.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#any(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate1)" class="member-name-link">any</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;TSource&gt;&nbsp;predicate)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Determines whether any element of a sequence
satisfies a condition.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#asEnumerable(org.apache.calcite.linq4j.Enumerable)" class="member-name-link">asEnumerable</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns the input typed as <code>Enumerable&lt;TSource&gt;</code>.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;T&gt;&nbsp;<a href="OrderedQueryable.html" title="interface in org.apache.calcite.linq4j">OrderedQueryable</a>&lt;T&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#asOrderedQueryable(org.apache.calcite.linq4j.Enumerable)" class="member-name-link">asOrderedQueryable</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;T&gt;&nbsp;source)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="Queryable.html" title="interface in org.apache.calcite.linq4j">Queryable</a>&lt;TSource&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#asQueryable(org.apache.calcite.linq4j.Enumerable)" class="member-name-link">asQueryable</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Converts an Enumerable to an IQueryable.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#average(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.BigDecimalFunction1)" class="member-name-link">average</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/BigDecimalFunction1.html" title="interface in org.apache.calcite.linq4j.function">BigDecimalFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Computes the average of a sequence of Decimal
values that are obtained by invoking a transform function on
each element of the input sequence.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;double</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#average(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.DoubleFunction1)" class="member-name-link">average</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/DoubleFunction1.html" title="interface in org.apache.calcite.linq4j.function">DoubleFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Computes the average of a sequence of Double
values that are obtained by invoking a transform function on
each element of the input sequence.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;float</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#average(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.FloatFunction1)" class="member-name-link">average</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/FloatFunction1.html" title="interface in org.apache.calcite.linq4j.function">FloatFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Computes the average of a sequence of Float
values that are obtained by invoking a transform function on
each element of the input sequence.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;int</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#average(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.IntegerFunction1)" class="member-name-link">average</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/IntegerFunction1.html" title="interface in org.apache.calcite.linq4j.function">IntegerFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Computes the average of a sequence of int values
that are obtained by invoking a transform function on each
element of the input sequence.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;long</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#average(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.LongFunction1)" class="member-name-link">average</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/LongFunction1.html" title="interface in org.apache.calcite.linq4j.function">LongFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Computes the average of a sequence of long values
that are obtained by invoking a transform function on each
element of the input sequence.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#average(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableBigDecimalFunction1)" class="member-name-link">average</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableBigDecimalFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableBigDecimalFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Computes the average of a sequence of nullable
Decimal values that are obtained by invoking a transform
function on each element of the input sequence.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Double.html" title="class or interface in java.lang" class="external-link">Double</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#average(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableDoubleFunction1)" class="member-name-link">average</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableDoubleFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableDoubleFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Computes the average of a sequence of nullable
Double values that are obtained by invoking a transform
function on each element of the input sequence.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Float.html" title="class or interface in java.lang" class="external-link">Float</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#average(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableFloatFunction1)" class="member-name-link">average</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableFloatFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableFloatFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Computes the average of a sequence of nullable
Float values that are obtained by invoking a transform
function on each element of the input sequence.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#average(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableIntegerFunction1)" class="member-name-link">average</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableIntegerFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableIntegerFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Computes the average of a sequence of nullable
int values that are obtained by invoking a transform function
on each element of the input sequence.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#average(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableLongFunction1)" class="member-name-link">average</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableLongFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableLongFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Computes the average of a sequence of nullable
long values that are obtained by invoking a transform function
on each element of the input sequence.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
T2&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;T2&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#cast(org.apache.calcite.linq4j.Enumerable,java.lang.Class)" class="member-name-link">cast</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a>&lt;T2&gt;&nbsp;clazz)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Analogous to LINQ's Enumerable.Cast extension method.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#concat(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable)" class="member-name-link">concat</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable0,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable1)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Concatenates two sequences.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#contains(org.apache.calcite.linq4j.Enumerable,TSource)" class="member-name-link">contains</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
TSource&nbsp;element)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Determines whether a sequence contains a specified
element by using the default equality comparer.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#contains(org.apache.calcite.linq4j.Enumerable,TSource,org.apache.calcite.linq4j.function.EqualityComparer)" class="member-name-link">contains</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
TSource&nbsp;element,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TSource&gt;&nbsp;comparer)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Determines whether a sequence contains a specified
element by using a specified <code>EqualityComparer&lt;TSource&gt;</code>.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TInner,<wbr>
TResult&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#correlateBatchJoin(org.apache.calcite.linq4j.JoinType,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.function.Predicate2,int)" class="member-name-link">correlateBatchJoin</a><wbr>(<a href="JoinType.html" title="enum in org.apache.calcite.linq4j">JoinType</a>&nbsp;joinType,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;TSource&gt;,<wbr><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&gt;&nbsp;inner,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr>TInner,<wbr>TResult&gt;&nbsp;resultSelector,
<a href="function/Predicate2.html" title="interface in org.apache.calcite.linq4j.function">Predicate2</a>&lt;TSource,<wbr>TInner&gt;&nbsp;predicate,
int&nbsp;batchSize)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Fetches blocks of size <code>batchSize</code> from <code>outer</code>,
storing each block into a list (<code>outerValues</code>).</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TInner,<wbr>
TResult&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#correlateJoin(org.apache.calcite.linq4j.JoinType,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2)" class="member-name-link">correlateJoin</a><wbr>(<a href="JoinType.html" title="enum in org.apache.calcite.linq4j">JoinType</a>&nbsp;joinType,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&gt;&nbsp;inner,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr>? super @Nullable TInner,<wbr>TResult&gt;&nbsp;resultSelector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">For each row of the <code>outer</code> enumerable returns the correlated rows
from the <code>inner</code> enumerable.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;int</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#count(org.apache.calcite.linq4j.Enumerable)" class="member-name-link">count</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns the number of elements in a
sequence.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;int</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#count(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate1)" class="member-name-link">count</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;TSource&gt;&nbsp;predicate)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns a number that represents how many elements
in the specified sequence satisfy a condition.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey&gt;<br><a href="OrderedEnumerable.html" title="interface in org.apache.calcite.linq4j">OrderedEnumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#createOrderedEnumerable(org.apache.calcite.linq4j.OrderedEnumerable,org.apache.calcite.linq4j.function.Function1,java.util.Comparator,boolean)" class="member-name-link">createOrderedEnumerable</a><wbr>(<a href="OrderedEnumerable.html" title="interface in org.apache.calcite.linq4j">OrderedEnumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Comparator.html" title="class or interface in java.util" class="external-link">Comparator</a>&lt;TKey&gt;&nbsp;comparator,
boolean&nbsp;descending)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Performs a subsequent ordering of the elements in a sequence according
to a key.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;@Nullable TSource&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#defaultIfEmpty(org.apache.calcite.linq4j.Enumerable)" class="member-name-link">defaultIfEmpty</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns the elements of the specified sequence or
the type parameter's default value in a singleton collection if
the sequence is empty.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;@PolyNull TSource&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#defaultIfEmpty(org.apache.calcite.linq4j.Enumerable,TSource)" class="member-name-link">defaultIfEmpty</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
@PolyNull TSource&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns the elements of the specified sequence or
the specified value in a singleton collection if the sequence
is empty.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#distinct(org.apache.calcite.linq4j.Enumerable)" class="member-name-link">distinct</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns distinct elements from a sequence by using
the default <a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function"><code>EqualityComparer</code></a> to compare values.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#distinct(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.EqualityComparer)" class="member-name-link">distinct</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TSource&gt;&nbsp;comparer)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns distinct elements from a sequence by using
a specified <a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function"><code>EqualityComparer</code></a> to compare values.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;TSource</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#elementAt(org.apache.calcite.linq4j.Enumerable,int)" class="member-name-link">elementAt</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
int&nbsp;index)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns the element at a specified index in a
sequence.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;@Nullable TSource</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#elementAtOrDefault(org.apache.calcite.linq4j.Enumerable,int)" class="member-name-link">elementAtOrDefault</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
int&nbsp;index)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns the element at a specified index in a
sequence or a default value if the index is out of
range.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#except(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable)" class="member-name-link">except</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source0,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source1)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Produces the set difference of two sequences by
using the default equality comparer to compare values,
eliminate duplicates.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#except(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,boolean)" class="member-name-link">except</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source0,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source1,
boolean&nbsp;all)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Produces the set difference of two sequences by
using the default equality comparer to compare values,
using <code>all</code> to indicate whether to eliminate duplicates.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#except(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.EqualityComparer)" class="member-name-link">except</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source0,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source1,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TSource&gt;&nbsp;comparer)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Produces the set difference of two sequences by
using the specified <code>EqualityComparer&lt;TSource&gt;</code> to compare
values, eliminate duplicates.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#except(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.EqualityComparer,boolean)" class="member-name-link">except</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source0,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source1,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TSource&gt;&nbsp;comparer,
boolean&nbsp;all)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Produces the set difference of two sequences by
using the specified <code>EqualityComparer&lt;TSource&gt;</code> to compare
values, using <code>all</code> to indicate whether to eliminate duplicates.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;TSource</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#first(org.apache.calcite.linq4j.Enumerable)" class="member-name-link">first</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns the first element of a sequence.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;TSource</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#first(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate1)" class="member-name-link">first</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;TSource&gt;&nbsp;predicate)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns the first element in a sequence that
satisfies a specified condition.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;@Nullable TSource</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#firstOrDefault(org.apache.calcite.linq4j.Enumerable)" class="member-name-link">firstOrDefault</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns the first element of a sequence, or a
default value if the sequence contains no elements.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;@Nullable TSource</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#firstOrDefault(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate1)" class="member-name-link">firstOrDefault</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;TSource&gt;&nbsp;predicate)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns the first element of the sequence that
satisfies a condition or a default value if no such element is
found.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;<a href="Grouping.html" title="interface in org.apache.calcite.linq4j">Grouping</a>&lt;TKey,<wbr>TSource&gt;&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#groupBy(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1)" class="member-name-link">groupBy</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Groups the elements of a sequence according to a
specified key selector function.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;<a href="Grouping.html" title="interface in org.apache.calcite.linq4j">Grouping</a>&lt;TKey,<wbr>TSource&gt;&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#groupBy(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.EqualityComparer)" class="member-name-link">groupBy</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Groups the elements of a sequence according to a
specified key selector function and compares the keys by using
a specified comparer.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey,<wbr>
TAccumulate,<wbr>
TResult&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#groupBy(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function0,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.function.Function2)" class="member-name-link">groupBy</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/Function0.html" title="interface in org.apache.calcite.linq4j.function">Function0</a>&lt;TAccumulate&gt;&nbsp;accumulatorInitializer,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TAccumulate,<wbr>TSource,<wbr>TAccumulate&gt;&nbsp;accumulatorAdder,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TKey,<wbr>TAccumulate,<wbr>TResult&gt;&nbsp;resultSelector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Groups the elements of a sequence according to a
specified key selector function, initializing an accumulator for each
group and adding to it each time an element with the same key is seen.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey,<wbr>
TAccumulate,<wbr>
TResult&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#groupBy(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function0,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.function.EqualityComparer)" class="member-name-link">groupBy</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/Function0.html" title="interface in org.apache.calcite.linq4j.function">Function0</a>&lt;TAccumulate&gt;&nbsp;accumulatorInitializer,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TAccumulate,<wbr>TSource,<wbr>TAccumulate&gt;&nbsp;accumulatorAdder,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TKey,<wbr>TAccumulate,<wbr>TResult&gt;&nbsp;resultSelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Groups the elements of a sequence according to a
specified key selector function, initializing an accumulator for each
group and adding to it each time an element with the same key is seen.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey,<wbr>
TElement&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;<a href="Grouping.html" title="interface in org.apache.calcite.linq4j">Grouping</a>&lt;TKey,<wbr>TElement&gt;&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#groupBy(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1)" class="member-name-link">groupBy</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TElement&gt;&nbsp;elementSelector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Groups the elements of a sequence according to a
specified key selector function and projects the elements for
each group by using a specified function.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey,<wbr>
TElement&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;<a href="Grouping.html" title="interface in org.apache.calcite.linq4j">Grouping</a>&lt;TKey,<wbr>TElement&gt;&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#groupBy(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.EqualityComparer)" class="member-name-link">groupBy</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TElement&gt;&nbsp;elementSelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Groups the elements of a sequence according to a
key selector function.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey,<wbr>
TElement,<wbr>
TResult&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#groupBy(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2)" class="member-name-link">groupBy</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TElement&gt;&nbsp;elementSelector,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TKey,<wbr><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TElement&gt;,<wbr>TResult&gt;&nbsp;resultSelector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Groups the elements of a sequence according to a
specified key selector function and creates a result value from
each group and its key.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey,<wbr>
TElement,<wbr>
TResult&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#groupBy(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.function.EqualityComparer)" class="member-name-link">groupBy</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TElement&gt;&nbsp;elementSelector,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TKey,<wbr><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TElement&gt;,<wbr>TResult&gt;&nbsp;resultSelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Groups the elements of a sequence according to a
specified key selector function and creates a result value from
each group and its key.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey,<wbr>
TResult&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#groupBy(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2)" class="member-name-link">groupBy</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TKey,<wbr><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;,<wbr>TResult&gt;&nbsp;resultSelector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Groups the elements of a sequence according to a
specified key selector function and creates a result value from
each group and its key.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey,<wbr>
TResult&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#groupBy(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.function.EqualityComparer)" class="member-name-link">groupBy</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TKey,<wbr><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;,<wbr>TResult&gt;&nbsp;resultSelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Groups the elements of a sequence according to a
specified key selector function and creates a result value from
each group and its key.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey,<wbr>
TAccumulate,<wbr>
TResult&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#groupByMultiple(org.apache.calcite.linq4j.Enumerable,java.util.List,org.apache.calcite.linq4j.function.Function0,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.function.Function2)" class="member-name-link">groupByMultiple</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&gt;&nbsp;keySelectors,
<a href="function/Function0.html" title="interface in org.apache.calcite.linq4j.function">Function0</a>&lt;TAccumulate&gt;&nbsp;accumulatorInitializer,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TAccumulate,<wbr>TSource,<wbr>TAccumulate&gt;&nbsp;accumulatorAdder,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TKey,<wbr>TAccumulate,<wbr>TResult&gt;&nbsp;resultSelector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Groups the elements of a sequence according to a list of
specified key selector functions, initializing an accumulator for each
group and adding to it each time an element with the same key is seen.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TInner,<wbr>
TKey,<wbr>
TResult&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#groupJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2)" class="member-name-link">groupJoin</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;,<wbr>TResult&gt;&nbsp;resultSelector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Correlates the elements of two sequences based on
equality of keys and groups the results.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TInner,<wbr>
TKey,<wbr>
TResult&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#groupJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.function.EqualityComparer)" class="member-name-link">groupJoin</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;,<wbr>TResult&gt;&nbsp;resultSelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Correlates the elements of two sequences based on
key equality and groups the results.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TInner,<wbr>
TKey,<wbr>
TResult&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#hashJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2)" class="member-name-link">hashJoin</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr>TInner,<wbr>TResult&gt;&nbsp;resultSelector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Correlates the elements of two sequences based on
matching keys.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TInner,<wbr>
TKey,<wbr>
TResult&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#hashJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.function.EqualityComparer,boolean,boolean)" class="member-name-link">hashJoin</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr>TInner,<wbr>TResult&gt;&nbsp;resultSelector,
@Nullable <a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer,
boolean&nbsp;generateNullsOnLeft,
boolean&nbsp;generateNullsOnRight)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Correlates the elements of two sequences based on
matching keys.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TInner,<wbr>
TKey,<wbr>
TResult&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#hashJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.function.EqualityComparer,boolean,boolean,org.apache.calcite.linq4j.function.Predicate2)" class="member-name-link">hashJoin</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr>TInner,<wbr>TResult&gt;&nbsp;resultSelector,
@Nullable <a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer,
boolean&nbsp;generateNullsOnLeft,
boolean&nbsp;generateNullsOnRight,
@Nullable <a href="function/Predicate2.html" title="interface in org.apache.calcite.linq4j.function">Predicate2</a>&lt;TSource,<wbr>TInner&gt;&nbsp;predicate)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Correlates the elements of two sequences based on
matching keys.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TInner,<wbr>
TKey,<wbr>
TResult&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#hashJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.function.EqualityComparer)" class="member-name-link">hashJoin</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr>TInner,<wbr>TResult&gt;&nbsp;resultSelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Correlates the elements of two sequences based on
matching keys.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#intersect(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable)" class="member-name-link">intersect</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source0,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source1)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Produces the set intersection of two sequences by
using the default equality comparer to compare values,
eliminate duplicates.(Defined by Enumerable.)</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#intersect(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,boolean)" class="member-name-link">intersect</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source0,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source1,
boolean&nbsp;all)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Produces the set intersection of two sequences by
using the default equality comparer to compare values,
using <code>all</code> to indicate whether to eliminate duplicates.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#intersect(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.EqualityComparer)" class="member-name-link">intersect</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source0,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source1,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TSource&gt;&nbsp;comparer)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Produces the set intersection of two sequences by
using the specified <code>EqualityComparer&lt;TSource&gt;</code> to compare
values, eliminate duplicates.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#intersect(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.EqualityComparer,boolean)" class="member-name-link">intersect</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source0,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source1,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TSource&gt;&nbsp;comparer,
boolean&nbsp;all)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Produces the set intersection of two sequences by
using the specified <code>EqualityComparer&lt;TSource&gt;</code> to compare
values, using <code>all</code> to indicate whether to eliminate duplicates.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;T,<wbr>
C extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a>&lt;? super T&gt;&gt;<br>C</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#into(org.apache.calcite.linq4j.Enumerable,C)" class="member-name-link">into</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;T&gt;&nbsp;source,
C&nbsp;sink)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Default implementation of <a href="ExtendedEnumerable.html#into(C)"><code>ExtendedEnumerable.into(Collection)</code></a>.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#isMergeJoinSupported(org.apache.calcite.linq4j.JoinType)" class="member-name-link">isMergeJoinSupported</a><wbr>(<a href="JoinType.html" title="enum in org.apache.calcite.linq4j">JoinType</a>&nbsp;joinType)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns if certain join type is supported by Enumerable Merge Join implementation.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;TSource</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#last(org.apache.calcite.linq4j.Enumerable)" class="member-name-link">last</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns the last element of a sequence.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;TSource</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#last(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate1)" class="member-name-link">last</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;TSource&gt;&nbsp;predicate)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns the last element of a sequence that
satisfies a specified condition.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;@Nullable TSource</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#lastOrDefault(org.apache.calcite.linq4j.Enumerable)" class="member-name-link">lastOrDefault</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns the last element of a sequence, or a
default value if the sequence contains no elements.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;@Nullable TSource</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#lastOrDefault(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate1)" class="member-name-link">lastOrDefault</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;TSource&gt;&nbsp;predicate)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns the last element of a sequence that
satisfies a condition or a default value if no such element is
found.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#lazyCollectionSpool(java.util.Collection,org.apache.calcite.linq4j.Enumerable)" class="member-name-link">lazyCollectionSpool</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a>&lt;TSource&gt;&nbsp;outputCollection,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;input)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Lazy read and lazy write spool that stores data into a collection.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;long</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#longCount(org.apache.calcite.linq4j.Enumerable)" class="member-name-link">longCount</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns an long that represents the total number
of elements in a sequence.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;long</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#longCount(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate1)" class="member-name-link">longCount</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;TSource&gt;&nbsp;predicate)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns an long that represents how many elements
in a sequence satisfy a condition.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a>&lt;TSource&gt;&gt;<br>TSource</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#max(org.apache.calcite.linq4j.Enumerable)" class="member-name-link">max</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns the maximum value in a generic
sequence.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#max(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.BigDecimalFunction1)" class="member-name-link">max</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/BigDecimalFunction1.html" title="interface in org.apache.calcite.linq4j.function">BigDecimalFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Invokes a transform function on each element of a
sequence and returns the maximum Decimal value.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;double</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#max(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.DoubleFunction1)" class="member-name-link">max</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/DoubleFunction1.html" title="interface in org.apache.calcite.linq4j.function">DoubleFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Invokes a transform function on each element of a
sequence and returns the maximum Double value.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;float</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#max(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.FloatFunction1)" class="member-name-link">max</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/FloatFunction1.html" title="interface in org.apache.calcite.linq4j.function">FloatFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Invokes a transform function on each element of a
sequence and returns the maximum Float value.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TResult extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a>&lt;TResult&gt;&gt;<br>@Nullable TResult</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#max(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1)" class="member-name-link">max</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TResult&gt;&nbsp;selector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Invokes a transform function on each element of a
generic sequence and returns the maximum resulting
value.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;int</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#max(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.IntegerFunction1)" class="member-name-link">max</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/IntegerFunction1.html" title="interface in org.apache.calcite.linq4j.function">IntegerFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Invokes a transform function on each element of a
sequence and returns the maximum int value.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;long</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#max(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.LongFunction1)" class="member-name-link">max</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/LongFunction1.html" title="interface in org.apache.calcite.linq4j.function">LongFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Invokes a transform function on each element of a
sequence and returns the maximum long value.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#max(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableBigDecimalFunction1)" class="member-name-link">max</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableBigDecimalFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableBigDecimalFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Invokes a transform function on each element of a
sequence and returns the maximum nullable Decimal
value.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Double.html" title="class or interface in java.lang" class="external-link">Double</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#max(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableDoubleFunction1)" class="member-name-link">max</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableDoubleFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableDoubleFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Invokes a transform function on each element of a
sequence and returns the maximum nullable Double
value.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;@Nullable <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Float.html" title="class or interface in java.lang" class="external-link">Float</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#max(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableFloatFunction1)" class="member-name-link">max</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableFloatFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableFloatFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Invokes a transform function on each element of a
sequence and returns the maximum nullable Float
value.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#max(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableIntegerFunction1)" class="member-name-link">max</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableIntegerFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableIntegerFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Invokes a transform function on each element of a
sequence and returns the maximum nullable int value.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;@Nullable <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#max(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableLongFunction1)" class="member-name-link">max</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableLongFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableLongFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Invokes a transform function on each element of a
sequence and returns the maximum nullable long value.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TInner,<wbr>
TKey extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a>&lt;TKey&gt;,<wbr>
TResult&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#mergeJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Predicate2,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.JoinType,java.util.Comparator)" class="member-name-link">mergeJoin</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector,
@Nullable <a href="function/Predicate2.html" title="interface in org.apache.calcite.linq4j.function">Predicate2</a>&lt;TSource,<wbr>TInner&gt;&nbsp;extraPredicate,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr>@Nullable TInner,<wbr>TResult&gt;&nbsp;resultSelector,
<a href="JoinType.html" title="enum in org.apache.calcite.linq4j">JoinType</a>&nbsp;joinType,
@Nullable <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Comparator.html" title="class or interface in java.util" class="external-link">Comparator</a>&lt;TKey&gt;&nbsp;comparator)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Joins two inputs that are sorted on the key, with an extra predicate for non equi-join
conditions.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4 method-summary-table-tab6"><code>static &lt;TSource,<wbr>
TInner,<wbr>
TKey extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a>&lt;TKey&gt;,<wbr>
TResult&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4 method-summary-table-tab6"><code><a href="#mergeJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2,boolean,boolean)" class="member-name-link">mergeJoin</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr>@Nullable TInner,<wbr>TResult&gt;&nbsp;resultSelector,
boolean&nbsp;generateNullsOnLeft,
boolean&nbsp;generateNullsOnRight)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4 method-summary-table-tab6">
<div class="block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">Use <a href="#mergeJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.JoinType,java.util.Comparator)"><code>mergeJoin(Enumerable, Enumerable, Function1, Function1, Function2, JoinType, Comparator)</code></a></div>
</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TInner,<wbr>
TKey extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a>&lt;TKey&gt;,<wbr>
TResult&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#mergeJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.JoinType,java.util.Comparator)" class="member-name-link">mergeJoin</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr>@Nullable TInner,<wbr>TResult&gt;&nbsp;resultSelector,
<a href="JoinType.html" title="enum in org.apache.calcite.linq4j">JoinType</a>&nbsp;joinType,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Comparator.html" title="class or interface in java.util" class="external-link">Comparator</a>&lt;TKey&gt;&nbsp;comparator)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Joins two inputs that are sorted on the key.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#mergeUnion(java.util.List,org.apache.calcite.linq4j.function.Function1,java.util.Comparator,boolean,org.apache.calcite.linq4j.function.EqualityComparer)" class="member-name-link">mergeUnion</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&gt;&nbsp;sources,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;sortKeySelector,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Comparator.html" title="class or interface in java.util" class="external-link">Comparator</a>&lt;TKey&gt;&nbsp;sortComparator,
boolean&nbsp;all,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TSource&gt;&nbsp;equalityComparer)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Merge Union Enumerable.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a>&lt;TSource&gt;&gt;<br>@Nullable TSource</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#min(org.apache.calcite.linq4j.Enumerable)" class="member-name-link">min</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns the minimum value in a generic
sequence.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#min(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.BigDecimalFunction1)" class="member-name-link">min</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/BigDecimalFunction1.html" title="interface in org.apache.calcite.linq4j.function">BigDecimalFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Invokes a transform function on each element of a
sequence and returns the minimum Decimal value.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;double</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#min(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.DoubleFunction1)" class="member-name-link">min</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/DoubleFunction1.html" title="interface in org.apache.calcite.linq4j.function">DoubleFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Invokes a transform function on each element of a
sequence and returns the minimum Double value.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;float</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#min(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.FloatFunction1)" class="member-name-link">min</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/FloatFunction1.html" title="interface in org.apache.calcite.linq4j.function">FloatFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Invokes a transform function on each element of a
sequence and returns the minimum Float value.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TResult extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a>&lt;TResult&gt;&gt;<br>@Nullable TResult</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#min(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1)" class="member-name-link">min</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TResult&gt;&nbsp;selector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Invokes a transform function on each element of a
generic sequence and returns the minimum resulting
value.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;int</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#min(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.IntegerFunction1)" class="member-name-link">min</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/IntegerFunction1.html" title="interface in org.apache.calcite.linq4j.function">IntegerFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Invokes a transform function on each element of a
sequence and returns the minimum int value.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;long</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#min(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.LongFunction1)" class="member-name-link">min</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/LongFunction1.html" title="interface in org.apache.calcite.linq4j.function">LongFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Invokes a transform function on each element of a
sequence and returns the minimum long value.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#min(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableBigDecimalFunction1)" class="member-name-link">min</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableBigDecimalFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableBigDecimalFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Invokes a transform function on each element of a
sequence and returns the minimum nullable Decimal
value.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Double.html" title="class or interface in java.lang" class="external-link">Double</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#min(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableDoubleFunction1)" class="member-name-link">min</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableDoubleFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableDoubleFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Invokes a transform function on each element of a
sequence and returns the minimum nullable Double
value.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Float.html" title="class or interface in java.lang" class="external-link">Float</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#min(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableFloatFunction1)" class="member-name-link">min</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableFloatFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableFloatFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Invokes a transform function on each element of a
sequence and returns the minimum nullable Float
value.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#min(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableIntegerFunction1)" class="member-name-link">min</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableIntegerFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableIntegerFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Invokes a transform function on each element of a
sequence and returns the minimum nullable int value.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#min(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableLongFunction1)" class="member-name-link">min</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableLongFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableLongFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Invokes a transform function on each element of a
sequence and returns the minimum nullable long value.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TInner,<wbr>
TResult&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#nestedLoopJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate2,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.JoinType)" class="member-name-link">nestedLoopJoin</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Predicate2.html" title="interface in org.apache.calcite.linq4j.function">Predicate2</a>&lt;TSource,<wbr>TInner&gt;&nbsp;predicate,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;? super @Nullable TSource,<wbr>? super @Nullable TInner,<wbr>TResult&gt;&nbsp;resultSelector,
<a href="JoinType.html" title="enum in org.apache.calcite.linq4j">JoinType</a>&nbsp;joinType)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Correlates the elements of two sequences based on a predicate.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TResult&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#ofType(org.apache.calcite.linq4j.Enumerable,java.lang.Class)" class="member-name-link">ofType</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a>&lt;TResult&gt;&nbsp;clazz)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Filters the elements of an Enumerable based on a
specified type.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a>&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#orderBy(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1)" class="member-name-link">orderBy</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Sorts the elements of a sequence in ascending
order according to a key.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#orderBy(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,java.util.Comparator)" class="member-name-link">orderBy</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
@Nullable <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Comparator.html" title="class or interface in java.util" class="external-link">Comparator</a>&lt;TKey&gt;&nbsp;comparator)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Sorts the elements of a sequence in ascending
order by using a specified comparer.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#orderBy(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,java.util.Comparator,int,int)" class="member-name-link">orderBy</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Comparator.html" title="class or interface in java.util" class="external-link">Comparator</a>&lt;TKey&gt;&nbsp;comparator,
int&nbsp;offset,
int&nbsp;fetch)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">A sort implementation optimized for a sort with a fetch size (LIMIT).</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a>&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#orderByDescending(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1)" class="member-name-link">orderByDescending</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Sorts the elements of a sequence in descending
order according to a key.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#orderByDescending(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,java.util.Comparator)" class="member-name-link">orderByDescending</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Comparator.html" title="class or interface in java.util" class="external-link">Comparator</a>&lt;TKey&gt;&nbsp;comparator)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Sorts the elements of a sequence in descending
order by using a specified comparer.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;T,<wbr>
C extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a>&lt;? super T&gt;&gt;<br>C</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#remove(org.apache.calcite.linq4j.Enumerable,C)" class="member-name-link">remove</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;T&gt;&nbsp;source,
C&nbsp;sink)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Default implementation of <a href="ExtendedEnumerable.html#removeAll(C)"><code>ExtendedEnumerable.removeAll(Collection)</code></a>.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#repeatUnion(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,int,boolean,org.apache.calcite.linq4j.function.EqualityComparer,org.apache.calcite.linq4j.function.Function0)" class="member-name-link">repeatUnion</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;seed,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;iteration,
int&nbsp;iterationLimit,
boolean&nbsp;all,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TSource&gt;&nbsp;comparer,
@Nullable <a href="function/Function0.html" title="interface in org.apache.calcite.linq4j.function">Function0</a>&lt;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a>&gt;&nbsp;cleanUpFunction)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Repeat Union enumerable.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#reverse(org.apache.calcite.linq4j.Enumerable)" class="member-name-link">reverse</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Inverts the order of the elements in a
sequence.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TResult&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#select(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1)" class="member-name-link">select</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TResult&gt;&nbsp;selector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Projects each element of a sequence into a new form.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TResult&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#select(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function2)" class="member-name-link">select</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a>,<wbr>TResult&gt;&nbsp;selector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Projects each element of a sequence into a new
form by incorporating the element's index.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TCollection,<wbr>
TResult&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#selectMany(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2)" class="member-name-link">selectMany</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TCollection&gt;&gt;&nbsp;collectionSelector,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr>TCollection,<wbr>TResult&gt;&nbsp;resultSelector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Projects each element of a sequence to an
<code>Enumerable&lt;TSource&gt;</code>, flattens the resulting sequences into one
sequence, and invokes a result selector function on each
element therein.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TResult&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#selectMany(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1)" class="member-name-link">selectMany</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;&gt;&nbsp;selector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Projects each element of a sequence to an
<code>Enumerable&lt;TSource&gt;</code> and flattens the resulting sequences into one
sequence.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TCollection,<wbr>
TResult&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#selectMany(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.function.Function2)" class="member-name-link">selectMany</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a>,<wbr><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TCollection&gt;&gt;&nbsp;collectionSelector,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr>TCollection,<wbr>TResult&gt;&nbsp;resultSelector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Projects each element of a sequence to an
<code>Enumerable&lt;TSource&gt;</code>, flattens the resulting sequences into one
sequence, and invokes a result selector function on each
element therein.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TResult&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#selectMany(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function2)" class="member-name-link">selectMany</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a>,<wbr><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;&gt;&nbsp;selector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Projects each element of a sequence to an
<code>Enumerable&lt;TSource&gt;</code>, and flattens the resulting sequences into one
sequence.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TInner,<wbr>
TKey&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#semiJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1)" class="member-name-link">semiJoin</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns elements of <code>outer</code> for which there is a member of
<code>inner</code> with a matching key.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TInner,<wbr>
TKey&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#semiJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.EqualityComparer)" class="member-name-link">semiJoin</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TInner,<wbr>
TKey&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#semiJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.EqualityComparer,boolean,org.apache.calcite.linq4j.function.Predicate2)" class="member-name-link">semiJoin</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer,
boolean&nbsp;anti,
<a href="function/Predicate2.html" title="interface in org.apache.calcite.linq4j.function">Predicate2</a>&lt;TSource,<wbr>TInner&gt;&nbsp;nonEquiPredicate)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns elements of <code>outer</code> for which there is (semi-join) / is not (anti-semi-join)
a member of <code>inner</code> with a matching key.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TInner,<wbr>
TKey&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#semiJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.EqualityComparer,org.apache.calcite.linq4j.function.Predicate2)" class="member-name-link">semiJoin</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer,
<a href="function/Predicate2.html" title="interface in org.apache.calcite.linq4j.function">Predicate2</a>&lt;TSource,<wbr>TInner&gt;&nbsp;nonEquiPredicate)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;boolean</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#sequenceEqual(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable)" class="member-name-link">sequenceEqual</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;first,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;second)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Determines whether two sequences are equal by
comparing the elements by using the default equality comparer
for their type.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;boolean</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#sequenceEqual(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.EqualityComparer)" class="member-name-link">sequenceEqual</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;first,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;second,
@Nullable <a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TSource&gt;&nbsp;comparer)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Determines whether two sequences are equal by
comparing their elements by using a specified
<code>EqualityComparer&lt;TSource&gt;</code>.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;TSource</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#single(org.apache.calcite.linq4j.Enumerable)" class="member-name-link">single</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns the only element of a sequence, and throws
an exception if there is not exactly one element in the
sequence.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;TSource</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#single(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate1)" class="member-name-link">single</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;TSource&gt;&nbsp;predicate)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns the only element of a sequence that
satisfies a specified condition, and throws an exception if
more than one such element exists.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;@Nullable TSource</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#singleOrDefault(org.apache.calcite.linq4j.Enumerable)" class="member-name-link">singleOrDefault</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns the only element of a sequence, or a
default value if the sequence is empty; this method throws an
exception if there is more than one element in the
sequence.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;@Nullable TSource</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#singleOrDefault(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate1)" class="member-name-link">singleOrDefault</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;TSource&gt;&nbsp;predicate)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns the only element of a sequence that
satisfies a specified condition or a default value if no such
element exists; this method throws an exception if more than
one element satisfies the condition.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#skip(org.apache.calcite.linq4j.Enumerable,int)" class="member-name-link">skip</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
int&nbsp;count)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Bypasses a specified number of elements in a
sequence and then returns the remaining elements.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#skipWhile(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate1)" class="member-name-link">skipWhile</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;TSource&gt;&nbsp;predicate)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Bypasses elements in a sequence as long as a
specified condition is true and then returns the remaining
elements.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#skipWhile(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate2)" class="member-name-link">skipWhile</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Predicate2.html" title="interface in org.apache.calcite.linq4j.function">Predicate2</a>&lt;TSource,<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a>&gt;&nbsp;predicate)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Bypasses elements in a sequence as long as a
specified condition is true and then returns the remaining
elements.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey,<wbr>
TAccumulate,<wbr>
TResult&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#sortedGroupBy(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function0,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.function.Function2,java.util.Comparator)" class="member-name-link">sortedGroupBy</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/Function0.html" title="interface in org.apache.calcite.linq4j.function">Function0</a>&lt;TAccumulate&gt;&nbsp;accumulatorInitializer,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TAccumulate,<wbr>TSource,<wbr>TAccumulate&gt;&nbsp;accumulatorAdder,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TKey,<wbr>TAccumulate,<wbr>TResult&gt;&nbsp;resultSelector,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Comparator.html" title="class or interface in java.util" class="external-link">Comparator</a>&lt;TKey&gt;&nbsp;comparator)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Group keys are sorted already.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#sum(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.BigDecimalFunction1)" class="member-name-link">sum</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/BigDecimalFunction1.html" title="interface in org.apache.calcite.linq4j.function">BigDecimalFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Computes the sum of the sequence of Decimal values
that are obtained by invoking a transform function on each
element of the input sequence.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;double</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#sum(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.DoubleFunction1)" class="member-name-link">sum</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/DoubleFunction1.html" title="interface in org.apache.calcite.linq4j.function">DoubleFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Computes the sum of the sequence of Double values
that are obtained by invoking a transform function on each
element of the input sequence.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;float</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#sum(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.FloatFunction1)" class="member-name-link">sum</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/FloatFunction1.html" title="interface in org.apache.calcite.linq4j.function">FloatFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Computes the sum of the sequence of Float values
that are obtained by invoking a transform function on each
element of the input sequence.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;int</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#sum(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.IntegerFunction1)" class="member-name-link">sum</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/IntegerFunction1.html" title="interface in org.apache.calcite.linq4j.function">IntegerFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Computes the sum of the sequence of int values
that are obtained by invoking a transform function on each
element of the input sequence.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;long</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#sum(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.LongFunction1)" class="member-name-link">sum</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/LongFunction1.html" title="interface in org.apache.calcite.linq4j.function">LongFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Computes the sum of the sequence of long values
that are obtained by invoking a transform function on each
element of the input sequence.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#sum(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableBigDecimalFunction1)" class="member-name-link">sum</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableBigDecimalFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableBigDecimalFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Computes the sum of the sequence of nullable
Decimal values that are obtained by invoking a transform
function on each element of the input sequence.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Double.html" title="class or interface in java.lang" class="external-link">Double</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#sum(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableDoubleFunction1)" class="member-name-link">sum</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableDoubleFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableDoubleFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Computes the sum of the sequence of nullable
Double values that are obtained by invoking a transform
function on each element of the input sequence.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Float.html" title="class or interface in java.lang" class="external-link">Float</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#sum(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableFloatFunction1)" class="member-name-link">sum</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableFloatFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableFloatFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Computes the sum of the sequence of nullable
Float values that are obtained by invoking a transform
function on each element of the input sequence.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#sum(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableIntegerFunction1)" class="member-name-link">sum</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableIntegerFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableIntegerFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Computes the sum of the sequence of nullable int
values that are obtained by invoking a transform function on
each element of the input sequence.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#sum(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableLongFunction1)" class="member-name-link">sum</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableLongFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableLongFunction1</a>&lt;TSource&gt;&nbsp;selector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Computes the sum of the sequence of nullable long
values that are obtained by invoking a transform function on
each element of the input sequence.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#take(org.apache.calcite.linq4j.Enumerable,int)" class="member-name-link">take</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
int&nbsp;count)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns a specified number of contiguous elements
from the start of a sequence.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#take(org.apache.calcite.linq4j.Enumerable,long)" class="member-name-link">take</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
long&nbsp;count)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns a specified number of contiguous elements
from the start of a sequence.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#takeWhile(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate1)" class="member-name-link">takeWhile</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;TSource&gt;&nbsp;predicate)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns elements from a sequence as long as a
specified condition is true.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#takeWhile(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate2)" class="member-name-link">takeWhile</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Predicate2.html" title="interface in org.apache.calcite.linq4j.function">Predicate2</a>&lt;TSource,<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a>&gt;&nbsp;predicate)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns elements from a sequence as long as a
specified condition is true.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#takeWhileLong(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate2)" class="member-name-link">takeWhileLong</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Predicate2.html" title="interface in org.apache.calcite.linq4j.function">Predicate2</a>&lt;TSource,<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a>&gt;&nbsp;predicate)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns elements from a sequence as long as a
specified condition is true.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a>&lt;TKey&gt;&gt;<br><a href="OrderedEnumerable.html" title="interface in org.apache.calcite.linq4j">OrderedEnumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#thenBy(org.apache.calcite.linq4j.OrderedEnumerable,org.apache.calcite.linq4j.function.Function1)" class="member-name-link">thenBy</a><wbr>(<a href="OrderedEnumerable.html" title="interface in org.apache.calcite.linq4j">OrderedEnumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Performs a subsequent ordering of the elements in a sequence in
ascending order according to a key.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey&gt;<br><a href="OrderedEnumerable.html" title="interface in org.apache.calcite.linq4j">OrderedEnumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#thenBy(org.apache.calcite.linq4j.OrderedEnumerable,org.apache.calcite.linq4j.function.Function1,java.util.Comparator)" class="member-name-link">thenBy</a><wbr>(<a href="OrderedEnumerable.html" title="interface in org.apache.calcite.linq4j">OrderedEnumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Comparator.html" title="class or interface in java.util" class="external-link">Comparator</a>&lt;TKey&gt;&nbsp;comparator)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Performs a subsequent ordering of the elements in a sequence in
ascending order according to a key, using a specified comparator.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a>&lt;TKey&gt;&gt;<br><a href="OrderedEnumerable.html" title="interface in org.apache.calcite.linq4j">OrderedEnumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#thenByDescending(org.apache.calcite.linq4j.OrderedEnumerable,org.apache.calcite.linq4j.function.Function1)" class="member-name-link">thenByDescending</a><wbr>(<a href="OrderedEnumerable.html" title="interface in org.apache.calcite.linq4j">OrderedEnumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Performs a subsequent ordering of the elements in a sequence in
descending order according to a key.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey&gt;<br><a href="OrderedEnumerable.html" title="interface in org.apache.calcite.linq4j">OrderedEnumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#thenByDescending(org.apache.calcite.linq4j.OrderedEnumerable,org.apache.calcite.linq4j.function.Function1,java.util.Comparator)" class="member-name-link">thenByDescending</a><wbr>(<a href="OrderedEnumerable.html" title="interface in org.apache.calcite.linq4j">OrderedEnumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Comparator.html" title="class or interface in java.util" class="external-link">Comparator</a>&lt;TKey&gt;&nbsp;comparator)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Performs a subsequent ordering of the elements in a sequence in
descending order according to a key, using a specified comparator.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;TSource&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#toList(org.apache.calcite.linq4j.Enumerable)" class="member-name-link">toList</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Creates a <code>List&lt;TSource&gt;</code> from an <code>Enumerable&lt;TSource&gt;</code>.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey&gt;<br><a href="Lookup.html" title="interface in org.apache.calcite.linq4j">Lookup</a>&lt;TKey,<wbr>TSource&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#toLookup(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1)" class="member-name-link">toLookup</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Creates a Lookup&lt;TKey, TElement&gt; from an
Enumerable&lt;TSource&gt; according to a specified key selector
function.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey&gt;<br><a href="Lookup.html" title="interface in org.apache.calcite.linq4j">Lookup</a>&lt;TKey,<wbr>TSource&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#toLookup(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.EqualityComparer)" class="member-name-link">toLookup</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Creates a <code>Lookup&lt;TKey, TElement&gt;</code> from an
<code>Enumerable&lt;TSource&gt;</code> according to a specified key selector function
and key comparer.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey,<wbr>
TElement&gt;<br><a href="Lookup.html" title="interface in org.apache.calcite.linq4j">Lookup</a>&lt;TKey,<wbr>TElement&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#toLookup(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1)" class="member-name-link">toLookup</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TElement&gt;&nbsp;elementSelector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Creates a <code>Lookup&lt;TKey, TElement&gt;</code> from an
<code>Enumerable&lt;TSource&gt;</code> according to specified key selector and element
selector functions.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey,<wbr>
TElement&gt;<br><a href="Lookup.html" title="interface in org.apache.calcite.linq4j">Lookup</a>&lt;TKey,<wbr>TElement&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#toLookup(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.EqualityComparer)" class="member-name-link">toLookup</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TElement&gt;&nbsp;elementSelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Creates a <code>Lookup&lt;TKey, TElement&gt;</code> from an
<code>Enumerable&lt;TSource&gt;</code> according to a specified key selector function,
a comparer and an element selector function.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey&gt;<br><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a>&lt;TKey,<wbr>TSource&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#toMap(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1)" class="member-name-link">toMap</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Creates a Map&lt;TKey, TValue&gt; from an
Enumerable&lt;TSource&gt; according to a specified key selector
function.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey&gt;<br><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a>&lt;TKey,<wbr>TSource&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#toMap(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.EqualityComparer)" class="member-name-link">toMap</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Creates a <code>Map&lt;TKey, TValue&gt;</code> from an
<code>Enumerable&lt;TSource&gt;</code> according to a specified key selector function
and key comparer.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey,<wbr>
TElement&gt;<br><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a>&lt;TKey,<wbr>TElement&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#toMap(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1)" class="member-name-link">toMap</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TElement&gt;&nbsp;elementSelector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Creates a <code>Map&lt;TKey, TValue&gt;</code> from an
<code>Enumerable&lt;TSource&gt;</code> according to specified key selector and element
selector functions.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource,<wbr>
TKey,<wbr>
TElement&gt;<br><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a>&lt;TKey,<wbr>TElement&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#toMap(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.EqualityComparer)" class="member-name-link">toMap</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TElement&gt;&nbsp;elementSelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Creates a <code>Map&lt;TKey, TValue&gt;</code> from an
<code>Enumerable&lt;TSource&gt;</code> according to a specified key selector function,
a comparer, and an element selector function.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#union(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable)" class="member-name-link">union</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source0,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source1)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Produces the set union of two sequences by using
the default equality comparer.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#union(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.EqualityComparer)" class="member-name-link">union</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source0,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source1,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TSource&gt;&nbsp;comparer)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Produces the set union of two sequences by using a
specified EqualityComparer&lt;TSource&gt;.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#where(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate1)" class="member-name-link">where</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;TSource&gt;&nbsp;predicate)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Filters a sequence of values based on a
predicate.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;TSource&gt;&nbsp;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#where(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate2)" class="member-name-link">where</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Predicate2.html" title="interface in org.apache.calcite.linq4j.function">Predicate2</a>&lt;TSource,<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a>&gt;&nbsp;predicate)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Filters a sequence of values based on a
predicate.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static &lt;T0,<wbr>
T1,<wbr>
TResult&gt;<br><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#zip(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function2)" class="member-name-link">zip</a><wbr>(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;T0&gt;&nbsp;first,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;T1&gt;&nbsp;second,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;T0,<wbr>T1,<wbr>TResult&gt;&nbsp;resultSelector)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Applies a specified function to the corresponding
elements of two sequences, producing a sequence of the
results.</div>
</div>
</div>
</div>
</div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3>
<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div>
</section>
</li>
</ul>
</section>
<section class="details">
<ul class="details-list">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<li>
<section class="constructor-details" id="constructor-detail">
<h2>Constructor Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="&lt;init&gt;()">
<h3>EnumerableDefaults</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">EnumerableDefaults</span>()</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="aggregate(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function2)">
<h3>aggregate</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">@Nullable TSource</span>&nbsp;<span class="element-name">aggregate</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;@Nullable TSource,<wbr>TSource,<wbr>TSource&gt;&nbsp;func)</span></div>
<div class="block">Applies an accumulator function over a sequence.</div>
</section>
</li>
<li>
<section class="detail" id="aggregate(org.apache.calcite.linq4j.Enumerable,TAccumulate,org.apache.calcite.linq4j.function.Function2)">
<h3 id="aggregate(org.apache.calcite.linq4j.Enumerable,java.lang.Object,org.apache.calcite.linq4j.function.Function2)">aggregate</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TAccumulate&gt;</span>&nbsp;<span class="return-type">TAccumulate</span>&nbsp;<span class="element-name">aggregate</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
TAccumulate&nbsp;seed,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TAccumulate,<wbr>TSource,<wbr>TAccumulate&gt;&nbsp;func)</span></div>
<div class="block">Applies an accumulator function over a
sequence. The specified seed value is used as the initial
accumulator value.</div>
</section>
</li>
<li>
<section class="detail" id="aggregate(org.apache.calcite.linq4j.Enumerable,TAccumulate,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.function.Function1)">
<h3 id="aggregate(org.apache.calcite.linq4j.Enumerable,java.lang.Object,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.function.Function1)">aggregate</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TAccumulate,<wbr>
TResult&gt;</span>&nbsp;<span class="return-type">TResult</span>&nbsp;<span class="element-name">aggregate</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
TAccumulate&nbsp;seed,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TAccumulate,<wbr>TSource,<wbr>TAccumulate&gt;&nbsp;func,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TAccumulate,<wbr>TResult&gt;&nbsp;selector)</span></div>
<div class="block">Applies an accumulator function over a
sequence. The specified seed value is used as the initial
accumulator value, and the specified function is used to select
the result value.</div>
</section>
</li>
<li>
<section class="detail" id="all(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate1)">
<h3>all</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">all</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;TSource&gt;&nbsp;predicate)</span></div>
<div class="block">Determines whether all elements of a sequence
satisfy a condition.</div>
</section>
</li>
<li>
<section class="detail" id="any(org.apache.calcite.linq4j.Enumerable)">
<h3>any</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">any</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&nbsp;enumerable)</span></div>
<div class="block">Determines whether a sequence contains any
elements.</div>
</section>
</li>
<li>
<section class="detail" id="any(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate1)">
<h3>any</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">any</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;TSource&gt;&nbsp;predicate)</span></div>
<div class="block">Determines whether any element of a sequence
satisfies a condition.</div>
</section>
</li>
<li>
<section class="detail" id="asEnumerable(org.apache.calcite.linq4j.Enumerable)">
<h3>asEnumerable</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">asEnumerable</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable)</span></div>
<div class="block">Returns the input typed as <code>Enumerable&lt;TSource&gt;</code>.
<p>This method has no effect other than to change the compile-time type of
source from a type that implements <code>Enumerable&lt;TSource&gt;</code> to
<code>Enumerable&lt;TSource&gt;</code> itself.
<p><code>AsEnumerable&lt;TSource&gt;(Enumerable&lt;TSource&gt;)</code> can be used to choose
between query implementations when a sequence implements
<code>Enumerable&lt;TSource&gt;</code> but also has a different set of public query
methods available. For example, given a generic class <code>Table</code> that
implements <code>Enumerable&lt;TSource&gt;</code> and has its own methods such as
<code>where</code>, <code>select</code>, and <code>selectMany</code>, a call to
<code>where</code> would invoke the public <code>where</code> method of
<code>Table</code>. A <code>Table</code> type that represents a database table could
have a <code>where</code> method that takes the predicate argument as an
expression tree and converts the tree to SQL for remote execution. If
remote execution is not desired, for example because the predicate invokes
a local method, the <code>asEnumerable&lt;TSource&gt;</code> method can be used to
hide the custom methods and instead make the standard query operators
available.</div>
</section>
</li>
<li>
<section class="detail" id="asQueryable(org.apache.calcite.linq4j.Enumerable)">
<h3>asQueryable</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="Queryable.html" title="interface in org.apache.calcite.linq4j">Queryable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">asQueryable</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable)</span></div>
<div class="block">Converts an Enumerable to an IQueryable.
<p>Analogous to the LINQ's Enumerable.AsQueryable extension method.</p></div>
<dl class="notes">
<dt>Type Parameters:</dt>
<dd><code>TSource</code> - Element type</dd>
<dt>Parameters:</dt>
<dd><code>enumerable</code> - Enumerable</dd>
<dt>Returns:</dt>
<dd>A queryable</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="average(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.BigDecimalFunction1)">
<h3>average</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a></span>&nbsp;<span class="element-name">average</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/BigDecimalFunction1.html" title="interface in org.apache.calcite.linq4j.function">BigDecimalFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Computes the average of a sequence of Decimal
values that are obtained by invoking a transform function on
each element of the input sequence.</div>
</section>
</li>
<li>
<section class="detail" id="average(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableBigDecimalFunction1)">
<h3>average</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a></span>&nbsp;<span class="element-name">average</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableBigDecimalFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableBigDecimalFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Computes the average of a sequence of nullable
Decimal values that are obtained by invoking a transform
function on each element of the input sequence.</div>
</section>
</li>
<li>
<section class="detail" id="average(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.DoubleFunction1)">
<h3>average</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">average</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/DoubleFunction1.html" title="interface in org.apache.calcite.linq4j.function">DoubleFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Computes the average of a sequence of Double
values that are obtained by invoking a transform function on
each element of the input sequence.</div>
</section>
</li>
<li>
<section class="detail" id="average(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableDoubleFunction1)">
<h3>average</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Double.html" title="class or interface in java.lang" class="external-link">Double</a></span>&nbsp;<span class="element-name">average</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableDoubleFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableDoubleFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Computes the average of a sequence of nullable
Double values that are obtained by invoking a transform
function on each element of the input sequence.</div>
</section>
</li>
<li>
<section class="detail" id="average(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.IntegerFunction1)">
<h3>average</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">average</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/IntegerFunction1.html" title="interface in org.apache.calcite.linq4j.function">IntegerFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Computes the average of a sequence of int values
that are obtained by invoking a transform function on each
element of the input sequence.</div>
</section>
</li>
<li>
<section class="detail" id="average(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableIntegerFunction1)">
<h3>average</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a></span>&nbsp;<span class="element-name">average</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableIntegerFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableIntegerFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Computes the average of a sequence of nullable
int values that are obtained by invoking a transform function
on each element of the input sequence.</div>
</section>
</li>
<li>
<section class="detail" id="average(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.LongFunction1)">
<h3>average</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">long</span>&nbsp;<span class="element-name">average</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/LongFunction1.html" title="interface in org.apache.calcite.linq4j.function">LongFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Computes the average of a sequence of long values
that are obtained by invoking a transform function on each
element of the input sequence.</div>
</section>
</li>
<li>
<section class="detail" id="average(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableLongFunction1)">
<h3>average</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a></span>&nbsp;<span class="element-name">average</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableLongFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableLongFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Computes the average of a sequence of nullable
long values that are obtained by invoking a transform function
on each element of the input sequence.</div>
</section>
</li>
<li>
<section class="detail" id="average(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.FloatFunction1)">
<h3>average</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">float</span>&nbsp;<span class="element-name">average</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/FloatFunction1.html" title="interface in org.apache.calcite.linq4j.function">FloatFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Computes the average of a sequence of Float
values that are obtained by invoking a transform function on
each element of the input sequence.</div>
</section>
</li>
<li>
<section class="detail" id="average(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableFloatFunction1)">
<h3>average</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Float.html" title="class or interface in java.lang" class="external-link">Float</a></span>&nbsp;<span class="element-name">average</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableFloatFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableFloatFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Computes the average of a sequence of nullable
Float values that are obtained by invoking a transform
function on each element of the input sequence.</div>
</section>
</li>
<li>
<section class="detail" id="cast(org.apache.calcite.linq4j.Enumerable,java.lang.Class)">
<h3>cast</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
T2&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;T2&gt;</span>&nbsp;<span class="element-name">cast</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a>&lt;T2&gt;&nbsp;clazz)</span></div>
<div class="block"><p>Analogous to LINQ's Enumerable.Cast extension method.</p></div>
<dl class="notes">
<dt>Type Parameters:</dt>
<dd><code>T2</code> - Target type</dd>
<dt>Parameters:</dt>
<dd><code>clazz</code> - Target type</dd>
<dt>Returns:</dt>
<dd>Collection of T2</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="concat(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable)">
<h3>concat</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">concat</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable0,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable1)</span></div>
<div class="block">Concatenates two sequences.</div>
</section>
</li>
<li>
<section class="detail" id="contains(org.apache.calcite.linq4j.Enumerable,TSource)">
<h3 id="contains(org.apache.calcite.linq4j.Enumerable,java.lang.Object)">contains</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">contains</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
TSource&nbsp;element)</span></div>
<div class="block">Determines whether a sequence contains a specified
element by using the default equality comparer.</div>
</section>
</li>
<li>
<section class="detail" id="contains(org.apache.calcite.linq4j.Enumerable,TSource,org.apache.calcite.linq4j.function.EqualityComparer)">
<h3 id="contains(org.apache.calcite.linq4j.Enumerable,java.lang.Object,org.apache.calcite.linq4j.function.EqualityComparer)">contains</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">contains</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
TSource&nbsp;element,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TSource&gt;&nbsp;comparer)</span></div>
<div class="block">Determines whether a sequence contains a specified
element by using a specified <code>EqualityComparer&lt;TSource&gt;</code>.</div>
</section>
</li>
<li>
<section class="detail" id="count(org.apache.calcite.linq4j.Enumerable)">
<h3>count</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">count</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable)</span></div>
<div class="block">Returns the number of elements in a
sequence.</div>
</section>
</li>
<li>
<section class="detail" id="count(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate1)">
<h3>count</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">count</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;TSource&gt;&nbsp;predicate)</span></div>
<div class="block">Returns a number that represents how many elements
in the specified sequence satisfy a condition.</div>
</section>
</li>
<li>
<section class="detail" id="defaultIfEmpty(org.apache.calcite.linq4j.Enumerable)">
<h3>defaultIfEmpty</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;@Nullable TSource&gt;</span>&nbsp;<span class="element-name">defaultIfEmpty</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable)</span></div>
<div class="block">Returns the elements of the specified sequence or
the type parameter's default value in a singleton collection if
the sequence is empty.</div>
</section>
</li>
<li>
<section class="detail" id="defaultIfEmpty(org.apache.calcite.linq4j.Enumerable,TSource)">
<h3 id="defaultIfEmpty(org.apache.calcite.linq4j.Enumerable,java.lang.Object)">defaultIfEmpty</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;@PolyNull TSource&gt;</span>&nbsp;<span class="element-name">defaultIfEmpty</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
@PolyNull TSource&nbsp;value)</span></div>
<div class="block">Returns the elements of the specified sequence or
the specified value in a singleton collection if the sequence
is empty.
<p>If <code>value</code> is not null, the result is never null.</div>
</section>
</li>
<li>
<section class="detail" id="distinct(org.apache.calcite.linq4j.Enumerable)">
<h3>distinct</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">distinct</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable)</span></div>
<div class="block">Returns distinct elements from a sequence by using
the default <a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function"><code>EqualityComparer</code></a> to compare values.</div>
</section>
</li>
<li>
<section class="detail" id="distinct(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.EqualityComparer)">
<h3>distinct</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">distinct</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TSource&gt;&nbsp;comparer)</span></div>
<div class="block">Returns distinct elements from a sequence by using
a specified <a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function"><code>EqualityComparer</code></a> to compare values.</div>
</section>
</li>
<li>
<section class="detail" id="elementAt(org.apache.calcite.linq4j.Enumerable,int)">
<h3>elementAt</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">TSource</span>&nbsp;<span class="element-name">elementAt</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
int&nbsp;index)</span></div>
<div class="block">Returns the element at a specified index in a
sequence.</div>
</section>
</li>
<li>
<section class="detail" id="elementAtOrDefault(org.apache.calcite.linq4j.Enumerable,int)">
<h3>elementAtOrDefault</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">@Nullable TSource</span>&nbsp;<span class="element-name">elementAtOrDefault</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
int&nbsp;index)</span></div>
<div class="block">Returns the element at a specified index in a
sequence or a default value if the index is out of
range.</div>
</section>
</li>
<li>
<section class="detail" id="except(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable)">
<h3>except</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">except</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source0,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source1)</span></div>
<div class="block">Produces the set difference of two sequences by
using the default equality comparer to compare values,
eliminate duplicates. (Defined by Enumerable.)</div>
</section>
</li>
<li>
<section class="detail" id="except(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,boolean)">
<h3>except</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">except</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source0,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source1,
boolean&nbsp;all)</span></div>
<div class="block">Produces the set difference of two sequences by
using the default equality comparer to compare values,
using <code>all</code> to indicate whether to eliminate duplicates.
(Defined by Enumerable.)</div>
</section>
</li>
<li>
<section class="detail" id="except(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.EqualityComparer)">
<h3>except</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">except</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source0,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source1,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TSource&gt;&nbsp;comparer)</span></div>
<div class="block">Produces the set difference of two sequences by
using the specified <code>EqualityComparer&lt;TSource&gt;</code> to compare
values, eliminate duplicates.</div>
</section>
</li>
<li>
<section class="detail" id="except(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.EqualityComparer,boolean)">
<h3>except</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">except</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source0,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source1,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TSource&gt;&nbsp;comparer,
boolean&nbsp;all)</span></div>
<div class="block">Produces the set difference of two sequences by
using the specified <code>EqualityComparer&lt;TSource&gt;</code> to compare
values, using <code>all</code> to indicate whether to eliminate duplicates.</div>
</section>
</li>
<li>
<section class="detail" id="first(org.apache.calcite.linq4j.Enumerable)">
<h3>first</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">TSource</span>&nbsp;<span class="element-name">first</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable)</span></div>
<div class="block">Returns the first element of a sequence. (Defined
by Enumerable.)</div>
</section>
</li>
<li>
<section class="detail" id="first(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate1)">
<h3>first</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">TSource</span>&nbsp;<span class="element-name">first</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;TSource&gt;&nbsp;predicate)</span></div>
<div class="block">Returns the first element in a sequence that
satisfies a specified condition.</div>
</section>
</li>
<li>
<section class="detail" id="firstOrDefault(org.apache.calcite.linq4j.Enumerable)">
<h3>firstOrDefault</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">@Nullable TSource</span>&nbsp;<span class="element-name">firstOrDefault</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable)</span></div>
<div class="block">Returns the first element of a sequence, or a
default value if the sequence contains no elements.</div>
</section>
</li>
<li>
<section class="detail" id="firstOrDefault(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate1)">
<h3>firstOrDefault</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">@Nullable TSource</span>&nbsp;<span class="element-name">firstOrDefault</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;TSource&gt;&nbsp;predicate)</span></div>
<div class="block">Returns the first element of the sequence that
satisfies a condition or a default value if no such element is
found.</div>
</section>
</li>
<li>
<section class="detail" id="groupBy(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1)">
<h3>groupBy</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;<a href="Grouping.html" title="interface in org.apache.calcite.linq4j">Grouping</a>&lt;TKey,<wbr>TSource&gt;&gt;</span>&nbsp;<span class="element-name">groupBy</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector)</span></div>
<div class="block">Groups the elements of a sequence according to a
specified key selector function.</div>
</section>
</li>
<li>
<section class="detail" id="groupBy(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.EqualityComparer)">
<h3>groupBy</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;<a href="Grouping.html" title="interface in org.apache.calcite.linq4j">Grouping</a>&lt;TKey,<wbr>TSource&gt;&gt;</span>&nbsp;<span class="element-name">groupBy</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer)</span></div>
<div class="block">Groups the elements of a sequence according to a
specified key selector function and compares the keys by using
a specified comparer.</div>
</section>
</li>
<li>
<section class="detail" id="groupBy(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1)">
<h3>groupBy</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey,<wbr>
TElement&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;<a href="Grouping.html" title="interface in org.apache.calcite.linq4j">Grouping</a>&lt;TKey,<wbr>TElement&gt;&gt;</span>&nbsp;<span class="element-name">groupBy</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TElement&gt;&nbsp;elementSelector)</span></div>
<div class="block">Groups the elements of a sequence according to a
specified key selector function and projects the elements for
each group by using a specified function.</div>
</section>
</li>
<li>
<section class="detail" id="groupBy(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.EqualityComparer)">
<h3>groupBy</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey,<wbr>
TElement&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;<a href="Grouping.html" title="interface in org.apache.calcite.linq4j">Grouping</a>&lt;TKey,<wbr>TElement&gt;&gt;</span>&nbsp;<span class="element-name">groupBy</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TElement&gt;&nbsp;elementSelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer)</span></div>
<div class="block">Groups the elements of a sequence according to a
key selector function. The keys are compared by using a
comparer and each group's elements are projected by using a
specified function.</div>
</section>
</li>
<li>
<section class="detail" id="groupBy(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2)">
<h3>groupBy</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey,<wbr>
TResult&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</span>&nbsp;<span class="element-name">groupBy</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TKey,<wbr><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;,<wbr>TResult&gt;&nbsp;resultSelector)</span></div>
<div class="block">Groups the elements of a sequence according to a
specified key selector function and creates a result value from
each group and its key.</div>
</section>
</li>
<li>
<section class="detail" id="groupBy(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.function.EqualityComparer)">
<h3>groupBy</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey,<wbr>
TResult&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</span>&nbsp;<span class="element-name">groupBy</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TKey,<wbr><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;,<wbr>TResult&gt;&nbsp;resultSelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer)</span></div>
<div class="block">Groups the elements of a sequence according to a
specified key selector function and creates a result value from
each group and its key. The keys are compared by using a
specified comparer.</div>
</section>
</li>
<li>
<section class="detail" id="groupBy(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2)">
<h3>groupBy</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey,<wbr>
TElement,<wbr>
TResult&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</span>&nbsp;<span class="element-name">groupBy</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TElement&gt;&nbsp;elementSelector,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TKey,<wbr><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TElement&gt;,<wbr>TResult&gt;&nbsp;resultSelector)</span></div>
<div class="block">Groups the elements of a sequence according to a
specified key selector function and creates a result value from
each group and its key. The elements of each group are
projected by using a specified function.</div>
</section>
</li>
<li>
<section class="detail" id="groupBy(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.function.EqualityComparer)">
<h3>groupBy</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey,<wbr>
TElement,<wbr>
TResult&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</span>&nbsp;<span class="element-name">groupBy</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TElement&gt;&nbsp;elementSelector,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TKey,<wbr><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TElement&gt;,<wbr>TResult&gt;&nbsp;resultSelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer)</span></div>
<div class="block">Groups the elements of a sequence according to a
specified key selector function and creates a result value from
each group and its key. Key values are compared by using a
specified comparer, and the elements of each group are
projected by using a specified function.</div>
</section>
</li>
<li>
<section class="detail" id="groupBy(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function0,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.function.Function2)">
<h3>groupBy</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey,<wbr>
TAccumulate,<wbr>
TResult&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</span>&nbsp;<span class="element-name">groupBy</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/Function0.html" title="interface in org.apache.calcite.linq4j.function">Function0</a>&lt;TAccumulate&gt;&nbsp;accumulatorInitializer,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TAccumulate,<wbr>TSource,<wbr>TAccumulate&gt;&nbsp;accumulatorAdder,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TKey,<wbr>TAccumulate,<wbr>TResult&gt;&nbsp;resultSelector)</span></div>
<div class="block">Groups the elements of a sequence according to a
specified key selector function, initializing an accumulator for each
group and adding to it each time an element with the same key is seen.
Creates a result value from each accumulator and its key using a
specified function.</div>
</section>
</li>
<li>
<section class="detail" id="groupByMultiple(org.apache.calcite.linq4j.Enumerable,java.util.List,org.apache.calcite.linq4j.function.Function0,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.function.Function2)">
<h3>groupByMultiple</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey,<wbr>
TAccumulate,<wbr>
TResult&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</span>&nbsp;<span class="element-name">groupByMultiple</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&gt;&nbsp;keySelectors,
<a href="function/Function0.html" title="interface in org.apache.calcite.linq4j.function">Function0</a>&lt;TAccumulate&gt;&nbsp;accumulatorInitializer,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TAccumulate,<wbr>TSource,<wbr>TAccumulate&gt;&nbsp;accumulatorAdder,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TKey,<wbr>TAccumulate,<wbr>TResult&gt;&nbsp;resultSelector)</span></div>
<div class="block">Groups the elements of a sequence according to a list of
specified key selector functions, initializing an accumulator for each
group and adding to it each time an element with the same key is seen.
Creates a result value from each accumulator and its key using a
specified function.
<p>This method exists to support SQL <code>GROUPING SETS</code>.
It does not correspond to any method in <a href="Enumerable.html" title="interface in org.apache.calcite.linq4j"><code>Enumerable</code></a>.</div>
</section>
</li>
<li>
<section class="detail" id="groupBy(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function0,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.function.EqualityComparer)">
<h3>groupBy</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey,<wbr>
TAccumulate,<wbr>
TResult&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</span>&nbsp;<span class="element-name">groupBy</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/Function0.html" title="interface in org.apache.calcite.linq4j.function">Function0</a>&lt;TAccumulate&gt;&nbsp;accumulatorInitializer,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TAccumulate,<wbr>TSource,<wbr>TAccumulate&gt;&nbsp;accumulatorAdder,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TKey,<wbr>TAccumulate,<wbr>TResult&gt;&nbsp;resultSelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer)</span></div>
<div class="block">Groups the elements of a sequence according to a
specified key selector function, initializing an accumulator for each
group and adding to it each time an element with the same key is seen.
Creates a result value from each accumulator and its key using a
specified function. Key values are compared by using a
specified comparer.</div>
</section>
</li>
<li>
<section class="detail" id="sortedGroupBy(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function0,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.function.Function2,java.util.Comparator)">
<h3>sortedGroupBy</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey,<wbr>
TAccumulate,<wbr>
TResult&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</span>&nbsp;<span class="element-name">sortedGroupBy</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/Function0.html" title="interface in org.apache.calcite.linq4j.function">Function0</a>&lt;TAccumulate&gt;&nbsp;accumulatorInitializer,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TAccumulate,<wbr>TSource,<wbr>TAccumulate&gt;&nbsp;accumulatorAdder,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TKey,<wbr>TAccumulate,<wbr>TResult&gt;&nbsp;resultSelector,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Comparator.html" title="class or interface in java.util" class="external-link">Comparator</a>&lt;TKey&gt;&nbsp;comparator)</span></div>
<div class="block">Group keys are sorted already. Key values are compared by using a
specified comparator. Groups the elements of a sequence according to a
specified key selector function and initializing one accumulator at a time.
Go over elements sequentially, adding to accumulator each time an element
with the same key is seen. When key changes, creates a result value from the
accumulator and then re-initializes the accumulator. In the case of NULL values
in group keys, the comparator must be able to support NULL values by giving a
consistent sort ordering.</div>
</section>
</li>
<li>
<section class="detail" id="groupJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2)">
<h3>groupJoin</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TInner,<wbr>
TKey,<wbr>
TResult&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</span>&nbsp;<span class="element-name">groupJoin</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;,<wbr>TResult&gt;&nbsp;resultSelector)</span></div>
<div class="block">Correlates the elements of two sequences based on
equality of keys and groups the results. The default equality
comparer is used to compare keys.</div>
</section>
</li>
<li>
<section class="detail" id="groupJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.function.EqualityComparer)">
<h3>groupJoin</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TInner,<wbr>
TKey,<wbr>
TResult&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</span>&nbsp;<span class="element-name">groupJoin</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;,<wbr>TResult&gt;&nbsp;resultSelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer)</span></div>
<div class="block">Correlates the elements of two sequences based on
key equality and groups the results. A specified
<code>EqualityComparer&lt;TSource&gt;</code> is used to compare keys.</div>
</section>
</li>
<li>
<section class="detail" id="intersect(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable)">
<h3>intersect</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">intersect</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source0,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source1)</span></div>
<div class="block">Produces the set intersection of two sequences by
using the default equality comparer to compare values,
eliminate duplicates.(Defined by Enumerable.)</div>
</section>
</li>
<li>
<section class="detail" id="intersect(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,boolean)">
<h3>intersect</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">intersect</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source0,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source1,
boolean&nbsp;all)</span></div>
<div class="block">Produces the set intersection of two sequences by
using the default equality comparer to compare values,
using <code>all</code> to indicate whether to eliminate duplicates.
(Defined by Enumerable.)</div>
</section>
</li>
<li>
<section class="detail" id="intersect(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.EqualityComparer)">
<h3>intersect</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">intersect</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source0,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source1,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TSource&gt;&nbsp;comparer)</span></div>
<div class="block">Produces the set intersection of two sequences by
using the specified <code>EqualityComparer&lt;TSource&gt;</code> to compare
values, eliminate duplicates.</div>
</section>
</li>
<li>
<section class="detail" id="intersect(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.EqualityComparer,boolean)">
<h3>intersect</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">intersect</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source0,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source1,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TSource&gt;&nbsp;comparer,
boolean&nbsp;all)</span></div>
<div class="block">Produces the set intersection of two sequences by
using the specified <code>EqualityComparer&lt;TSource&gt;</code> to compare
values, using <code>all</code> to indicate whether to eliminate duplicates.</div>
</section>
</li>
<li>
<section class="detail" id="hashJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2)">
<h3>hashJoin</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TInner,<wbr>
TKey,<wbr>
TResult&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</span>&nbsp;<span class="element-name">hashJoin</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr>TInner,<wbr>TResult&gt;&nbsp;resultSelector)</span></div>
<div class="block">Correlates the elements of two sequences based on
matching keys. The default equality comparer is used to compare
keys.</div>
</section>
</li>
<li>
<section class="detail" id="hashJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.function.EqualityComparer)">
<h3>hashJoin</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TInner,<wbr>
TKey,<wbr>
TResult&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</span>&nbsp;<span class="element-name">hashJoin</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr>TInner,<wbr>TResult&gt;&nbsp;resultSelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer)</span></div>
<div class="block">Correlates the elements of two sequences based on
matching keys. A specified <code>EqualityComparer&lt;TSource&gt;</code> is used to
compare keys.</div>
</section>
</li>
<li>
<section class="detail" id="hashJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.function.EqualityComparer,boolean,boolean)">
<h3>hashJoin</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TInner,<wbr>
TKey,<wbr>
TResult&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</span>&nbsp;<span class="element-name">hashJoin</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr>TInner,<wbr>TResult&gt;&nbsp;resultSelector,
@Nullable <a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer,
boolean&nbsp;generateNullsOnLeft,
boolean&nbsp;generateNullsOnRight)</span></div>
<div class="block">Correlates the elements of two sequences based on
matching keys. A specified <code>EqualityComparer&lt;TSource&gt;</code> is used to
compare keys.</div>
</section>
</li>
<li>
<section class="detail" id="hashJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.function.EqualityComparer,boolean,boolean,org.apache.calcite.linq4j.function.Predicate2)">
<h3>hashJoin</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TInner,<wbr>
TKey,<wbr>
TResult&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</span>&nbsp;<span class="element-name">hashJoin</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr>TInner,<wbr>TResult&gt;&nbsp;resultSelector,
@Nullable <a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer,
boolean&nbsp;generateNullsOnLeft,
boolean&nbsp;generateNullsOnRight,
@Nullable <a href="function/Predicate2.html" title="interface in org.apache.calcite.linq4j.function">Predicate2</a>&lt;TSource,<wbr>TInner&gt;&nbsp;predicate)</span></div>
<div class="block">Correlates the elements of two sequences based on
matching keys. A specified <code>EqualityComparer&lt;TSource&gt;</code> is used to
compare keys.A predicate is used to filter the join result per-row.</div>
</section>
</li>
<li>
<section class="detail" id="correlateJoin(org.apache.calcite.linq4j.JoinType,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2)">
<h3>correlateJoin</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TInner,<wbr>
TResult&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</span>&nbsp;<span class="element-name">correlateJoin</span><wbr><span class="parameters">(<a href="JoinType.html" title="enum in org.apache.calcite.linq4j">JoinType</a>&nbsp;joinType,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&gt;&nbsp;inner,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr>? super @Nullable TInner,<wbr>TResult&gt;&nbsp;resultSelector)</span></div>
<div class="block">For each row of the <code>outer</code> enumerable returns the correlated rows
from the <code>inner</code> enumerable.</div>
</section>
</li>
<li>
<section class="detail" id="last(org.apache.calcite.linq4j.Enumerable)">
<h3>last</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">TSource</span>&nbsp;<span class="element-name">last</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable)</span></div>
<div class="block">Returns the last element of a sequence. (Defined
by Enumerable.)</div>
</section>
</li>
<li>
<section class="detail" id="correlateBatchJoin(org.apache.calcite.linq4j.JoinType,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.function.Predicate2,int)">
<h3>correlateBatchJoin</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TInner,<wbr>
TResult&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</span>&nbsp;<span class="element-name">correlateBatchJoin</span><wbr><span class="parameters">(<a href="JoinType.html" title="enum in org.apache.calcite.linq4j">JoinType</a>&nbsp;joinType,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;TSource&gt;,<wbr><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&gt;&nbsp;inner,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr>TInner,<wbr>TResult&gt;&nbsp;resultSelector,
<a href="function/Predicate2.html" title="interface in org.apache.calcite.linq4j.function">Predicate2</a>&lt;TSource,<wbr>TInner&gt;&nbsp;predicate,
int&nbsp;batchSize)</span></div>
<div class="block"><p>Fetches blocks of size <code>batchSize</code> from <code>outer</code>,
storing each block into a list (<code>outerValues</code>).
For each block, it uses the <code>inner</code> function to
obtain an enumerable with the correlated rows from the right (inner) input.</p>
<p>Each result present in the <code>innerEnumerator</code> has matched at least one
value from the block <code>outerValues</code>.
At this point a mini nested loop is performed between the outer values
and inner values using the <code>predicate</code> to find out the actual matching join results.</p>
<p>In order to optimize this mini nested loop, during the first iteration
(the first value from <code>outerValues</code>) we use the <code>innerEnumerator</code>
to compare it to inner rows, and at the same time we fill a list (<code>innerValues</code>)
with said <code>innerEnumerator</code> rows. In the subsequent iterations
(2nd, 3rd, etc. value from <code>outerValues</code>) the list <code>innerValues</code> is used,
since it contains all the <code>innerEnumerator</code> values,
which were stored in the first iteration.</p></div>
</section>
</li>
<li>
<section class="detail" id="semiJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1)">
<h3>semiJoin</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TInner,<wbr>
TKey&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">semiJoin</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector)</span></div>
<div class="block">Returns elements of <code>outer</code> for which there is a member of
<code>inner</code> with a matching key.</div>
</section>
</li>
<li>
<section class="detail" id="semiJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.EqualityComparer)">
<h3>semiJoin</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TInner,<wbr>
TKey&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">semiJoin</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer)</span></div>
</section>
</li>
<li>
<section class="detail" id="semiJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.EqualityComparer,org.apache.calcite.linq4j.function.Predicate2)">
<h3>semiJoin</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TInner,<wbr>
TKey&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">semiJoin</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer,
<a href="function/Predicate2.html" title="interface in org.apache.calcite.linq4j.function">Predicate2</a>&lt;TSource,<wbr>TInner&gt;&nbsp;nonEquiPredicate)</span></div>
</section>
</li>
<li>
<section class="detail" id="antiJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1)">
<h3>antiJoin</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TInner,<wbr>
TKey&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">antiJoin</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector)</span></div>
<div class="block">Returns elements of <code>outer</code> for which there is NOT a member of
<code>inner</code> with a matching key.</div>
</section>
</li>
<li>
<section class="detail" id="antiJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.EqualityComparer)">
<h3>antiJoin</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TInner,<wbr>
TKey&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">antiJoin</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer)</span></div>
</section>
</li>
<li>
<section class="detail" id="antiJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.EqualityComparer,org.apache.calcite.linq4j.function.Predicate2)">
<h3>antiJoin</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TInner,<wbr>
TKey&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">antiJoin</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer,
<a href="function/Predicate2.html" title="interface in org.apache.calcite.linq4j.function">Predicate2</a>&lt;TSource,<wbr>TInner&gt;&nbsp;nonEquiPredicate)</span></div>
</section>
</li>
<li>
<section class="detail" id="semiJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.EqualityComparer,boolean,org.apache.calcite.linq4j.function.Predicate2)">
<h3>semiJoin</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TInner,<wbr>
TKey&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">semiJoin</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer,
boolean&nbsp;anti,
<a href="function/Predicate2.html" title="interface in org.apache.calcite.linq4j.function">Predicate2</a>&lt;TSource,<wbr>TInner&gt;&nbsp;nonEquiPredicate)</span></div>
<div class="block">Returns elements of <code>outer</code> for which there is (semi-join) / is not (anti-semi-join)
a member of <code>inner</code> with a matching key. A specified
<code>EqualityComparer&lt;TSource&gt;</code> is used to compare keys.
A predicate is used to filter the join result per-row.</div>
</section>
</li>
<li>
<section class="detail" id="nestedLoopJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate2,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.JoinType)">
<h3>nestedLoopJoin</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TInner,<wbr>
TResult&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</span>&nbsp;<span class="element-name">nestedLoopJoin</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Predicate2.html" title="interface in org.apache.calcite.linq4j.function">Predicate2</a>&lt;TSource,<wbr>TInner&gt;&nbsp;predicate,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;? super @Nullable TSource,<wbr>? super @Nullable TInner,<wbr>TResult&gt;&nbsp;resultSelector,
<a href="JoinType.html" title="enum in org.apache.calcite.linq4j">JoinType</a>&nbsp;joinType)</span></div>
<div class="block">Correlates the elements of two sequences based on a predicate.</div>
</section>
</li>
<li>
<section class="detail" id="mergeJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2,boolean,boolean)">
<h3>mergeJoin</h3>
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
</span><span class="modifiers">public static</span>&nbsp;<span class="type-parameters-long">&lt;TSource,<wbr>
TInner,<wbr>
TKey extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a>&lt;TKey&gt;,<wbr>
TResult&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</span>&nbsp;<span class="element-name">mergeJoin</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr>@Nullable TInner,<wbr>TResult&gt;&nbsp;resultSelector,
boolean&nbsp;generateNullsOnLeft,
boolean&nbsp;generateNullsOnRight)</span></div>
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">Use <a href="#mergeJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.JoinType,java.util.Comparator)"><code>mergeJoin(Enumerable, Enumerable, Function1, Function1, Function2, JoinType, Comparator)</code></a></div>
</div>
<div class="block">Joins two inputs that are sorted on the key.
Inputs must sorted in ascending order, nulls last.</div>
</section>
</li>
<li>
<section class="detail" id="isMergeJoinSupported(org.apache.calcite.linq4j.JoinType)">
<h3>isMergeJoinSupported</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">isMergeJoinSupported</span><wbr><span class="parameters">(<a href="JoinType.html" title="enum in org.apache.calcite.linq4j">JoinType</a>&nbsp;joinType)</span></div>
<div class="block">Returns if certain join type is supported by Enumerable Merge Join implementation.
<p>NOTE: This method is subject to change or be removed without notice.</div>
</section>
</li>
<li>
<section class="detail" id="mergeJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.JoinType,java.util.Comparator)">
<h3>mergeJoin</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters-long">&lt;TSource,<wbr>
TInner,<wbr>
TKey extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a>&lt;TKey&gt;,<wbr>
TResult&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</span>&nbsp;<span class="element-name">mergeJoin</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr>@Nullable TInner,<wbr>TResult&gt;&nbsp;resultSelector,
<a href="JoinType.html" title="enum in org.apache.calcite.linq4j">JoinType</a>&nbsp;joinType,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Comparator.html" title="class or interface in java.util" class="external-link">Comparator</a>&lt;TKey&gt;&nbsp;comparator)</span></div>
<div class="block">Joins two inputs that are sorted on the key.
Inputs must sorted in ascending order, nulls last.</div>
</section>
</li>
<li>
<section class="detail" id="mergeJoin(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Predicate2,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.JoinType,java.util.Comparator)">
<h3>mergeJoin</h3>
<div class="member-signature"><span class="annotations">@API(since="1.23",
status=EXPERIMENTAL)
</span><span class="modifiers">public static</span>&nbsp;<span class="type-parameters-long">&lt;TSource,<wbr>
TInner,<wbr>
TKey extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a>&lt;TKey&gt;,<wbr>
TResult&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</span>&nbsp;<span class="element-name">mergeJoin</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;outer,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TInner&gt;&nbsp;inner,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;outerKeySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TInner,<wbr>TKey&gt;&nbsp;innerKeySelector,
@Nullable <a href="function/Predicate2.html" title="interface in org.apache.calcite.linq4j.function">Predicate2</a>&lt;TSource,<wbr>TInner&gt;&nbsp;extraPredicate,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr>@Nullable TInner,<wbr>TResult&gt;&nbsp;resultSelector,
<a href="JoinType.html" title="enum in org.apache.calcite.linq4j">JoinType</a>&nbsp;joinType,
@Nullable <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Comparator.html" title="class or interface in java.util" class="external-link">Comparator</a>&lt;TKey&gt;&nbsp;comparator)</span></div>
<div class="block">Joins two inputs that are sorted on the key, with an extra predicate for non equi-join
conditions.
Inputs must sorted in ascending order, nulls last.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>extraPredicate</code> - predicate for non equi-join conditions. In case of equi-join,
it will be null. In case of non-equi join, the non-equi conditions
will be evaluated using this extra predicate within the join process,
and not applying a filter on top of the join results, because the latter
strategy can only work on inner joins, and we aim to support other join
types in the future (e.g. semi or anti joins).</dd>
<dd><code>comparator</code> - key comparator, possibly null (in which case <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Comparable.html#compareTo(T)" title="class or interface in java.lang" class="external-link"><code>Comparable.compareTo(T)</code></a>
will be used).
NOTE: The current API is experimental and subject to change without notice.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="last(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate1)">
<h3>last</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">TSource</span>&nbsp;<span class="element-name">last</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;TSource&gt;&nbsp;predicate)</span></div>
<div class="block">Returns the last element of a sequence that
satisfies a specified condition.</div>
</section>
</li>
<li>
<section class="detail" id="lastOrDefault(org.apache.calcite.linq4j.Enumerable)">
<h3>lastOrDefault</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">@Nullable TSource</span>&nbsp;<span class="element-name">lastOrDefault</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable)</span></div>
<div class="block">Returns the last element of a sequence, or a
default value if the sequence contains no elements.</div>
</section>
</li>
<li>
<section class="detail" id="lastOrDefault(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate1)">
<h3>lastOrDefault</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">@Nullable TSource</span>&nbsp;<span class="element-name">lastOrDefault</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;TSource&gt;&nbsp;predicate)</span></div>
<div class="block">Returns the last element of a sequence that
satisfies a condition or a default value if no such element is
found.</div>
</section>
</li>
<li>
<section class="detail" id="longCount(org.apache.calcite.linq4j.Enumerable)">
<h3>longCount</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">long</span>&nbsp;<span class="element-name">longCount</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source)</span></div>
<div class="block">Returns an long that represents the total number
of elements in a sequence.</div>
</section>
</li>
<li>
<section class="detail" id="longCount(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate1)">
<h3>longCount</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">long</span>&nbsp;<span class="element-name">longCount</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="function/Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;TSource&gt;&nbsp;predicate)</span></div>
<div class="block">Returns an long that represents how many elements
in a sequence satisfy a condition.</div>
</section>
</li>
<li>
<section class="detail" id="max(org.apache.calcite.linq4j.Enumerable)">
<h3>max</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a>&lt;TSource&gt;&gt;</span>
<span class="return-type">TSource</span>&nbsp;<span class="element-name">max</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source)</span></div>
<div class="block">Returns the maximum value in a generic
sequence.</div>
</section>
</li>
<li>
<section class="detail" id="max(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.BigDecimalFunction1)">
<h3>max</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a></span>&nbsp;<span class="element-name">max</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/BigDecimalFunction1.html" title="interface in org.apache.calcite.linq4j.function">BigDecimalFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Invokes a transform function on each element of a
sequence and returns the maximum Decimal value.</div>
</section>
</li>
<li>
<section class="detail" id="max(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableBigDecimalFunction1)">
<h3>max</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a></span>&nbsp;<span class="element-name">max</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableBigDecimalFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableBigDecimalFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Invokes a transform function on each element of a
sequence and returns the maximum nullable Decimal
value.</div>
</section>
</li>
<li>
<section class="detail" id="max(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.DoubleFunction1)">
<h3>max</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">max</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/DoubleFunction1.html" title="interface in org.apache.calcite.linq4j.function">DoubleFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Invokes a transform function on each element of a
sequence and returns the maximum Double value.</div>
</section>
</li>
<li>
<section class="detail" id="max(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableDoubleFunction1)">
<h3>max</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Double.html" title="class or interface in java.lang" class="external-link">Double</a></span>&nbsp;<span class="element-name">max</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableDoubleFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableDoubleFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Invokes a transform function on each element of a
sequence and returns the maximum nullable Double
value.</div>
</section>
</li>
<li>
<section class="detail" id="max(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.IntegerFunction1)">
<h3>max</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">max</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/IntegerFunction1.html" title="interface in org.apache.calcite.linq4j.function">IntegerFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Invokes a transform function on each element of a
sequence and returns the maximum int value.</div>
</section>
</li>
<li>
<section class="detail" id="max(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableIntegerFunction1)">
<h3>max</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a></span>&nbsp;<span class="element-name">max</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableIntegerFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableIntegerFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Invokes a transform function on each element of a
sequence and returns the maximum nullable int value. (Defined
by Enumerable.)</div>
</section>
</li>
<li>
<section class="detail" id="max(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.LongFunction1)">
<h3>max</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">long</span>&nbsp;<span class="element-name">max</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/LongFunction1.html" title="interface in org.apache.calcite.linq4j.function">LongFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Invokes a transform function on each element of a
sequence and returns the maximum long value.</div>
</section>
</li>
<li>
<section class="detail" id="max(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableLongFunction1)">
<h3>max</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">@Nullable <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a></span>&nbsp;<span class="element-name">max</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableLongFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableLongFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Invokes a transform function on each element of a
sequence and returns the maximum nullable long value. (Defined
by Enumerable.)</div>
</section>
</li>
<li>
<section class="detail" id="max(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.FloatFunction1)">
<h3>max</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">float</span>&nbsp;<span class="element-name">max</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/FloatFunction1.html" title="interface in org.apache.calcite.linq4j.function">FloatFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Invokes a transform function on each element of a
sequence and returns the maximum Float value.</div>
</section>
</li>
<li>
<section class="detail" id="max(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableFloatFunction1)">
<h3>max</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">@Nullable <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Float.html" title="class or interface in java.lang" class="external-link">Float</a></span>&nbsp;<span class="element-name">max</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableFloatFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableFloatFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Invokes a transform function on each element of a
sequence and returns the maximum nullable Float
value.</div>
</section>
</li>
<li>
<section class="detail" id="max(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1)">
<h3>max</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TResult extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a>&lt;TResult&gt;&gt;</span>
<span class="return-type">@Nullable TResult</span>&nbsp;<span class="element-name">max</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TResult&gt;&nbsp;selector)</span></div>
<div class="block">Invokes a transform function on each element of a
generic sequence and returns the maximum resulting
value.</div>
</section>
</li>
<li>
<section class="detail" id="min(org.apache.calcite.linq4j.Enumerable)">
<h3>min</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a>&lt;TSource&gt;&gt;</span>
<span class="return-type">@Nullable TSource</span>&nbsp;<span class="element-name">min</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source)</span></div>
<div class="block">Returns the minimum value in a generic
sequence.</div>
</section>
</li>
<li>
<section class="detail" id="min(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.BigDecimalFunction1)">
<h3>min</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a></span>&nbsp;<span class="element-name">min</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/BigDecimalFunction1.html" title="interface in org.apache.calcite.linq4j.function">BigDecimalFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Invokes a transform function on each element of a
sequence and returns the minimum Decimal value.</div>
</section>
</li>
<li>
<section class="detail" id="min(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableBigDecimalFunction1)">
<h3>min</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a></span>&nbsp;<span class="element-name">min</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableBigDecimalFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableBigDecimalFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Invokes a transform function on each element of a
sequence and returns the minimum nullable Decimal
value.</div>
</section>
</li>
<li>
<section class="detail" id="min(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.DoubleFunction1)">
<h3>min</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">min</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/DoubleFunction1.html" title="interface in org.apache.calcite.linq4j.function">DoubleFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Invokes a transform function on each element of a
sequence and returns the minimum Double value.</div>
</section>
</li>
<li>
<section class="detail" id="min(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableDoubleFunction1)">
<h3>min</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Double.html" title="class or interface in java.lang" class="external-link">Double</a></span>&nbsp;<span class="element-name">min</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableDoubleFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableDoubleFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Invokes a transform function on each element of a
sequence and returns the minimum nullable Double
value.</div>
</section>
</li>
<li>
<section class="detail" id="min(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.IntegerFunction1)">
<h3>min</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">min</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/IntegerFunction1.html" title="interface in org.apache.calcite.linq4j.function">IntegerFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Invokes a transform function on each element of a
sequence and returns the minimum int value.</div>
</section>
</li>
<li>
<section class="detail" id="min(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableIntegerFunction1)">
<h3>min</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a></span>&nbsp;<span class="element-name">min</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableIntegerFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableIntegerFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Invokes a transform function on each element of a
sequence and returns the minimum nullable int value. (Defined
by Enumerable.)</div>
</section>
</li>
<li>
<section class="detail" id="min(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.LongFunction1)">
<h3>min</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">long</span>&nbsp;<span class="element-name">min</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/LongFunction1.html" title="interface in org.apache.calcite.linq4j.function">LongFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Invokes a transform function on each element of a
sequence and returns the minimum long value.</div>
</section>
</li>
<li>
<section class="detail" id="min(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableLongFunction1)">
<h3>min</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a></span>&nbsp;<span class="element-name">min</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableLongFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableLongFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Invokes a transform function on each element of a
sequence and returns the minimum nullable long value. (Defined
by Enumerable.)</div>
</section>
</li>
<li>
<section class="detail" id="min(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.FloatFunction1)">
<h3>min</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">float</span>&nbsp;<span class="element-name">min</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/FloatFunction1.html" title="interface in org.apache.calcite.linq4j.function">FloatFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Invokes a transform function on each element of a
sequence and returns the minimum Float value.</div>
</section>
</li>
<li>
<section class="detail" id="min(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableFloatFunction1)">
<h3>min</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Float.html" title="class or interface in java.lang" class="external-link">Float</a></span>&nbsp;<span class="element-name">min</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableFloatFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableFloatFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Invokes a transform function on each element of a
sequence and returns the minimum nullable Float
value.</div>
</section>
</li>
<li>
<section class="detail" id="min(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1)">
<h3>min</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TResult extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a>&lt;TResult&gt;&gt;</span>
<span class="return-type">@Nullable TResult</span>&nbsp;<span class="element-name">min</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TResult&gt;&nbsp;selector)</span></div>
<div class="block">Invokes a transform function on each element of a
generic sequence and returns the minimum resulting
value.</div>
</section>
</li>
<li>
<section class="detail" id="ofType(org.apache.calcite.linq4j.Enumerable,java.lang.Class)">
<h3>ofType</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TResult&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</span>&nbsp;<span class="element-name">ofType</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;enumerable,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a>&lt;TResult&gt;&nbsp;clazz)</span></div>
<div class="block">Filters the elements of an Enumerable based on a
specified type.
<p>Analogous to LINQ's Enumerable.OfType extension method.</p></div>
<dl class="notes">
<dt>Type Parameters:</dt>
<dd><code>TResult</code> - Target type</dd>
<dt>Parameters:</dt>
<dd><code>clazz</code> - Target type</dd>
<dt>Returns:</dt>
<dd>Collection of T2</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="orderBy(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1)">
<h3>orderBy</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a>&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">orderBy</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector)</span></div>
<div class="block">Sorts the elements of a sequence in ascending
order according to a key.</div>
</section>
</li>
<li>
<section class="detail" id="orderBy(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,java.util.Comparator)">
<h3>orderBy</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">orderBy</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
@Nullable <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Comparator.html" title="class or interface in java.util" class="external-link">Comparator</a>&lt;TKey&gt;&nbsp;comparator)</span></div>
<div class="block">Sorts the elements of a sequence in ascending
order by using a specified comparer.</div>
</section>
</li>
<li>
<section class="detail" id="orderBy(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,java.util.Comparator,int,int)">
<h3>orderBy</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">orderBy</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Comparator.html" title="class or interface in java.util" class="external-link">Comparator</a>&lt;TKey&gt;&nbsp;comparator,
int&nbsp;offset,
int&nbsp;fetch)</span></div>
<div class="block">A sort implementation optimized for a sort with a fetch size (LIMIT).</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>offset</code> - how many rows are skipped from the sorted output.
Must be greater than or equal to 0.</dd>
<dd><code>fetch</code> - how many rows are retrieved. Must be greater than or equal to 0.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="orderByDescending(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1)">
<h3>orderByDescending</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a>&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">orderByDescending</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector)</span></div>
<div class="block">Sorts the elements of a sequence in descending
order according to a key.</div>
</section>
</li>
<li>
<section class="detail" id="orderByDescending(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,java.util.Comparator)">
<h3>orderByDescending</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">orderByDescending</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Comparator.html" title="class or interface in java.util" class="external-link">Comparator</a>&lt;TKey&gt;&nbsp;comparator)</span></div>
<div class="block">Sorts the elements of a sequence in descending
order by using a specified comparer.</div>
</section>
</li>
<li>
<section class="detail" id="reverse(org.apache.calcite.linq4j.Enumerable)">
<h3>reverse</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">reverse</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source)</span></div>
<div class="block">Inverts the order of the elements in a
sequence.</div>
</section>
</li>
<li>
<section class="detail" id="select(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1)">
<h3>select</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TResult&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</span>&nbsp;<span class="element-name">select</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TResult&gt;&nbsp;selector)</span></div>
<div class="block">Projects each element of a sequence into a new form.</div>
</section>
</li>
<li>
<section class="detail" id="select(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function2)">
<h3>select</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TResult&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</span>&nbsp;<span class="element-name">select</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a>,<wbr>TResult&gt;&nbsp;selector)</span></div>
<div class="block">Projects each element of a sequence into a new
form by incorporating the element's index.</div>
</section>
</li>
<li>
<section class="detail" id="selectMany(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1)">
<h3>selectMany</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TResult&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</span>&nbsp;<span class="element-name">selectMany</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;&gt;&nbsp;selector)</span></div>
<div class="block">Projects each element of a sequence to an
<code>Enumerable&lt;TSource&gt;</code> and flattens the resulting sequences into one
sequence.</div>
</section>
</li>
<li>
<section class="detail" id="selectMany(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function2)">
<h3>selectMany</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TResult&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</span>&nbsp;<span class="element-name">selectMany</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a>,<wbr><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;&gt;&nbsp;selector)</span></div>
<div class="block">Projects each element of a sequence to an
<code>Enumerable&lt;TSource&gt;</code>, and flattens the resulting sequences into one
sequence. The index of each source element is used in the
projected form of that element.</div>
</section>
</li>
<li>
<section class="detail" id="selectMany(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function2,org.apache.calcite.linq4j.function.Function2)">
<h3>selectMany</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TCollection,<wbr>
TResult&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</span>&nbsp;<span class="element-name">selectMany</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a>,<wbr><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TCollection&gt;&gt;&nbsp;collectionSelector,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr>TCollection,<wbr>TResult&gt;&nbsp;resultSelector)</span></div>
<div class="block">Projects each element of a sequence to an
<code>Enumerable&lt;TSource&gt;</code>, flattens the resulting sequences into one
sequence, and invokes a result selector function on each
element therein. The index of each source element is used in
the intermediate projected form of that element.</div>
</section>
</li>
<li>
<section class="detail" id="selectMany(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function2)">
<h3>selectMany</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TCollection,<wbr>
TResult&gt;</span>
<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</span>&nbsp;<span class="element-name">selectMany</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TCollection&gt;&gt;&nbsp;collectionSelector,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;TSource,<wbr>TCollection,<wbr>TResult&gt;&nbsp;resultSelector)</span></div>
<div class="block">Projects each element of a sequence to an
<code>Enumerable&lt;TSource&gt;</code>, flattens the resulting sequences into one
sequence, and invokes a result selector function on each
element therein.</div>
</section>
</li>
<li>
<section class="detail" id="sequenceEqual(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable)">
<h3>sequenceEqual</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">sequenceEqual</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;first,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;second)</span></div>
<div class="block">Determines whether two sequences are equal by
comparing the elements by using the default equality comparer
for their type.</div>
</section>
</li>
<li>
<section class="detail" id="sequenceEqual(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.EqualityComparer)">
<h3>sequenceEqual</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">sequenceEqual</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;first,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;second,
@Nullable <a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TSource&gt;&nbsp;comparer)</span></div>
<div class="block">Determines whether two sequences are equal by
comparing their elements by using a specified
<code>EqualityComparer&lt;TSource&gt;</code>.</div>
</section>
</li>
<li>
<section class="detail" id="single(org.apache.calcite.linq4j.Enumerable)">
<h3>single</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">TSource</span>&nbsp;<span class="element-name">single</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source)</span></div>
<div class="block">Returns the only element of a sequence, and throws
an exception if there is not exactly one element in the
sequence.</div>
</section>
</li>
<li>
<section class="detail" id="single(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate1)">
<h3>single</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">TSource</span>&nbsp;<span class="element-name">single</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;TSource&gt;&nbsp;predicate)</span></div>
<div class="block">Returns the only element of a sequence that
satisfies a specified condition, and throws an exception if
more than one such element exists.</div>
</section>
</li>
<li>
<section class="detail" id="singleOrDefault(org.apache.calcite.linq4j.Enumerable)">
<h3>singleOrDefault</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">@Nullable TSource</span>&nbsp;<span class="element-name">singleOrDefault</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source)</span></div>
<div class="block">Returns the only element of a sequence, or a
default value if the sequence is empty; this method throws an
exception if there is more than one element in the
sequence.</div>
</section>
</li>
<li>
<section class="detail" id="singleOrDefault(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate1)">
<h3>singleOrDefault</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">@Nullable TSource</span>&nbsp;<span class="element-name">singleOrDefault</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;TSource&gt;&nbsp;predicate)</span></div>
<div class="block">Returns the only element of a sequence that
satisfies a specified condition or a default value if no such
element exists; this method throws an exception if more than
one element satisfies the condition.</div>
</section>
</li>
<li>
<section class="detail" id="skip(org.apache.calcite.linq4j.Enumerable,int)">
<h3>skip</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">skip</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
int&nbsp;count)</span></div>
<div class="block">Bypasses a specified number of elements in a
sequence and then returns the remaining elements.</div>
</section>
</li>
<li>
<section class="detail" id="skipWhile(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate1)">
<h3>skipWhile</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">skipWhile</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;TSource&gt;&nbsp;predicate)</span></div>
<div class="block">Bypasses elements in a sequence as long as a
specified condition is true and then returns the remaining
elements.</div>
</section>
</li>
<li>
<section class="detail" id="skipWhile(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate2)">
<h3>skipWhile</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">skipWhile</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Predicate2.html" title="interface in org.apache.calcite.linq4j.function">Predicate2</a>&lt;TSource,<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a>&gt;&nbsp;predicate)</span></div>
<div class="block">Bypasses elements in a sequence as long as a
specified condition is true and then returns the remaining
elements. The element's index is used in the logic of the
predicate function.</div>
</section>
</li>
<li>
<section class="detail" id="sum(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.BigDecimalFunction1)">
<h3>sum</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a></span>&nbsp;<span class="element-name">sum</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/BigDecimalFunction1.html" title="interface in org.apache.calcite.linq4j.function">BigDecimalFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Computes the sum of the sequence of Decimal values
that are obtained by invoking a transform function on each
element of the input sequence.</div>
</section>
</li>
<li>
<section class="detail" id="sum(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableBigDecimalFunction1)">
<h3>sum</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a></span>&nbsp;<span class="element-name">sum</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableBigDecimalFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableBigDecimalFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Computes the sum of the sequence of nullable
Decimal values that are obtained by invoking a transform
function on each element of the input sequence.</div>
</section>
</li>
<li>
<section class="detail" id="sum(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.DoubleFunction1)">
<h3>sum</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">double</span>&nbsp;<span class="element-name">sum</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/DoubleFunction1.html" title="interface in org.apache.calcite.linq4j.function">DoubleFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Computes the sum of the sequence of Double values
that are obtained by invoking a transform function on each
element of the input sequence.</div>
</section>
</li>
<li>
<section class="detail" id="sum(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableDoubleFunction1)">
<h3>sum</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Double.html" title="class or interface in java.lang" class="external-link">Double</a></span>&nbsp;<span class="element-name">sum</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableDoubleFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableDoubleFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Computes the sum of the sequence of nullable
Double values that are obtained by invoking a transform
function on each element of the input sequence.</div>
</section>
</li>
<li>
<section class="detail" id="sum(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.IntegerFunction1)">
<h3>sum</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">sum</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/IntegerFunction1.html" title="interface in org.apache.calcite.linq4j.function">IntegerFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Computes the sum of the sequence of int values
that are obtained by invoking a transform function on each
element of the input sequence.</div>
</section>
</li>
<li>
<section class="detail" id="sum(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableIntegerFunction1)">
<h3>sum</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a></span>&nbsp;<span class="element-name">sum</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableIntegerFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableIntegerFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Computes the sum of the sequence of nullable int
values that are obtained by invoking a transform function on
each element of the input sequence.</div>
</section>
</li>
<li>
<section class="detail" id="sum(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.LongFunction1)">
<h3>sum</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">long</span>&nbsp;<span class="element-name">sum</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/LongFunction1.html" title="interface in org.apache.calcite.linq4j.function">LongFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Computes the sum of the sequence of long values
that are obtained by invoking a transform function on each
element of the input sequence.</div>
</section>
</li>
<li>
<section class="detail" id="sum(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableLongFunction1)">
<h3>sum</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a></span>&nbsp;<span class="element-name">sum</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableLongFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableLongFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Computes the sum of the sequence of nullable long
values that are obtained by invoking a transform function on
each element of the input sequence.</div>
</section>
</li>
<li>
<section class="detail" id="sum(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.FloatFunction1)">
<h3>sum</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type">float</span>&nbsp;<span class="element-name">sum</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/FloatFunction1.html" title="interface in org.apache.calcite.linq4j.function">FloatFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Computes the sum of the sequence of Float values
that are obtained by invoking a transform function on each
element of the input sequence.</div>
</section>
</li>
<li>
<section class="detail" id="sum(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.NullableFloatFunction1)">
<h3>sum</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Float.html" title="class or interface in java.lang" class="external-link">Float</a></span>&nbsp;<span class="element-name">sum</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/NullableFloatFunction1.html" title="interface in org.apache.calcite.linq4j.function">NullableFloatFunction1</a>&lt;TSource&gt;&nbsp;selector)</span></div>
<div class="block">Computes the sum of the sequence of nullable
Float values that are obtained by invoking a transform
function on each element of the input sequence.</div>
</section>
</li>
<li>
<section class="detail" id="take(org.apache.calcite.linq4j.Enumerable,int)">
<h3>take</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">take</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
int&nbsp;count)</span></div>
<div class="block">Returns a specified number of contiguous elements
from the start of a sequence.</div>
</section>
</li>
<li>
<section class="detail" id="take(org.apache.calcite.linq4j.Enumerable,long)">
<h3>take</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">take</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
long&nbsp;count)</span></div>
<div class="block">Returns a specified number of contiguous elements
from the start of a sequence.</div>
</section>
</li>
<li>
<section class="detail" id="takeWhile(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate1)">
<h3>takeWhile</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">takeWhile</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;TSource&gt;&nbsp;predicate)</span></div>
<div class="block">Returns elements from a sequence as long as a
specified condition is true.</div>
</section>
</li>
<li>
<section class="detail" id="takeWhile(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate2)">
<h3>takeWhile</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">takeWhile</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Predicate2.html" title="interface in org.apache.calcite.linq4j.function">Predicate2</a>&lt;TSource,<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a>&gt;&nbsp;predicate)</span></div>
<div class="block">Returns elements from a sequence as long as a
specified condition is true. The element's index is used in the
logic of the predicate function.</div>
</section>
</li>
<li>
<section class="detail" id="takeWhileLong(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate2)">
<h3>takeWhileLong</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">takeWhileLong</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Predicate2.html" title="interface in org.apache.calcite.linq4j.function">Predicate2</a>&lt;TSource,<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a>&gt;&nbsp;predicate)</span></div>
<div class="block">Returns elements from a sequence as long as a
specified condition is true. The element's index is used in the
logic of the predicate function.</div>
</section>
</li>
<li>
<section class="detail" id="createOrderedEnumerable(org.apache.calcite.linq4j.OrderedEnumerable,org.apache.calcite.linq4j.function.Function1,java.util.Comparator,boolean)">
<h3>createOrderedEnumerable</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey&gt;</span>
<span class="return-type"><a href="OrderedEnumerable.html" title="interface in org.apache.calcite.linq4j">OrderedEnumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">createOrderedEnumerable</span><wbr><span class="parameters">(<a href="OrderedEnumerable.html" title="interface in org.apache.calcite.linq4j">OrderedEnumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Comparator.html" title="class or interface in java.util" class="external-link">Comparator</a>&lt;TKey&gt;&nbsp;comparator,
boolean&nbsp;descending)</span></div>
<div class="block">Performs a subsequent ordering of the elements in a sequence according
to a key.</div>
</section>
</li>
<li>
<section class="detail" id="thenBy(org.apache.calcite.linq4j.OrderedEnumerable,org.apache.calcite.linq4j.function.Function1)">
<h3>thenBy</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a>&lt;TKey&gt;&gt;</span>
<span class="return-type"><a href="OrderedEnumerable.html" title="interface in org.apache.calcite.linq4j">OrderedEnumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">thenBy</span><wbr><span class="parameters">(<a href="OrderedEnumerable.html" title="interface in org.apache.calcite.linq4j">OrderedEnumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector)</span></div>
<div class="block">Performs a subsequent ordering of the elements in a sequence in
ascending order according to a key.</div>
</section>
</li>
<li>
<section class="detail" id="thenBy(org.apache.calcite.linq4j.OrderedEnumerable,org.apache.calcite.linq4j.function.Function1,java.util.Comparator)">
<h3>thenBy</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey&gt;</span>
<span class="return-type"><a href="OrderedEnumerable.html" title="interface in org.apache.calcite.linq4j">OrderedEnumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">thenBy</span><wbr><span class="parameters">(<a href="OrderedEnumerable.html" title="interface in org.apache.calcite.linq4j">OrderedEnumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Comparator.html" title="class or interface in java.util" class="external-link">Comparator</a>&lt;TKey&gt;&nbsp;comparator)</span></div>
<div class="block">Performs a subsequent ordering of the elements in a sequence in
ascending order according to a key, using a specified comparator.</div>
</section>
</li>
<li>
<section class="detail" id="thenByDescending(org.apache.calcite.linq4j.OrderedEnumerable,org.apache.calcite.linq4j.function.Function1)">
<h3>thenByDescending</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a>&lt;TKey&gt;&gt;</span>
<span class="return-type"><a href="OrderedEnumerable.html" title="interface in org.apache.calcite.linq4j">OrderedEnumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">thenByDescending</span><wbr><span class="parameters">(<a href="OrderedEnumerable.html" title="interface in org.apache.calcite.linq4j">OrderedEnumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector)</span></div>
<div class="block">Performs a subsequent ordering of the elements in a sequence in
descending order according to a key.</div>
</section>
</li>
<li>
<section class="detail" id="thenByDescending(org.apache.calcite.linq4j.OrderedEnumerable,org.apache.calcite.linq4j.function.Function1,java.util.Comparator)">
<h3>thenByDescending</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey&gt;</span>
<span class="return-type"><a href="OrderedEnumerable.html" title="interface in org.apache.calcite.linq4j">OrderedEnumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">thenByDescending</span><wbr><span class="parameters">(<a href="OrderedEnumerable.html" title="interface in org.apache.calcite.linq4j">OrderedEnumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Comparator.html" title="class or interface in java.util" class="external-link">Comparator</a>&lt;TKey&gt;&nbsp;comparator)</span></div>
<div class="block">Performs a subsequent ordering of the elements in a sequence in
descending order according to a key, using a specified comparator.</div>
</section>
</li>
<li>
<section class="detail" id="toMap(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1)">
<h3>toMap</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey&gt;</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a>&lt;TKey,<wbr>TSource&gt;</span>&nbsp;<span class="element-name">toMap</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector)</span></div>
<div class="block">Creates a Map&lt;TKey, TValue&gt; from an
Enumerable&lt;TSource&gt; according to a specified key selector
function.
<p>NOTE: Called <code>toDictionary</code> in LINQ.NET.</p></div>
</section>
</li>
<li>
<section class="detail" id="toMap(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.EqualityComparer)">
<h3>toMap</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey&gt;</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a>&lt;TKey,<wbr>TSource&gt;</span>&nbsp;<span class="element-name">toMap</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer)</span></div>
<div class="block">Creates a <code>Map&lt;TKey, TValue&gt;</code> from an
<code>Enumerable&lt;TSource&gt;</code> according to a specified key selector function
and key comparer.</div>
</section>
</li>
<li>
<section class="detail" id="toMap(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1)">
<h3>toMap</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey,<wbr>
TElement&gt;</span>
<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a>&lt;TKey,<wbr>TElement&gt;</span>&nbsp;<span class="element-name">toMap</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TElement&gt;&nbsp;elementSelector)</span></div>
<div class="block">Creates a <code>Map&lt;TKey, TValue&gt;</code> from an
<code>Enumerable&lt;TSource&gt;</code> according to specified key selector and element
selector functions.</div>
</section>
</li>
<li>
<section class="detail" id="toMap(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.EqualityComparer)">
<h3>toMap</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey,<wbr>
TElement&gt;</span>
<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a>&lt;TKey,<wbr>TElement&gt;</span>&nbsp;<span class="element-name">toMap</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TElement&gt;&nbsp;elementSelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer)</span></div>
<div class="block">Creates a <code>Map&lt;TKey, TValue&gt;</code> from an
<code>Enumerable&lt;TSource&gt;</code> according to a specified key selector function,
a comparer, and an element selector function.</div>
</section>
</li>
<li>
<section class="detail" id="toList(org.apache.calcite.linq4j.Enumerable)">
<h3>toList</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">toList</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source)</span></div>
<div class="block">Creates a <code>List&lt;TSource&gt;</code> from an <code>Enumerable&lt;TSource&gt;</code>.</div>
</section>
</li>
<li>
<section class="detail" id="toLookup(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1)">
<h3>toLookup</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey&gt;</span>&nbsp;<span class="return-type"><a href="Lookup.html" title="interface in org.apache.calcite.linq4j">Lookup</a>&lt;TKey,<wbr>TSource&gt;</span>&nbsp;<span class="element-name">toLookup</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector)</span></div>
<div class="block">Creates a Lookup&lt;TKey, TElement&gt; from an
Enumerable&lt;TSource&gt; according to a specified key selector
function.</div>
</section>
</li>
<li>
<section class="detail" id="toLookup(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.EqualityComparer)">
<h3>toLookup</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey&gt;</span>&nbsp;<span class="return-type"><a href="Lookup.html" title="interface in org.apache.calcite.linq4j">Lookup</a>&lt;TKey,<wbr>TSource&gt;</span>&nbsp;<span class="element-name">toLookup</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer)</span></div>
<div class="block">Creates a <code>Lookup&lt;TKey, TElement&gt;</code> from an
<code>Enumerable&lt;TSource&gt;</code> according to a specified key selector function
and key comparer.</div>
</section>
</li>
<li>
<section class="detail" id="toLookup(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1)">
<h3>toLookup</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey,<wbr>
TElement&gt;</span>
<span class="return-type"><a href="Lookup.html" title="interface in org.apache.calcite.linq4j">Lookup</a>&lt;TKey,<wbr>TElement&gt;</span>&nbsp;<span class="element-name">toLookup</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TElement&gt;&nbsp;elementSelector)</span></div>
<div class="block">Creates a <code>Lookup&lt;TKey, TElement&gt;</code> from an
<code>Enumerable&lt;TSource&gt;</code> according to specified key selector and element
selector functions.</div>
</section>
</li>
<li>
<section class="detail" id="toLookup(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.Function1,org.apache.calcite.linq4j.function.EqualityComparer)">
<h3>toLookup</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey,<wbr>
TElement&gt;</span>
<span class="return-type"><a href="Lookup.html" title="interface in org.apache.calcite.linq4j">Lookup</a>&lt;TKey,<wbr>TElement&gt;</span>&nbsp;<span class="element-name">toLookup</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;keySelector,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TElement&gt;&nbsp;elementSelector,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TKey&gt;&nbsp;comparer)</span></div>
<div class="block">Creates a <code>Lookup&lt;TKey, TElement&gt;</code> from an
<code>Enumerable&lt;TSource&gt;</code> according to a specified key selector function,
a comparer and an element selector function.</div>
</section>
</li>
<li>
<section class="detail" id="union(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable)">
<h3>union</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">union</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source0,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source1)</span></div>
<div class="block">Produces the set union of two sequences by using
the default equality comparer.</div>
</section>
</li>
<li>
<section class="detail" id="union(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.EqualityComparer)">
<h3>union</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">union</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source0,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source1,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TSource&gt;&nbsp;comparer)</span></div>
<div class="block">Produces the set union of two sequences by using a
specified EqualityComparer&lt;TSource&gt;.</div>
</section>
</li>
<li>
<section class="detail" id="where(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate1)">
<h3>where</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">where</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;TSource&gt;&nbsp;predicate)</span></div>
<div class="block">Filters a sequence of values based on a
predicate.</div>
</section>
</li>
<li>
<section class="detail" id="where(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Predicate2)">
<h3>where</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">where</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;source,
<a href="function/Predicate2.html" title="interface in org.apache.calcite.linq4j.function">Predicate2</a>&lt;TSource,<wbr><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a>&gt;&nbsp;predicate)</span></div>
<div class="block">Filters a sequence of values based on a
predicate. Each element's index is used in the logic of the
predicate function.</div>
</section>
</li>
<li>
<section class="detail" id="zip(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.function.Function2)">
<h3>zip</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;T0,<wbr>
T1,<wbr>
TResult&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TResult&gt;</span>&nbsp;<span class="element-name">zip</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;T0&gt;&nbsp;first,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;T1&gt;&nbsp;second,
<a href="function/Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;T0,<wbr>T1,<wbr>TResult&gt;&nbsp;resultSelector)</span></div>
<div class="block">Applies a specified function to the corresponding
elements of two sequences, producing a sequence of the
results.</div>
</section>
</li>
<li>
<section class="detail" id="asOrderedQueryable(org.apache.calcite.linq4j.Enumerable)">
<h3>asOrderedQueryable</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;T&gt;</span>&nbsp;<span class="return-type"><a href="OrderedQueryable.html" title="interface in org.apache.calcite.linq4j">OrderedQueryable</a>&lt;T&gt;</span>&nbsp;<span class="element-name">asOrderedQueryable</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;T&gt;&nbsp;source)</span></div>
</section>
</li>
<li>
<section class="detail" id="into(org.apache.calcite.linq4j.Enumerable,C)">
<h3 id="into(org.apache.calcite.linq4j.Enumerable,java.util.Collection)">into</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;T,<wbr>
C extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a>&lt;? super T&gt;&gt;</span>&nbsp;<span class="return-type">C</span>&nbsp;<span class="element-name">into</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;T&gt;&nbsp;source,
C&nbsp;sink)</span></div>
<div class="block">Default implementation of <a href="ExtendedEnumerable.html#into(C)"><code>ExtendedEnumerable.into(Collection)</code></a>.</div>
</section>
</li>
<li>
<section class="detail" id="remove(org.apache.calcite.linq4j.Enumerable,C)">
<h3 id="remove(org.apache.calcite.linq4j.Enumerable,java.util.Collection)">remove</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;T,<wbr>
C extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a>&lt;? super T&gt;&gt;</span>&nbsp;<span class="return-type">C</span>&nbsp;<span class="element-name">remove</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;T&gt;&nbsp;source,
C&nbsp;sink)</span></div>
<div class="block">Default implementation of <a href="ExtendedEnumerable.html#removeAll(C)"><code>ExtendedEnumerable.removeAll(Collection)</code></a>.</div>
</section>
</li>
<li>
<section class="detail" id="repeatUnion(org.apache.calcite.linq4j.Enumerable,org.apache.calcite.linq4j.Enumerable,int,boolean,org.apache.calcite.linq4j.function.EqualityComparer,org.apache.calcite.linq4j.function.Function0)">
<h3>repeatUnion</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">repeatUnion</span><wbr><span class="parameters">(<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;seed,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;iteration,
int&nbsp;iterationLimit,
boolean&nbsp;all,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TSource&gt;&nbsp;comparer,
@Nullable <a href="function/Function0.html" title="interface in org.apache.calcite.linq4j.function">Function0</a>&lt;<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a>&gt;&nbsp;cleanUpFunction)</span></div>
<div class="block">Repeat Union enumerable. Evaluates the seed enumerable once, and then starts
to evaluate the iteration enumerable over and over, until either it returns
no results, or it reaches an optional maximum number of iterations.</div>
<dl class="notes">
<dt>Type Parameters:</dt>
<dd><code>TSource</code> - record type</dd>
<dt>Parameters:</dt>
<dd><code>seed</code> - seed enumerable</dd>
<dd><code>iteration</code> - iteration enumerable</dd>
<dd><code>iterationLimit</code> - maximum numbers of repetitions for the iteration enumerable
(negative value means no limit)</dd>
<dd><code>all</code> - whether duplicates will be considered or not</dd>
<dd><code>comparer</code> - <a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function"><code>EqualityComparer</code></a> to control duplicates,
only used if <code>all</code> is <code>false</code></dd>
<dd><code>cleanUpFunction</code> - optional clean-up actions (e.g. delete temporary table)</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="lazyCollectionSpool(java.util.Collection,org.apache.calcite.linq4j.Enumerable)">
<h3>lazyCollectionSpool</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">lazyCollectionSpool</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link">Collection</a>&lt;TSource&gt;&nbsp;outputCollection,
<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&nbsp;input)</span></div>
<div class="block">Lazy read and lazy write spool that stores data into a collection.</div>
</section>
</li>
<li>
<section class="detail" id="mergeUnion(java.util.List,org.apache.calcite.linq4j.function.Function1,java.util.Comparator,boolean,org.apache.calcite.linq4j.function.EqualityComparer)">
<h3>mergeUnion</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="type-parameters">&lt;TSource,<wbr>
TKey&gt;</span>&nbsp;<span class="return-type"><a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;</span>&nbsp;<span class="element-name">mergeUnion</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="Enumerable.html" title="interface in org.apache.calcite.linq4j">Enumerable</a>&lt;TSource&gt;&gt;&nbsp;sources,
<a href="function/Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,<wbr>TKey&gt;&nbsp;sortKeySelector,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Comparator.html" title="class or interface in java.util" class="external-link">Comparator</a>&lt;TKey&gt;&nbsp;sortComparator,
boolean&nbsp;all,
<a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;TSource&gt;&nbsp;equalityComparer)</span></div>
<div class="block">Merge Union Enumerable.
Performs a union (or union all) of all its inputs (which must be already sorted),
respecting the order.</div>
<dl class="notes">
<dt>Type Parameters:</dt>
<dd><code>TSource</code> - record type</dd>
<dd><code>TKey</code> - sort key</dd>
<dt>Parameters:</dt>
<dd><code>sources</code> - input enumerables (must be already sorted)</dd>
<dd><code>sortKeySelector</code> - sort key selector</dd>
<dd><code>sortComparator</code> - sort comparator to decide the next item</dd>
<dd><code>all</code> - whether duplicates will be considered or not</dd>
<dd><code>equalityComparer</code> - <a href="function/EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function"><code>EqualityComparer</code></a> to control duplicates,
only used if <code>all</code> is <code>false</code></dd>
</dl>
</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>