blob: 39c5e1723e3c33fdd73f2cd1d74129a76898c6d8 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="zh">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Linq4j (Apache Calcite calcite API)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Linq4j (Apache Calcite calcite API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":41,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":41,"i17":9,"i18":9,"i19":9,"i20":9};
var tabs = {65535:["t0","所有方法"],1:["t1","静态方法"],8:["t4","具体方法"],32:["t6","已过时的方法"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>您的浏览器已禁用 JavaScript。</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="导航">
<li><a href="../../../../overview-summary.html">概览</a></li>
<li><a href="package-summary.html">程序包</a></li>
<li class="navBarCell1Rev"></li>
<li><a href="package-tree.html"></a></li>
<li><a href="../../../../deprecated-list.html">已过时</a></li>
<li><a href="../../../../index-all.html">索引</a></li>
<li><a href="../../../../help-doc.html">帮助</a></li>
</ul>
<div class="aboutLanguage"><b>Apache Calcite</b></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/calcite/linq4j/JoinType.html" title="org.apache.calcite.linq4j中的枚举"><span class="typeNameLink">上一个类</span></a></li>
<li><a href="../../../../org/apache/calcite/linq4j/Lookup.html" title="org.apache.calcite.linq4j中的接口"><span class="typeNameLink">下一个类</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/calcite/linq4j/Linq4j.html" target="_top">框架</a></li>
<li><a href="Linq4j.html" target="_top">无框架</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">所有类</a></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>
</div>
<div>
<ul class="subNavList">
<li>概要:&nbsp;</li>
<li>嵌套&nbsp;|&nbsp;</li>
<li><a href="#field.summary">字段</a>&nbsp;|&nbsp;</li>
<li>构造器&nbsp;|&nbsp;</li>
<li><a href="#method.summary">方法</a></li>
</ul>
<ul class="subNavList">
<li>详细资料:&nbsp;</li>
<li><a href="#field.detail">字段</a>&nbsp;|&nbsp;</li>
<li>构造器&nbsp;|&nbsp;</li>
<li><a href="#method.detail">方法</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.calcite.linq4j</div>
<h2 title="类 Linq4j" class="title">类 Linq4j</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.calcite.linq4j.Linq4j</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">Linq4j</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a></pre>
<div class="block">Utility and factory methods for Linq4j.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>字段概要</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="字段概要表, 列表字段和解释">
<caption><span>字段</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">限定符和类型</th>
<th class="colLast" scope="col">字段和说明</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/calcite/linq4j/QueryProvider.html" title="org.apache.calcite.linq4j中的接口">QueryProvider</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/linq4j/Linq4j.html#DEFAULT_PROVIDER">DEFAULT_PROVIDER</a></span></code>
<div class="block">Query provider that simply executes a <a href="../../../../org/apache/calcite/linq4j/Queryable.html" title="org.apache.calcite.linq4j中的接口"><code>Queryable</code></a> by calling its
enumerator method; does not attempt optimization.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口">Enumerable</a>&lt;?&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/linq4j/Linq4j.html#EMPTY_ENUMERABLE">EMPTY_ENUMERABLE</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>方法概要</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
<caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">静态方法</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">已过时的方法</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">限定符和类型</th>
<th class="colLast" scope="col">方法和说明</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口">Enumerable</a>&lt;T&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/linq4j/Linq4j.html#asEnumerable-java.util.Collection-">asEnumerable</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="java.util中的类或接口">Collection</a>&lt;T&gt;&nbsp;collection)</code>
<div class="block">Adapter that converts an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="java.util中的类或接口"><code>Collection</code></a> into an <a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口"><code>Enumerable</code></a>.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口">Enumerable</a>&lt;T&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/linq4j/Linq4j.html#asEnumerable-java.lang.Iterable-">asEnumerable</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;T&gt;&nbsp;iterable)</code>
<div class="block">Adapter that converts an <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口"><code>Iterable</code></a> into an <a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口"><code>Enumerable</code></a>.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口">Enumerable</a>&lt;T&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/linq4j/Linq4j.html#asEnumerable-java.util.List-">asEnumerable</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;T&gt;&nbsp;list)</code>
<div class="block">Adapter that converts an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口"><code>List</code></a> into an <a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口"><code>Enumerable</code></a>.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口">Enumerable</a>&lt;T&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/linq4j/Linq4j.html#asEnumerable-T:A-">asEnumerable</a></span>(T[]&nbsp;ts)</code>
<div class="block">Adapter that converts an array into an enumerable.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static &lt;TSource,TResult&gt;<br><a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口">Enumerable</a>&lt;TResult&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/linq4j/Linq4j.html#cast-java.lang.Iterable-java.lang.Class-">cast</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;TSource&gt;&nbsp;source,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="java.lang中的类或接口">Class</a>&lt;TResult&gt;&nbsp;clazz)</code>
<div class="block">Converts the elements of a given Iterable to the specified type.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口">Enumerable</a>&lt;E&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/linq4j/Linq4j.html#concat-java.util.List-">concat</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;<a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口">Enumerable</a>&lt;E&gt;&gt;&nbsp;enumerableList)</code>
<div class="block">Concatenates two or more <a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口"><code>Enumerable</code></a>s to form a composite
enumerable that contains the union of their elements.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口">Enumerable</a>&lt;T&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/linq4j/Linq4j.html#emptyEnumerable--">emptyEnumerable</a></span>()</code>
<div class="block">Returns an <a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口"><code>Enumerable</code></a> that has no elements.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerator.html" title="org.apache.calcite.linq4j中的接口">Enumerator</a>&lt;T&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/linq4j/Linq4j.html#emptyEnumerator--">emptyEnumerator</a></span>()</code>
<div class="block">Returns an <a href="../../../../org/apache/calcite/linq4j/Enumerator.html" title="org.apache.calcite.linq4j中的接口"><code>Enumerator</code></a> that has no elements.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static &lt;V&gt;&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerator.html" title="org.apache.calcite.linq4j中的接口">Enumerator</a>&lt;V&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/linq4j/Linq4j.html#enumerator-java.util.Collection-">enumerator</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="java.util中的类或接口">Collection</a>&lt;? extends V&gt;&nbsp;values)</code>
<div class="block">Adapter that converts a collection into an enumerator.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="java.util中的类或接口">Iterator</a>&lt;T&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/linq4j/Linq4j.html#enumeratorIterator-org.apache.calcite.linq4j.Enumerator-">enumeratorIterator</a></span>(<a href="../../../../org/apache/calcite/linq4j/Enumerator.html" title="org.apache.calcite.linq4j中的接口">Enumerator</a>&lt;T&gt;&nbsp;enumerator)</code>
<div class="block">Adapter that converts an enumerator into an iterator.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/linq4j/Linq4j.html#equals-T-T-">equals</a></span>(T&nbsp;t0,
T&nbsp;t1)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Method.html?is-external=true" title="java.lang.reflect中的类或接口">Method</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/linq4j/Linq4j.html#getMethod-java.lang.String-java.lang.String-java.lang.Class...-">getMethod</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;className,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;methodName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="java.lang中的类或接口">Class</a>...&nbsp;parameterTypes)</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerator.html" title="org.apache.calcite.linq4j中的接口">Enumerator</a>&lt;T&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/linq4j/Linq4j.html#iterableEnumerator-java.lang.Iterable-">iterableEnumerator</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;? extends T&gt;&nbsp;iterable)</code>
<div class="block">Adapter that converts an iterable into an enumerator.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>static &lt;TSource,TResult&gt;<br><a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口">Enumerable</a>&lt;TResult&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/linq4j/Linq4j.html#ofType-java.lang.Iterable-java.lang.Class-">ofType</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;TSource&gt;&nbsp;source,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="java.lang中的类或接口">Class</a>&lt;TResult&gt;&nbsp;clazz)</code>
<div class="block">Returns elements of a given <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口"><code>Iterable</code></a> that are of the specified
type.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;T&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/linq4j/Linq4j.html#product-java.lang.Iterable-">product</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;T&gt;&gt;&nbsp;iterables)</code>
<div class="block">Returns the cartesian product of an iterable of iterables.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerator.html" title="org.apache.calcite.linq4j中的接口">Enumerator</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;T&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/linq4j/Linq4j.html#product-java.util.List-">product</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;<a href="../../../../org/apache/calcite/linq4j/Enumerator.html" title="org.apache.calcite.linq4j中的接口">Enumerator</a>&lt;T&gt;&gt;&nbsp;enumerators)</code>
<div class="block">Returns an enumerator that is the cartesian product of the given
enumerators.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;T</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/linq4j/Linq4j.html#requireNonNull-T-">requireNonNull</a></span>(T&nbsp;o)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口">Enumerable</a>&lt;T&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/linq4j/Linq4j.html#singletonEnumerable-T-">singletonEnumerable</a></span>(T&nbsp;element)</code>
<div class="block">Returns an <a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口"><code>Enumerable</code></a> that has one element.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerator.html" title="org.apache.calcite.linq4j中的接口">Enumerator</a>&lt;T&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/linq4j/Linq4j.html#singletonEnumerator-T-">singletonEnumerator</a></span>(T&nbsp;element)</code>
<div class="block">Returns an <a href="../../../../org/apache/calcite/linq4j/Enumerator.html" title="org.apache.calcite.linq4j中的接口"><code>Enumerator</code></a> that has one element.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerator.html" title="org.apache.calcite.linq4j中的接口">Enumerator</a>&lt;T&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/linq4j/Linq4j.html#singletonNullEnumerator--">singletonNullEnumerator</a></span>()</code>
<div class="block">Returns an <a href="../../../../org/apache/calcite/linq4j/Enumerator.html" title="org.apache.calcite.linq4j中的接口"><code>Enumerator</code></a> that has one null element.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>static &lt;F,E&gt;&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerator.html" title="org.apache.calcite.linq4j中的接口">Enumerator</a>&lt;E&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/linq4j/Linq4j.html#transform-org.apache.calcite.linq4j.Enumerator-org.apache.calcite.linq4j.function.Function1-">transform</a></span>(<a href="../../../../org/apache/calcite/linq4j/Enumerator.html" title="org.apache.calcite.linq4j中的接口">Enumerator</a>&lt;F&gt;&nbsp;enumerator,
<a href="../../../../org/apache/calcite/linq4j/function/Function1.html" title="org.apache.calcite.linq4j.function中的接口">Function1</a>&lt;F,E&gt;&nbsp;func)</code>
<div class="block">Applies a function to each element of an Enumerator.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>从类继承的方法&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="java.lang中的类或接口">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="java.lang中的类或接口">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="java.lang中的类或接口">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="java.lang中的类或接口">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="java.lang中的类或接口">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="java.lang中的类或接口">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="java.lang中的类或接口">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="java.lang中的类或接口">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="java.lang中的类或接口">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="java.lang中的类或接口">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="java.lang中的类或接口">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>字段详细资料</h3>
<a name="DEFAULT_PROVIDER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_PROVIDER</h4>
<pre>public static final&nbsp;<a href="../../../../org/apache/calcite/linq4j/QueryProvider.html" title="org.apache.calcite.linq4j中的接口">QueryProvider</a> DEFAULT_PROVIDER</pre>
<div class="block">Query provider that simply executes a <a href="../../../../org/apache/calcite/linq4j/Queryable.html" title="org.apache.calcite.linq4j中的接口"><code>Queryable</code></a> by calling its
enumerator method; does not attempt optimization.</div>
</li>
</ul>
<a name="EMPTY_ENUMERABLE">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>EMPTY_ENUMERABLE</h4>
<pre>public static final&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口">Enumerable</a>&lt;?&gt; EMPTY_ENUMERABLE</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>方法详细资料</h3>
<a name="getMethod-java.lang.String-java.lang.String-java.lang.Class...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMethod</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Method.html?is-external=true" title="java.lang.reflect中的类或接口">Method</a>&nbsp;getMethod(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;className,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;methodName,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="java.lang中的类或接口">Class</a>...&nbsp;parameterTypes)</pre>
</li>
</ul>
<a name="enumeratorIterator-org.apache.calcite.linq4j.Enumerator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>enumeratorIterator</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="java.util中的类或接口">Iterator</a>&lt;T&gt;&nbsp;enumeratorIterator(<a href="../../../../org/apache/calcite/linq4j/Enumerator.html" title="org.apache.calcite.linq4j中的接口">Enumerator</a>&lt;T&gt;&nbsp;enumerator)</pre>
<div class="block">Adapter that converts an enumerator into an iterator.
<p><b>WARNING</b>: The iterator returned by this method does not call
<a href="../../../../org/apache/calcite/linq4j/Enumerator.html#close--"><code>Enumerator.close()</code></a>, so it is not safe to
use with an enumerator that allocates resources.</p></div>
<dl>
<dt><span class="paramLabel">类型参数:</span></dt>
<dd><code>T</code> - Element type</dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>enumerator</code> - Enumerator</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Iterator</dd>
</dl>
</li>
</ul>
<a name="iterableEnumerator-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>iterableEnumerator</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerator.html" title="org.apache.calcite.linq4j中的接口">Enumerator</a>&lt;T&gt;&nbsp;iterableEnumerator(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;? extends T&gt;&nbsp;iterable)</pre>
<div class="block">Adapter that converts an iterable into an enumerator.</div>
<dl>
<dt><span class="paramLabel">类型参数:</span></dt>
<dd><code>T</code> - Element type</dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>iterable</code> - Iterable</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>enumerator</dd>
</dl>
</li>
</ul>
<a name="asEnumerable-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asEnumerable</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口">Enumerable</a>&lt;T&gt;&nbsp;asEnumerable(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;T&gt;&nbsp;list)</pre>
<div class="block">Adapter that converts an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口"><code>List</code></a> into an <a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口"><code>Enumerable</code></a>.</div>
<dl>
<dt><span class="paramLabel">类型参数:</span></dt>
<dd><code>T</code> - Element type</dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>list</code> - List</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>enumerable</dd>
</dl>
</li>
</ul>
<a name="asEnumerable-java.util.Collection-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asEnumerable</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口">Enumerable</a>&lt;T&gt;&nbsp;asEnumerable(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="java.util中的类或接口">Collection</a>&lt;T&gt;&nbsp;collection)</pre>
<div class="block">Adapter that converts an <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="java.util中的类或接口"><code>Collection</code></a> into an <a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口"><code>Enumerable</code></a>.
<p>It uses more efficient implementations if the iterable happens to
be a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口"><code>List</code></a>.</p></div>
<dl>
<dt><span class="paramLabel">类型参数:</span></dt>
<dd><code>T</code> - Element type</dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>collection</code> - Collection</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>enumerable</dd>
</dl>
</li>
</ul>
<a name="asEnumerable-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asEnumerable</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口">Enumerable</a>&lt;T&gt;&nbsp;asEnumerable(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;T&gt;&nbsp;iterable)</pre>
<div class="block">Adapter that converts an <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口"><code>Iterable</code></a> into an <a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口"><code>Enumerable</code></a>.
<p>It uses more efficient implementations if the iterable happens to
be a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="java.util中的类或接口"><code>Collection</code></a> or a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口"><code>List</code></a>.</p></div>
<dl>
<dt><span class="paramLabel">类型参数:</span></dt>
<dd><code>T</code> - Element type</dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>iterable</code> - Iterable</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>enumerable</dd>
</dl>
</li>
</ul>
<a name="asEnumerable-java.lang.Object:A-">
<!-- -->
</a><a name="asEnumerable-T:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asEnumerable</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口">Enumerable</a>&lt;T&gt;&nbsp;asEnumerable(T[]&nbsp;ts)</pre>
<div class="block">Adapter that converts an array into an enumerable.</div>
<dl>
<dt><span class="paramLabel">类型参数:</span></dt>
<dd><code>T</code> - Element type</dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>ts</code> - Array</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>enumerable</dd>
</dl>
</li>
</ul>
<a name="enumerator-java.util.Collection-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>enumerator</h4>
<pre>public static&nbsp;&lt;V&gt;&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerator.html" title="org.apache.calcite.linq4j中的接口">Enumerator</a>&lt;V&gt;&nbsp;enumerator(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="java.util中的类或接口">Collection</a>&lt;? extends V&gt;&nbsp;values)</pre>
<div class="block">Adapter that converts a collection into an enumerator.</div>
<dl>
<dt><span class="paramLabel">类型参数:</span></dt>
<dd><code>V</code> - Element type</dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>values</code> - Collection</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Enumerator over the collection</dd>
</dl>
</li>
</ul>
<a name="transform-org.apache.calcite.linq4j.Enumerator-org.apache.calcite.linq4j.function.Function1-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>transform</h4>
<pre>public static&nbsp;&lt;F,E&gt;&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerator.html" title="org.apache.calcite.linq4j中的接口">Enumerator</a>&lt;E&gt;&nbsp;transform(<a href="../../../../org/apache/calcite/linq4j/Enumerator.html" title="org.apache.calcite.linq4j中的接口">Enumerator</a>&lt;F&gt;&nbsp;enumerator,
<a href="../../../../org/apache/calcite/linq4j/function/Function1.html" title="org.apache.calcite.linq4j.function中的接口">Function1</a>&lt;F,E&gt;&nbsp;func)</pre>
<div class="block">Applies a function to each element of an Enumerator.</div>
<dl>
<dt><span class="paramLabel">类型参数:</span></dt>
<dd><code>F</code> - Backing element type</dd>
<dd><code>E</code> - Element type</dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>enumerator</code> - Backing enumerator</dd>
<dd><code>func</code> - Transform function</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Enumerator</dd>
</dl>
</li>
</ul>
<a name="cast-java.lang.Iterable-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cast</h4>
<pre>public static&nbsp;&lt;TSource,TResult&gt;&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口">Enumerable</a>&lt;TResult&gt;&nbsp;cast(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;TSource&gt;&nbsp;source,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="java.lang中的类或接口">Class</a>&lt;TResult&gt;&nbsp;clazz)</pre>
<div class="block">Converts the elements of a given Iterable to the specified type.
<p>This method is implemented by using deferred execution. The immediate
return value is an object that stores all the information that is
required to perform the action. The query represented by this method is
not executed until the object is enumerated either by calling its
<a href="../../../../org/apache/calcite/linq4j/RawEnumerable.html#enumerator--"><code>RawEnumerable.enumerator()</code></a> method directly or by using
<code>for (... in ...)</code>.
<p>Since standard Java <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="java.util中的类或接口"><code>Collection</code></a> objects implement the
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口"><code>Iterable</code></a> interface, the <code>cast</code> method enables the standard
query operators to be invoked on collections
(including <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口"><code>List</code></a> and <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="java.util中的类或接口"><code>Set</code></a>) by supplying
the necessary type information. For example, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="java.util中的类或接口"><code>ArrayList</code></a> does not
implement <a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口"><code>Enumerable</code></a>&lt;F&gt;, but you can invoke
<blockquote><code>Linq4j.cast(list, Integer.class)</code></blockquote>
<p>to convert the list of an enumerable that can be queried using the
standard query operators.
<p>If an element cannot be cast to type &lt;TResult&gt;, this method will
throw a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassCastException.html?is-external=true" title="java.lang中的类或接口"><code>ClassCastException</code></a>. To obtain only those elements that
can be cast to type TResult, use the <a href="../../../../org/apache/calcite/linq4j/Linq4j.html#ofType-java.lang.Iterable-java.lang.Class-"><code>ofType(java.lang.Iterable&lt;TSource&gt;, java.lang.Class&lt;TResult&gt;)</code></a> method instead.</div>
<dl>
<dt><span class="seeLabel">另请参阅:</span></dt>
<dd><a href="../../../../org/apache/calcite/linq4j/ExtendedEnumerable.html#cast-java.lang.Class-"><code>ExtendedEnumerable.cast(Class)</code></a>,
<a href="../../../../org/apache/calcite/linq4j/Linq4j.html#ofType-java.lang.Iterable-java.lang.Class-"><code>ofType(java.lang.Iterable&lt;TSource&gt;, java.lang.Class&lt;TResult&gt;)</code></a>,
<a href="../../../../org/apache/calcite/linq4j/Linq4j.html#asEnumerable-java.lang.Iterable-"><code>asEnumerable(Iterable)</code></a></dd>
</dl>
</li>
</ul>
<a name="ofType-java.lang.Iterable-java.lang.Class-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ofType</h4>
<pre>public static&nbsp;&lt;TSource,TResult&gt;&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口">Enumerable</a>&lt;TResult&gt;&nbsp;ofType(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;TSource&gt;&nbsp;source,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="java.lang中的类或接口">Class</a>&lt;TResult&gt;&nbsp;clazz)</pre>
<div class="block">Returns elements of a given <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口"><code>Iterable</code></a> that are of the specified
type.
<p>This method is implemented by using deferred execution. The immediate
return value is an object that stores all the information that is
required to perform the action. The query represented by this method is
not executed until the object is enumerated either by calling its
<a href="../../../../org/apache/calcite/linq4j/RawEnumerable.html#enumerator--"><code>RawEnumerable.enumerator()</code></a> method directly or by using
<code>for (... in ...)</code>.
<p>The <code>ofType</code> method returns only those elements in source that
can be cast to type TResult. To instead receive an exception if an
element cannot be cast to type TResult, use
<a href="../../../../org/apache/calcite/linq4j/Linq4j.html#cast-java.lang.Iterable-java.lang.Class-"><code>cast(Iterable, Class)</code></a>.</p>
<p>Since standard Java <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="java.util中的类或接口"><code>Collection</code></a> objects implement the
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口"><code>Iterable</code></a> interface, the <code>cast</code> method enables the standard
query operators to be invoked on collections
(including <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口"><code>List</code></a> and <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="java.util中的类或接口"><code>Set</code></a>) by supplying
the necessary type information. For example, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="java.util中的类或接口"><code>ArrayList</code></a> does not
implement <a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口"><code>Enumerable</code></a>&lt;F&gt;, but you can invoke
<blockquote><code>Linq4j.ofType(list, Integer.class)</code></blockquote>
<p>to convert the list of an enumerable that can be queried using the
standard query operators.</div>
<dl>
<dt><span class="seeLabel">另请参阅:</span></dt>
<dd><a href="../../../../org/apache/calcite/linq4j/ExtendedEnumerable.html#cast-java.lang.Class-"><code>ExtendedEnumerable.cast(Class)</code></a>,
<a href="../../../../org/apache/calcite/linq4j/Linq4j.html#cast-java.lang.Iterable-java.lang.Class-"><code>cast(java.lang.Iterable&lt;TSource&gt;, java.lang.Class&lt;TResult&gt;)</code></a></dd>
</dl>
</li>
</ul>
<a name="singletonEnumerable-java.lang.Object-">
<!-- -->
</a><a name="singletonEnumerable-T-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>singletonEnumerable</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口">Enumerable</a>&lt;T&gt;&nbsp;singletonEnumerable(T&nbsp;element)</pre>
<div class="block">Returns an <a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口"><code>Enumerable</code></a> that has one element.</div>
<dl>
<dt><span class="paramLabel">类型参数:</span></dt>
<dd><code>T</code> - Element type</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Singleton enumerable</dd>
</dl>
</li>
</ul>
<a name="singletonEnumerator-java.lang.Object-">
<!-- -->
</a><a name="singletonEnumerator-T-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>singletonEnumerator</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerator.html" title="org.apache.calcite.linq4j中的接口">Enumerator</a>&lt;T&gt;&nbsp;singletonEnumerator(T&nbsp;element)</pre>
<div class="block">Returns an <a href="../../../../org/apache/calcite/linq4j/Enumerator.html" title="org.apache.calcite.linq4j中的接口"><code>Enumerator</code></a> that has one element.</div>
<dl>
<dt><span class="paramLabel">类型参数:</span></dt>
<dd><code>T</code> - Element type</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Singleton enumerator</dd>
</dl>
</li>
</ul>
<a name="singletonNullEnumerator--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>singletonNullEnumerator</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerator.html" title="org.apache.calcite.linq4j中的接口">Enumerator</a>&lt;T&gt;&nbsp;singletonNullEnumerator()</pre>
<div class="block">Returns an <a href="../../../../org/apache/calcite/linq4j/Enumerator.html" title="org.apache.calcite.linq4j中的接口"><code>Enumerator</code></a> that has one null element.</div>
<dl>
<dt><span class="paramLabel">类型参数:</span></dt>
<dd><code>T</code> - Element type</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Singleton enumerator</dd>
</dl>
</li>
</ul>
<a name="emptyEnumerable--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>emptyEnumerable</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口">Enumerable</a>&lt;T&gt;&nbsp;emptyEnumerable()</pre>
<div class="block">Returns an <a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口"><code>Enumerable</code></a> that has no elements.</div>
<dl>
<dt><span class="paramLabel">类型参数:</span></dt>
<dd><code>T</code> - Element type</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Empty enumerable</dd>
</dl>
</li>
</ul>
<a name="emptyEnumerator--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>emptyEnumerator</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerator.html" title="org.apache.calcite.linq4j中的接口">Enumerator</a>&lt;T&gt;&nbsp;emptyEnumerator()</pre>
<div class="block">Returns an <a href="../../../../org/apache/calcite/linq4j/Enumerator.html" title="org.apache.calcite.linq4j中的接口"><code>Enumerator</code></a> that has no elements.</div>
<dl>
<dt><span class="paramLabel">类型参数:</span></dt>
<dd><code>T</code> - Element type</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Empty enumerator</dd>
</dl>
</li>
</ul>
<a name="concat-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>concat</h4>
<pre>public static&nbsp;&lt;E&gt;&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口">Enumerable</a>&lt;E&gt;&nbsp;concat(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;<a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口">Enumerable</a>&lt;E&gt;&gt;&nbsp;enumerableList)</pre>
<div class="block">Concatenates two or more <a href="../../../../org/apache/calcite/linq4j/Enumerable.html" title="org.apache.calcite.linq4j中的接口"><code>Enumerable</code></a>s to form a composite
enumerable that contains the union of their elements.</div>
<dl>
<dt><span class="paramLabel">类型参数:</span></dt>
<dd><code>E</code> - Element type</dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>enumerableList</code> - List of enumerable objects</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Composite enumerator</dd>
</dl>
</li>
</ul>
<a name="product-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>product</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="../../../../org/apache/calcite/linq4j/Enumerator.html" title="org.apache.calcite.linq4j中的接口">Enumerator</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;T&gt;&gt;&nbsp;product(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;<a href="../../../../org/apache/calcite/linq4j/Enumerator.html" title="org.apache.calcite.linq4j中的接口">Enumerator</a>&lt;T&gt;&gt;&nbsp;enumerators)</pre>
<div class="block">Returns an enumerator that is the cartesian product of the given
enumerators.
<p>For example, given enumerator A that returns {"a", "b", "c"} and
enumerator B that returns {"x", "y"}, product(List(A, B)) will return
{List("a", "x"), List("a", "y"),
List("b", "x"), List("b", "y"),
List("c", "x"), List("c", "y")}.</p>
<p>Notice that the cardinality of the result is the product of the
cardinality of the inputs. The enumerators A and B have 3 and 2
elements respectively, and the result has 3 * 2 = 6 elements.
This is always the case. In
particular, if any of the enumerators is empty, the result is empty.</p></div>
<dl>
<dt><span class="paramLabel">类型参数:</span></dt>
<dd><code>T</code> - Element type</dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>enumerators</code> - List of enumerators</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>Enumerator over the cartesian product</dd>
</dl>
</li>
</ul>
<a name="product-java.lang.Iterable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>product</h4>
<pre>public static&nbsp;&lt;T&gt;&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="java.util中的类或接口">List</a>&lt;T&gt;&gt;&nbsp;product(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="java.lang中的类或接口">Iterable</a>&lt;T&gt;&gt;&nbsp;iterables)</pre>
<div class="block">Returns the cartesian product of an iterable of iterables.</div>
</li>
</ul>
<a name="equals-java.lang.Object-java.lang.Object-">
<!-- -->
</a><a name="equals-T-T-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public static&nbsp;&lt;T&gt;&nbsp;boolean&nbsp;equals(T&nbsp;t0,
T&nbsp;t1)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
<div class="block">Returns whether the arguments are equal to each other.
<p>Equivalent to <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Objects.html?is-external=true#equals-java.lang.Object-java.lang.Object-" title="java.util中的类或接口"><code>Objects.equals(java.lang.Object, java.lang.Object)</code></a> in JDK 1.7 and above.</div>
</li>
</ul>
<a name="requireNonNull-java.lang.Object-">
<!-- -->
</a><a name="requireNonNull-T-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>requireNonNull</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public static&nbsp;&lt;T&gt;&nbsp;T&nbsp;requireNonNull(T&nbsp;o)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
<div class="block">Throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/NullPointerException.html?is-external=true" title="java.lang中的类或接口"><code>NullPointerException</code></a> if argument is null, otherwise
returns argument.
<p>Equivalent to <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Objects.html?is-external=true#requireNonNull-T-" title="java.util中的类或接口"><code>Objects.requireNonNull(T)</code></a> in JDK 1.7 and
above.</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="导航">
<li><a href="../../../../overview-summary.html">概览</a></li>
<li><a href="package-summary.html">程序包</a></li>
<li class="navBarCell1Rev"></li>
<li><a href="package-tree.html"></a></li>
<li><a href="../../../../deprecated-list.html">已过时</a></li>
<li><a href="../../../../index-all.html">索引</a></li>
<li><a href="../../../../help-doc.html">帮助</a></li>
</ul>
<div class="aboutLanguage"><b>Apache Calcite</b></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/calcite/linq4j/JoinType.html" title="org.apache.calcite.linq4j中的枚举"><span class="typeNameLink">上一个类</span></a></li>
<li><a href="../../../../org/apache/calcite/linq4j/Lookup.html" title="org.apache.calcite.linq4j中的接口"><span class="typeNameLink">下一个类</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/calcite/linq4j/Linq4j.html" target="_top">框架</a></li>
<li><a href="Linq4j.html" target="_top">无框架</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">所有类</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>
</div>
<div>
<ul class="subNavList">
<li>概要:&nbsp;</li>
<li>嵌套&nbsp;|&nbsp;</li>
<li><a href="#field.summary">字段</a>&nbsp;|&nbsp;</li>
<li>构造器&nbsp;|&nbsp;</li>
<li><a href="#method.summary">方法</a></li>
</ul>
<ul class="subNavList">
<li>详细资料:&nbsp;</li>
<li><a href="#field.detail">字段</a>&nbsp;|&nbsp;</li>
<li>构造器&nbsp;|&nbsp;</li>
<li><a href="#method.detail">方法</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &copy; 2012-2020 Apache Software Foundation. All Rights Reserved.</small></p>
</body>
</html>