blob: a67a3fe7547fb17b95d0e1fadfb198b25b1eece4 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Functions (Apache Calcite calcite API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-migrate-3.0.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Functions (Apache Calcite calcite API)";
}
}
catch(err) {
}
//-->
var data = {"i0":41,"i1":9,"i2":9,"i3":9,"i4":9,"i5":41,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><b>Apache Calcite</b></div>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.calcite.linq4j.function</a></div>
<h2 title="Class Functions" class="title">Class Functions</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.calcite.linq4j.function.Functions</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<pre>public abstract class <span class="typeNameLabel">Functions</span>
extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></pre>
<div class="block">Utilities relating to functions.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;? extends <a href="Function.html" title="interface in org.apache.calcite.linq4j.function">Function</a>&gt;,&#8203;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FUNCTION_RESULT_TYPES">FUNCTION_RESULT_TYPES</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static &lt;T1,&#8203;R&gt;<br><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;R&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#adapt(java.util.List,org.apache.calcite.linq4j.function.Function1)">adapt</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;T1&gt;&nbsp;list,
<a href="Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;T1,&#8203;R&gt;&nbsp;f)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <code>Lists.transform(java.util.List&lt;F&gt;, com.google.common.base.Function&lt;? super F, ? extends T&gt;)</code></div>
</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static &lt;T1&gt;&nbsp;<a href="Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;T1,&#8203;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang" class="externalLink">Double</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#adapt(org.apache.calcite.linq4j.function.DoubleFunction1)">adapt</a></span>&#8203;(<a href="DoubleFunction1.html" title="interface in org.apache.calcite.linq4j.function">DoubleFunction1</a>&lt;T1&gt;&nbsp;f)</code></th>
<td class="colLast">
<div class="block">Adapts a <a href="DoubleFunction1.html" title="interface in org.apache.calcite.linq4j.function"><code>DoubleFunction1</code></a> (that returns a <code>double</code>) to
an <a href="Function1.html" title="interface in org.apache.calcite.linq4j.function"><code>Function1</code></a> returning a <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Double</code></a>.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static &lt;T1&gt;&nbsp;<a href="Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;T1,&#8203;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang" class="externalLink">Float</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#adapt(org.apache.calcite.linq4j.function.FloatFunction1)">adapt</a></span>&#8203;(<a href="FloatFunction1.html" title="interface in org.apache.calcite.linq4j.function">FloatFunction1</a>&lt;T1&gt;&nbsp;f)</code></th>
<td class="colLast">
<div class="block">Adapts a <a href="FloatFunction1.html" title="interface in org.apache.calcite.linq4j.function"><code>FloatFunction1</code></a> (that returns a <code>float</code>) to
an <a href="Function1.html" title="interface in org.apache.calcite.linq4j.function"><code>Function1</code></a> returning a <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Float</code></a>.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static &lt;T1&gt;&nbsp;<a href="Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;T1,&#8203;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#adapt(org.apache.calcite.linq4j.function.IntegerFunction1)">adapt</a></span>&#8203;(<a href="IntegerFunction1.html" title="interface in org.apache.calcite.linq4j.function">IntegerFunction1</a>&lt;T1&gt;&nbsp;f)</code></th>
<td class="colLast">
<div class="block">Adapts an <a href="IntegerFunction1.html" title="interface in org.apache.calcite.linq4j.function"><code>IntegerFunction1</code></a> (that returns an <code>int</code>) to
an <a href="Function1.html" title="interface in org.apache.calcite.linq4j.function"><code>Function1</code></a> returning an <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Integer</code></a>.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static &lt;T1&gt;&nbsp;<a href="Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;T1,&#8203;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink">Long</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#adapt(org.apache.calcite.linq4j.function.LongFunction1)">adapt</a></span>&#8203;(<a href="LongFunction1.html" title="interface in org.apache.calcite.linq4j.function">LongFunction1</a>&lt;T1&gt;&nbsp;f)</code></th>
<td class="colLast">
<div class="block">Adapts a <a href="LongFunction1.html" title="interface in org.apache.calcite.linq4j.function"><code>LongFunction1</code></a> (that returns a <code>long</code>) to
an <a href="Function1.html" title="interface in org.apache.calcite.linq4j.function"><code>Function1</code></a> returning a <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Long</code></a>.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static &lt;T,&#8203;R&gt;<br><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;R&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#adapt(T%5B%5D,org.apache.calcite.linq4j.function.Function1)">adapt</a></span>&#8203;(T[]&nbsp;ts,
<a href="Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;T,&#8203;R&gt;&nbsp;f)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <code>Lists.transform(java.util.List&lt;F&gt;, com.google.common.base.Function&lt;? super F, ? extends T&gt;)</code>
and <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Arrays.html?is-external=true#asList(T...)" title="class or interface in java.util" class="externalLink"><code>Arrays.asList(Object[])</code></a></div>
</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#all(java.util.List,org.apache.calcite.linq4j.function.Predicate1)">all</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;? extends E&gt;&nbsp;list,
<a href="Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;E&gt;&nbsp;predicate)</code></th>
<td class="colLast">
<div class="block">Returns whether <code>predicate</code> is true for all elements of
<code>list</code>.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static &lt;T1,&#8203;R&gt;<br><a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;R&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#apply(java.util.List,org.apache.calcite.linq4j.function.Function1)">apply</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;T1&gt;&nbsp;list,
<a href="Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;T1,&#8203;R&gt;&nbsp;f)</code></th>
<td class="colLast">
<div class="block">Creates a copy of a list, applying a function to each element.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;T[]&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#arrayComparer()">arrayComparer</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns an <a href="EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function"><code>EqualityComparer</code></a> that works on arrays of objects.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>static &lt;T,&#8203;R&gt;<br><a href="Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;T,&#8203;R&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#constant(R)">constant</a></span>&#8203;(R&nbsp;r)</code></th>
<td class="colLast">
<div class="block">Returns a 1-parameter function that always returns the same value.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>static &lt;T,&#8203;R&gt;<br><a href="Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;T,&#8203;R&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#constantNull()">constantNull</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a 1-parameter function that always returns null.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#exists(java.util.List,org.apache.calcite.linq4j.function.Predicate1)">exists</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;? extends E&gt;&nbsp;list,
<a href="Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;E&gt;&nbsp;predicate)</code></th>
<td class="colLast">
<div class="block">Returns whether there is an element in <code>list</code> for which
<code>predicate</code> is true.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#falsePredicate1()">falsePredicate1</a></span>()</code></th>
<td class="colLast">
<div class="block">A predicate with one parameter that always returns <code>true</code>.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>static &lt;T1,&#8203;T2&gt;<br><a href="Predicate2.html" title="interface in org.apache.calcite.linq4j.function">Predicate2</a>&lt;T1,&#8203;T2&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#falsePredicate2()">falsePredicate2</a></span>()</code></th>
<td class="colLast">
<div class="block">A predicate with two parameters that always returns <code>false</code>.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#filter(java.util.List,org.apache.calcite.linq4j.function.Predicate1)">filter</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list,
<a href="Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;E&gt;&nbsp;predicate)</code></th>
<td class="colLast">
<div class="block">Returns a list that contains only elements of <code>list</code> that match
<code>predicate</code>.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;? extends <a href="Function.html" title="interface in org.apache.calcite.linq4j.function">Function</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#functionClass(java.lang.reflect.Type)">functionClass</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect" class="externalLink">Type</a>&nbsp;aClass)</code></th>
<td class="colLast">
<div class="block">Returns the appropriate interface for a lambda function with
1 argument and the given return type.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#generate(int,java.util.function.IntFunction)">generate</a></span>&#8203;(int&nbsp;size,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/IntFunction.html?is-external=true" title="class or interface in java.util.function" class="externalLink">IntFunction</a>&lt;E&gt;&nbsp;fn)</code></th>
<td class="colLast">
<div class="block">Returns a list generated by applying a function to each index between
0 and <code>size</code> - 1.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#identityComparer()">identityComparer</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns an <a href="EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function"><code>EqualityComparer</code></a> that uses object identity and hash
code.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>static &lt;TSource&gt;&nbsp;<a href="Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,&#8203;TSource&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#identitySelector()">identitySelector</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>static &lt;R&gt;&nbsp;<a href="Function0.html" title="interface in org.apache.calcite.linq4j.function">Function0</a>&lt;R&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ignore0()">ignore0</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a function of arity 0 that does nothing.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>static &lt;R,&#8203;T0&gt;<br><a href="Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;R,&#8203;T0&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ignore1()">ignore1</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a function of arity 1 that does nothing.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>static &lt;R,&#8203;T0,&#8203;T1&gt;<br><a href="Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;R,&#8203;T0,&#8203;T1&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ignore2()">ignore2</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a function of arity 2 that does nothing.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>static &lt;T extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a>&lt;T&gt;&gt;<br><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#nullsComparator(boolean,boolean)">nullsComparator</a></span>&#8203;(boolean&nbsp;nullsFirst,
boolean&nbsp;reverse)</code></th>
<td class="colLast">
<div class="block">Returns a <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Comparator</code></a> that handles null values.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>static &lt;T extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a>&lt;T&gt;&gt;<br><a href="https://docs.oracle.com/javase/9/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#nullsComparator(boolean,boolean,java.util.Comparator)">nullsComparator</a></span>&#8203;(boolean&nbsp;nullsFirst,
boolean&nbsp;reverse,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a>&lt;T&gt;&nbsp;comparator)</code></th>
<td class="colLast">
<div class="block">Returns a <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Comparator</code></a> that handles null values.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>static &lt;T,&#8203;T2&gt;<br><a href="Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ofTypePredicate(java.lang.Class)">ofTypePredicate</a></span>&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T2&gt;&nbsp;clazz)</code></th>
<td class="colLast">
<div class="block">Creates a predicate that returns whether an object is an instance of a
particular type or is null.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>static &lt;T,&#8203;T2&gt;<br><a href="EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#selectorComparer(org.apache.calcite.linq4j.function.Function1)">selectorComparer</a></span>&#8203;(<a href="Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;T,&#8203;T2&gt;&nbsp;selector)</code></th>
<td class="colLast">
<div class="block">Returns an <a href="EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function"><code>EqualityComparer</code></a> that uses a selector function.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>static &lt;T1,&#8203;T2&gt;<br><a href="Predicate2.html" title="interface in org.apache.calcite.linq4j.function">Predicate2</a>&lt;T1,&#8203;T2&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toPredicate(org.apache.calcite.linq4j.function.Function2)">toPredicate</a></span>&#8203;(<a href="Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;T1,&#8203;T2,&#8203;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink">Boolean</a>&gt;&nbsp;function)</code></th>
<td class="colLast">
<div class="block">Converts a 2-parameter function to a predicate.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>static &lt;T1,&#8203;T2&gt;<br><a href="Predicate2.html" title="interface in org.apache.calcite.linq4j.function">Predicate2</a>&lt;T1,&#8203;T2&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toPredicate2(org.apache.calcite.linq4j.function.Predicate1)">toPredicate2</a></span>&#8203;(<a href="Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;T1&gt;&nbsp;p1)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>static &lt;TSource&gt;&nbsp;<a href="Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,&#8203;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toStringSelector()">toStringSelector</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a selector that calls the <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink"><code>Object.toString()</code></a> method on
each element.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#truePredicate1()">truePredicate1</a></span>()</code></th>
<td class="colLast">
<div class="block">A predicate with one parameter that always returns <code>true</code>.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>static &lt;T1,&#8203;T2&gt;<br><a href="Predicate2.html" title="interface in org.apache.calcite.linq4j.function">Predicate2</a>&lt;T1,&#8203;T2&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#truePredicate2()">truePredicate2</a></span>()</code></th>
<td class="colLast">
<div class="block">A predicate with two parameters that always returns <code>true</code>.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a id="FUNCTION_RESULT_TYPES">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>FUNCTION_RESULT_TYPES</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a>&lt;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;? extends <a href="Function.html" title="interface in org.apache.calcite.linq4j.function">Function</a>&gt;,&#8203;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&gt; FUNCTION_RESULT_TYPES</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="constant(java.lang.Object)">
<!-- -->
</a><a id="constant(R)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>constant</h4>
<pre class="methodSignature">public static&nbsp;&lt;T,&#8203;R&gt;&nbsp;<a href="Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;T,&#8203;R&gt;&nbsp;constant&#8203;(R&nbsp;r)</pre>
<div class="block">Returns a 1-parameter function that always returns the same value.</div>
</li>
</ul>
<a id="constantNull()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>constantNull</h4>
<pre class="methodSignature">public static&nbsp;&lt;T,&#8203;R&gt;&nbsp;<a href="Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;T,&#8203;R&gt;&nbsp;constantNull()</pre>
<div class="block">Returns a 1-parameter function that always returns null.</div>
</li>
</ul>
<a id="truePredicate1()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>truePredicate1</h4>
<pre class="methodSignature">public static&nbsp;&lt;T&gt;&nbsp;<a href="Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;T&gt;&nbsp;truePredicate1()</pre>
<div class="block">A predicate with one parameter that always returns <code>true</code>.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - First parameter type</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Predicate that always returns true</dd>
</dl>
</li>
</ul>
<a id="falsePredicate1()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>falsePredicate1</h4>
<pre class="methodSignature">public static&nbsp;&lt;T&gt;&nbsp;<a href="Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;T&gt;&nbsp;falsePredicate1()</pre>
<div class="block">A predicate with one parameter that always returns <code>true</code>.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - First parameter type</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Predicate that always returns true</dd>
</dl>
</li>
</ul>
<a id="truePredicate2()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>truePredicate2</h4>
<pre class="methodSignature">public static&nbsp;&lt;T1,&#8203;T2&gt;&nbsp;<a href="Predicate2.html" title="interface in org.apache.calcite.linq4j.function">Predicate2</a>&lt;T1,&#8203;T2&gt;&nbsp;truePredicate2()</pre>
<div class="block">A predicate with two parameters that always returns <code>true</code>.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T1</code> - First parameter type</dd>
<dd><code>T2</code> - Second parameter type</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Predicate that always returns true</dd>
</dl>
</li>
</ul>
<a id="falsePredicate2()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>falsePredicate2</h4>
<pre class="methodSignature">public static&nbsp;&lt;T1,&#8203;T2&gt;&nbsp;<a href="Predicate2.html" title="interface in org.apache.calcite.linq4j.function">Predicate2</a>&lt;T1,&#8203;T2&gt;&nbsp;falsePredicate2()</pre>
<div class="block">A predicate with two parameters that always returns <code>false</code>.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T1</code> - First parameter type</dd>
<dd><code>T2</code> - Second parameter type</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Predicate that always returns false</dd>
</dl>
</li>
</ul>
<a id="identitySelector()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>identitySelector</h4>
<pre class="methodSignature">public static&nbsp;&lt;TSource&gt;&nbsp;<a href="Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,&#8203;TSource&gt;&nbsp;identitySelector()</pre>
</li>
</ul>
<a id="toStringSelector()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toStringSelector</h4>
<pre class="methodSignature">public static&nbsp;&lt;TSource&gt;&nbsp;<a href="Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;TSource,&#8203;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&gt;&nbsp;toStringSelector()</pre>
<div class="block">Returns a selector that calls the <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink"><code>Object.toString()</code></a> method on
each element.</div>
</li>
</ul>
<a id="ofTypePredicate(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ofTypePredicate</h4>
<pre class="methodSignature">public static&nbsp;&lt;T,&#8203;T2&gt;&nbsp;<a href="Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;T&gt;&nbsp;ofTypePredicate&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T2&gt;&nbsp;clazz)</pre>
<div class="block">Creates a predicate that returns whether an object is an instance of a
particular type or is null.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - Type of objects to test</dd>
<dd><code>T2</code> - Desired type</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>clazz</code> - Desired type</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Predicate that tests for desired type</dd>
</dl>
</li>
</ul>
<a id="toPredicate2(org.apache.calcite.linq4j.function.Predicate1)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toPredicate2</h4>
<pre class="methodSignature">public static&nbsp;&lt;T1,&#8203;T2&gt;&nbsp;<a href="Predicate2.html" title="interface in org.apache.calcite.linq4j.function">Predicate2</a>&lt;T1,&#8203;T2&gt;&nbsp;toPredicate2&#8203;(<a href="Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;T1&gt;&nbsp;p1)</pre>
</li>
</ul>
<a id="toPredicate(org.apache.calcite.linq4j.function.Function2)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toPredicate</h4>
<pre class="methodSignature">public static&nbsp;&lt;T1,&#8203;T2&gt;&nbsp;<a href="Predicate2.html" title="interface in org.apache.calcite.linq4j.function">Predicate2</a>&lt;T1,&#8203;T2&gt;&nbsp;toPredicate&#8203;(<a href="Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;T1,&#8203;T2,&#8203;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang" class="externalLink">Boolean</a>&gt;&nbsp;function)</pre>
<div class="block">Converts a 2-parameter function to a predicate.</div>
</li>
</ul>
<a id="functionClass(java.lang.reflect.Type)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>functionClass</h4>
<pre class="methodSignature">public static&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;? extends <a href="Function.html" title="interface in org.apache.calcite.linq4j.function">Function</a>&gt;&nbsp;functionClass&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect" class="externalLink">Type</a>&nbsp;aClass)</pre>
<div class="block">Returns the appropriate interface for a lambda function with
1 argument and the given return type.
<p>For example:</p>
functionClass(Integer.TYPE) returns IntegerFunction1.class
functionClass(String.class) returns Function1.class</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>aClass</code> - Return type</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Function class</dd>
</dl>
</li>
</ul>
<a id="adapt(org.apache.calcite.linq4j.function.IntegerFunction1)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>adapt</h4>
<pre class="methodSignature">public static&nbsp;&lt;T1&gt;&nbsp;<a href="Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;T1,&#8203;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>&gt;&nbsp;adapt&#8203;(<a href="IntegerFunction1.html" title="interface in org.apache.calcite.linq4j.function">IntegerFunction1</a>&lt;T1&gt;&nbsp;f)</pre>
<div class="block">Adapts an <a href="IntegerFunction1.html" title="interface in org.apache.calcite.linq4j.function"><code>IntegerFunction1</code></a> (that returns an <code>int</code>) to
an <a href="Function1.html" title="interface in org.apache.calcite.linq4j.function"><code>Function1</code></a> returning an <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Integer</code></a>.</div>
</li>
</ul>
<a id="adapt(org.apache.calcite.linq4j.function.DoubleFunction1)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>adapt</h4>
<pre class="methodSignature">public static&nbsp;&lt;T1&gt;&nbsp;<a href="Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;T1,&#8203;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang" class="externalLink">Double</a>&gt;&nbsp;adapt&#8203;(<a href="DoubleFunction1.html" title="interface in org.apache.calcite.linq4j.function">DoubleFunction1</a>&lt;T1&gt;&nbsp;f)</pre>
<div class="block">Adapts a <a href="DoubleFunction1.html" title="interface in org.apache.calcite.linq4j.function"><code>DoubleFunction1</code></a> (that returns a <code>double</code>) to
an <a href="Function1.html" title="interface in org.apache.calcite.linq4j.function"><code>Function1</code></a> returning a <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Double</code></a>.</div>
</li>
</ul>
<a id="adapt(org.apache.calcite.linq4j.function.LongFunction1)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>adapt</h4>
<pre class="methodSignature">public static&nbsp;&lt;T1&gt;&nbsp;<a href="Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;T1,&#8203;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink">Long</a>&gt;&nbsp;adapt&#8203;(<a href="LongFunction1.html" title="interface in org.apache.calcite.linq4j.function">LongFunction1</a>&lt;T1&gt;&nbsp;f)</pre>
<div class="block">Adapts a <a href="LongFunction1.html" title="interface in org.apache.calcite.linq4j.function"><code>LongFunction1</code></a> (that returns a <code>long</code>) to
an <a href="Function1.html" title="interface in org.apache.calcite.linq4j.function"><code>Function1</code></a> returning a <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Long</code></a>.</div>
</li>
</ul>
<a id="adapt(org.apache.calcite.linq4j.function.FloatFunction1)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>adapt</h4>
<pre class="methodSignature">public static&nbsp;&lt;T1&gt;&nbsp;<a href="Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;T1,&#8203;<a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang" class="externalLink">Float</a>&gt;&nbsp;adapt&#8203;(<a href="FloatFunction1.html" title="interface in org.apache.calcite.linq4j.function">FloatFunction1</a>&lt;T1&gt;&nbsp;f)</pre>
<div class="block">Adapts a <a href="FloatFunction1.html" title="interface in org.apache.calcite.linq4j.function"><code>FloatFunction1</code></a> (that returns a <code>float</code>) to
an <a href="Function1.html" title="interface in org.apache.calcite.linq4j.function"><code>Function1</code></a> returning a <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Float</code></a>.</div>
</li>
</ul>
<a id="adapt(java.util.List,org.apache.calcite.linq4j.function.Function1)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>adapt</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
public static&nbsp;&lt;T1,&#8203;R&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;R&gt;&nbsp;adapt&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;T1&gt;&nbsp;list,
<a href="Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;T1,&#8203;R&gt;&nbsp;f)</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <code>Lists.transform(java.util.List&lt;F&gt;, com.google.common.base.Function&lt;? super F, ? extends T&gt;)</code></div>
</div>
<div class="block">Creates a view of a list that applies a function to each element.</div>
</li>
</ul>
<a id="adapt(java.lang.Object[],org.apache.calcite.linq4j.function.Function1)">
<!-- -->
</a><a id="adapt(T[],org.apache.calcite.linq4j.function.Function1)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>adapt</h4>
<pre class="methodSignature"><a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
public static&nbsp;&lt;T,&#8203;R&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;R&gt;&nbsp;adapt&#8203;(T[]&nbsp;ts,
<a href="Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;T,&#8203;R&gt;&nbsp;f)</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">Use <code>Lists.transform(java.util.List&lt;F&gt;, com.google.common.base.Function&lt;? super F, ? extends T&gt;)</code>
and <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Arrays.html?is-external=true#asList(T...)" title="class or interface in java.util" class="externalLink"><code>Arrays.asList(Object[])</code></a></div>
</div>
<div class="block">Creates a view of an array that applies a function to each element.</div>
</li>
</ul>
<a id="apply(java.util.List,org.apache.calcite.linq4j.function.Function1)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>apply</h4>
<pre class="methodSignature">public static&nbsp;&lt;T1,&#8203;R&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;R&gt;&nbsp;apply&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;T1&gt;&nbsp;list,
<a href="Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;T1,&#8203;R&gt;&nbsp;f)</pre>
<div class="block">Creates a copy of a list, applying a function to each element.</div>
</li>
</ul>
<a id="filter(java.util.List,org.apache.calcite.linq4j.function.Predicate1)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>filter</h4>
<pre class="methodSignature">public static&nbsp;&lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;filter&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;list,
<a href="Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;E&gt;&nbsp;predicate)</pre>
<div class="block">Returns a list that contains only elements of <code>list</code> that match
<code>predicate</code>. Avoids allocating a list if all elements match or no
elements match.</div>
</li>
</ul>
<a id="exists(java.util.List,org.apache.calcite.linq4j.function.Predicate1)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>exists</h4>
<pre class="methodSignature">public static&nbsp;&lt;E&gt;&nbsp;boolean&nbsp;exists&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;? extends E&gt;&nbsp;list,
<a href="Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;E&gt;&nbsp;predicate)</pre>
<div class="block">Returns whether there is an element in <code>list</code> for which
<code>predicate</code> is true.</div>
</li>
</ul>
<a id="all(java.util.List,org.apache.calcite.linq4j.function.Predicate1)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>all</h4>
<pre class="methodSignature">public static&nbsp;&lt;E&gt;&nbsp;boolean&nbsp;all&#8203;(<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;? extends E&gt;&nbsp;list,
<a href="Predicate1.html" title="interface in org.apache.calcite.linq4j.function">Predicate1</a>&lt;E&gt;&nbsp;predicate)</pre>
<div class="block">Returns whether <code>predicate</code> is true for all elements of
<code>list</code>.</div>
</li>
</ul>
<a id="generate(int,java.util.function.IntFunction)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generate</h4>
<pre class="methodSignature">public static&nbsp;&lt;E&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;E&gt;&nbsp;generate&#8203;(int&nbsp;size,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/function/IntFunction.html?is-external=true" title="class or interface in java.util.function" class="externalLink">IntFunction</a>&lt;E&gt;&nbsp;fn)</pre>
<div class="block">Returns a list generated by applying a function to each index between
0 and <code>size</code> - 1.</div>
</li>
</ul>
<a id="ignore0()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ignore0</h4>
<pre class="methodSignature">public static&nbsp;&lt;R&gt;&nbsp;<a href="Function0.html" title="interface in org.apache.calcite.linq4j.function">Function0</a>&lt;R&gt;&nbsp;ignore0()</pre>
<div class="block">Returns a function of arity 0 that does nothing.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>R</code> - Return type</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Function that does nothing.</dd>
</dl>
</li>
</ul>
<a id="ignore1()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ignore1</h4>
<pre class="methodSignature">public static&nbsp;&lt;R,&#8203;T0&gt;&nbsp;<a href="Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;R,&#8203;T0&gt;&nbsp;ignore1()</pre>
<div class="block">Returns a function of arity 1 that does nothing.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>R</code> - Return type</dd>
<dd><code>T0</code> - Type of parameter 0</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Function that does nothing.</dd>
</dl>
</li>
</ul>
<a id="ignore2()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ignore2</h4>
<pre class="methodSignature">public static&nbsp;&lt;R,&#8203;T0,&#8203;T1&gt;&nbsp;<a href="Function2.html" title="interface in org.apache.calcite.linq4j.function">Function2</a>&lt;R,&#8203;T0,&#8203;T1&gt;&nbsp;ignore2()</pre>
<div class="block">Returns a function of arity 2 that does nothing.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>R</code> - Return type</dd>
<dd><code>T0</code> - Type of parameter 0</dd>
<dd><code>T1</code> - Type of parameter 1</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Function that does nothing.</dd>
</dl>
</li>
</ul>
<a id="nullsComparator(boolean,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nullsComparator</h4>
<pre class="methodSignature">public static&nbsp;&lt;T extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a>&lt;T&gt;&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a>&lt;T&gt;&nbsp;nullsComparator&#8203;(boolean&nbsp;nullsFirst,
boolean&nbsp;reverse)</pre>
<div class="block">Returns a <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Comparator</code></a> that handles null values.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>nullsFirst</code> - Whether nulls come before all other values</dd>
<dd><code>reverse</code> - Whether to reverse the usual order of <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Comparable</code></a>s</dd>
</dl>
</li>
</ul>
<a id="nullsComparator(boolean,boolean,java.util.Comparator)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nullsComparator</h4>
<pre class="methodSignature">public static&nbsp;&lt;T extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a>&lt;T&gt;&gt;&nbsp;<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a>&lt;T&gt;&nbsp;nullsComparator&#8203;(boolean&nbsp;nullsFirst,
boolean&nbsp;reverse,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a>&lt;T&gt;&nbsp;comparator)</pre>
<div class="block">Returns a <a href="https://docs.oracle.com/javase/9/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Comparator</code></a> that handles null values.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>nullsFirst</code> - Whether nulls come before all other values</dd>
<dd><code>reverse</code> - Whether to reverse the usual order of <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>Comparable</code></a>s</dd>
<dd><code>comparator</code> - Comparator to be used for comparison</dd>
</dl>
</li>
</ul>
<a id="identityComparer()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>identityComparer</h4>
<pre class="methodSignature">public static&nbsp;&lt;T&gt;&nbsp;<a href="EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;T&gt;&nbsp;identityComparer()</pre>
<div class="block">Returns an <a href="EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function"><code>EqualityComparer</code></a> that uses object identity and hash
code.</div>
</li>
</ul>
<a id="arrayComparer()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>arrayComparer</h4>
<pre class="methodSignature">public static&nbsp;&lt;T&gt;&nbsp;<a href="EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;T[]&gt;&nbsp;arrayComparer()</pre>
<div class="block">Returns an <a href="EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function"><code>EqualityComparer</code></a> that works on arrays of objects.</div>
</li>
</ul>
<a id="selectorComparer(org.apache.calcite.linq4j.function.Function1)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>selectorComparer</h4>
<pre class="methodSignature">public static&nbsp;&lt;T,&#8203;T2&gt;&nbsp;<a href="EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function">EqualityComparer</a>&lt;T&gt;&nbsp;selectorComparer&#8203;(<a href="Function1.html" title="interface in org.apache.calcite.linq4j.function">Function1</a>&lt;T,&#8203;T2&gt;&nbsp;selector)</pre>
<div class="block">Returns an <a href="EqualityComparer.html" title="interface in org.apache.calcite.linq4j.function"><code>EqualityComparer</code></a> that uses a selector function.</div>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><b>Apache Calcite</b></div>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &copy; 2012-2020 Apache Software Foundation. All Rights Reserved.</small></p>
</footer>
</body>
</html>