blob: 0b29b6e0eb160f6b56a40df8ffa93b8323330e52 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>PhysTypeImpl (Apache 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="PhysTypeImpl (Apache Calcite API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":9,"i23":9,"i24":9,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete 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="class-use/PhysTypeImpl.html">Use</a></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>
<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><a href="#constructor.summary">Constr</a>&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><a href="#constructor.detail">Constr</a>&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.adapter.enumerable</a></div>
<h2 title="Class PhysTypeImpl" class="title">Class PhysTypeImpl</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.apache.calcite.adapter.enumerable.PhysTypeImpl</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">PhysTypeImpl</span>
extends java.lang.Object
implements <a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></pre>
<div class="block">Implementation of <a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable"><code>PhysType</code></a>.</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>private java.util.List&lt;java.lang.Class&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fieldClasses">fieldClasses</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>(package private) <a href="JavaRowFormat.html" title="enum in org.apache.calcite.adapter.enumerable">JavaRowFormat</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#format">format</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private java.lang.reflect.Type</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#javaRowClass">javaRowClass</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rowType">rowType</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="../java/JavaTypeFactory.html" title="interface in org.apache.calcite.adapter.java">JavaTypeFactory</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#typeFactory">typeFactory</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.apache.calcite.adapter.java.JavaTypeFactory,org.apache.calcite.rel.type.RelDataType,java.lang.reflect.Type,org.apache.calcite.adapter.enumerable.JavaRowFormat)">PhysTypeImpl</a></span>&#8203;(<a href="../java/JavaTypeFactory.html" title="interface in org.apache.calcite.adapter.java">JavaTypeFactory</a>&nbsp;typeFactory,
<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType,
java.lang.reflect.Type&nbsp;javaRowClass,
<a href="JavaRowFormat.html" title="enum in org.apache.calcite.adapter.enumerable">JavaRowFormat</a>&nbsp;format)</code></th>
<td class="colLast">
<div class="block">Creates a PhysTypeImpl.</div>
</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="t2" class="tableTab"><span><a href="javascript:show(2);">Instance 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></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>java.util.List&lt;<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#accessors(org.apache.calcite.linq4j.tree.Expression,java.util.List)">accessors</a></span>&#8203;(<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;v1,
java.util.List&lt;java.lang.Integer&gt;&nbsp;argList)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#comparer()">comparer</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a expression that yields a comparer, or null if this type
is comparable.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#component(int)">component</a></span>&#8203;(int&nbsp;fieldOrdinal)</code></th>
<td class="colLast">
<div class="block">Returns the physical type of a given field's component type.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#convertTo(org.apache.calcite.linq4j.tree.Expression,org.apache.calcite.adapter.enumerable.JavaRowFormat)">convertTo</a></span>&#8203;(<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;exp,
<a href="JavaRowFormat.html" title="enum in org.apache.calcite.adapter.enumerable">JavaRowFormat</a>&nbsp;targetFormat)</code></th>
<td class="colLast">
<div class="block">Converts an enumerable of this physical type to an enumerable that uses
the <code>targetFormat</code> for representing its rows.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#convertTo(org.apache.calcite.linq4j.tree.Expression,org.apache.calcite.adapter.enumerable.PhysType)">convertTo</a></span>&#8203;(<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;exp,
<a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a>&nbsp;targetPhysType)</code></th>
<td class="colLast">
<div class="block">Converts an enumerable of this physical type to an enumerable that uses a
given physical type for its rows.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#field(int)">field</a></span>&#8203;(int&nbsp;ordinal)</code></th>
<td class="colLast">
<div class="block">Returns the physical type of a field.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>java.lang.Class</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fieldClass(int)">fieldClass</a></span>&#8203;(int&nbsp;field)</code></th>
<td class="colLast">
<div class="block">Returns the Java class of the field with the given ordinal.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fieldNullable(int)">fieldNullable</a></span>&#8203;(int&nbsp;field)</code></th>
<td class="colLast">
<div class="block">Returns whether a given field allows null values.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fieldReference(org.apache.calcite.linq4j.tree.Expression,int)">fieldReference</a></span>&#8203;(<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;expression,
int&nbsp;field)</code></th>
<td class="colLast">
<div class="block">Generates a reference to a given field in an expression.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fieldReference(org.apache.calcite.linq4j.tree.Expression,int,java.lang.reflect.Type)">fieldReference</a></span>&#8203;(<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;expression,
int&nbsp;field,
java.lang.reflect.Type&nbsp;storageType)</code></th>
<td class="colLast">
<div class="block">Generates a reference to a given field in an expression.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>private java.util.List&lt;<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fieldReferences(org.apache.calcite.linq4j.tree.Expression,java.util.List)">fieldReferences</a></span>&#8203;(<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;parameter,
java.util.List&lt;java.lang.Integer&gt;&nbsp;fields)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#generateAccessor(java.util.List)">generateAccessor</a></span>&#8203;(java.util.List&lt;java.lang.Integer&gt;&nbsp;fields)</code></th>
<td class="colLast">
<div class="block">Generates an accessor function for a given list of fields.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../util/Pair.html" title="class in org.apache.calcite.util">Pair</a>&lt;<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>,&#8203;<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#generateCollationKey(java.util.List)">generateCollationKey</a></span>&#8203;(java.util.List&lt;<a href="../../rel/RelFieldCollation.html" title="class in org.apache.calcite.rel">RelFieldCollation</a>&gt;&nbsp;collations)</code></th>
<td class="colLast">
<div class="block">Returns a lambda to create a collation key and a comparator.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#generateComparator(org.apache.calcite.rel.RelCollation)">generateComparator</a></span>&#8203;(<a href="../../rel/RelCollation.html" title="interface in org.apache.calcite.rel">RelCollation</a>&nbsp;collation)</code></th>
<td class="colLast">
<div class="block">Returns a comparator.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#generateSelector(org.apache.calcite.linq4j.tree.ParameterExpression,java.util.List)">generateSelector</a></span>&#8203;(<a href="../../linq4j/tree/ParameterExpression.html" title="class in org.apache.calcite.linq4j.tree">ParameterExpression</a>&nbsp;parameter,
java.util.List&lt;java.lang.Integer&gt;&nbsp;fields)</code></th>
<td class="colLast">
<div class="block">Generates a selector for the given fields from an expression, with the
default row format.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#generateSelector(org.apache.calcite.linq4j.tree.ParameterExpression,java.util.List,java.util.List,org.apache.calcite.adapter.enumerable.JavaRowFormat)">generateSelector</a></span>&#8203;(<a href="../../linq4j/tree/ParameterExpression.html" title="class in org.apache.calcite.linq4j.tree">ParameterExpression</a>&nbsp;parameter,
java.util.List&lt;java.lang.Integer&gt;&nbsp;fields,
java.util.List&lt;java.lang.Integer&gt;&nbsp;usedFields,
<a href="JavaRowFormat.html" title="enum in org.apache.calcite.adapter.enumerable">JavaRowFormat</a>&nbsp;targetFormat)</code></th>
<td class="colLast">
<div class="block">Generates a lambda expression that is a selector for the given fields from
an expression.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#generateSelector(org.apache.calcite.linq4j.tree.ParameterExpression,java.util.List,org.apache.calcite.adapter.enumerable.JavaRowFormat)">generateSelector</a></span>&#8203;(<a href="../../linq4j/tree/ParameterExpression.html" title="class in org.apache.calcite.linq4j.tree">ParameterExpression</a>&nbsp;parameter,
java.util.List&lt;java.lang.Integer&gt;&nbsp;fields,
<a href="JavaRowFormat.html" title="enum in org.apache.calcite.adapter.enumerable">JavaRowFormat</a>&nbsp;targetFormat)</code></th>
<td class="colLast">
<div class="block">Generates a lambda expression that is a selector for the given fields from
an expression.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="JavaRowFormat.html" title="enum in org.apache.calcite.adapter.enumerable">JavaRowFormat</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFormat()">getFormat</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the format.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>java.lang.reflect.Type</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getJavaFieldType(int)">getJavaFieldType</a></span>&#8203;(int&nbsp;index)</code></th>
<td class="colLast">
<div class="block">Returns the Java class that is used to store the field with the given
ordinal.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>java.lang.reflect.Type</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getJavaRowType()">getJavaRowType</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the Java type (often a Class) that represents a row.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code><a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRowType()">getRowType</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the SQL row type.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#makeNullable(boolean)">makeNullable</a></span>&#8203;(boolean&nbsp;nullable)</code></th>
<td class="colLast">
<div class="block">Returns a copy of this type that allows nulls if <code>nullable</code> is
true.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>(package private) static <a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#of(org.apache.calcite.adapter.java.JavaTypeFactory,java.lang.reflect.Type)">of</a></span>&#8203;(<a href="../java/JavaTypeFactory.html" title="interface in org.apache.calcite.adapter.java">JavaTypeFactory</a>&nbsp;typeFactory,
java.lang.reflect.Type&nbsp;javaRowClass)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>static <a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#of(org.apache.calcite.adapter.java.JavaTypeFactory,org.apache.calcite.rel.type.RelDataType,org.apache.calcite.adapter.enumerable.JavaRowFormat)">of</a></span>&#8203;(<a href="../java/JavaTypeFactory.html" title="interface in org.apache.calcite.adapter.java">JavaTypeFactory</a>&nbsp;typeFactory,
<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType,
<a href="JavaRowFormat.html" title="enum in org.apache.calcite.adapter.enumerable">JavaRowFormat</a>&nbsp;format)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>static <a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#of(org.apache.calcite.adapter.java.JavaTypeFactory,org.apache.calcite.rel.type.RelDataType,org.apache.calcite.adapter.enumerable.JavaRowFormat,boolean)">of</a></span>&#8203;(<a href="../java/JavaTypeFactory.html" title="interface in org.apache.calcite.adapter.java">JavaTypeFactory</a>&nbsp;typeFactory,
<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType,
<a href="JavaRowFormat.html" title="enum in org.apache.calcite.adapter.enumerable">JavaRowFormat</a>&nbsp;format,
boolean&nbsp;optimize)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#project(java.util.List,boolean,org.apache.calcite.adapter.enumerable.JavaRowFormat)">project</a></span>&#8203;(java.util.List&lt;java.lang.Integer&gt;&nbsp;integers,
boolean&nbsp;indicator,
<a href="JavaRowFormat.html" title="enum in org.apache.calcite.adapter.enumerable">JavaRowFormat</a>&nbsp;format)</code></th>
<td class="colLast">
<div class="block">Projects a given collection of fields from this input record, optionally
with indicator fields, into a particular preferred output format.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#project(java.util.List,org.apache.calcite.adapter.enumerable.JavaRowFormat)">project</a></span>&#8203;(java.util.List&lt;java.lang.Integer&gt;&nbsp;integers,
<a href="JavaRowFormat.html" title="enum in org.apache.calcite.adapter.enumerable">JavaRowFormat</a>&nbsp;format)</code></th>
<td class="colLast">
<div class="block">Projects a given collection of fields from this input record, into
a particular preferred output format.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code><a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#record(java.util.List)">record</a></span>&#8203;(java.util.List&lt;<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&gt;&nbsp;expressions)</code></th>
<td class="colLast">
<div class="block">Generates an expression that creates a record for a row, initializing
its fields with the given expressions.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code><a href="../../util/Pair.html" title="class in org.apache.calcite.util">Pair</a>&lt;java.lang.reflect.Type,&#8203;java.util.List&lt;<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&gt;&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#selector(org.apache.calcite.linq4j.tree.ParameterExpression,java.util.List,org.apache.calcite.adapter.enumerable.JavaRowFormat)">selector</a></span>&#8203;(<a href="../../linq4j/tree/ParameterExpression.html" title="class in org.apache.calcite.linq4j.tree">ParameterExpression</a>&nbsp;parameter,
java.util.List&lt;java.lang.Integer&gt;&nbsp;fields,
<a href="JavaRowFormat.html" title="enum in org.apache.calcite.adapter.enumerable">JavaRowFormat</a>&nbsp;targetFormat)</code></th>
<td class="colLast">
<div class="block">Generates a selector for the given fields from an expression.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>private <a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toStruct(org.apache.calcite.rel.type.RelDataType)">toStruct</a></span>&#8203;(<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type)</code></th>
<td class="colLast">&nbsp;</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.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</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="typeFactory">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>typeFactory</h4>
<pre>private final&nbsp;<a href="../java/JavaTypeFactory.html" title="interface in org.apache.calcite.adapter.java">JavaTypeFactory</a> typeFactory</pre>
</li>
</ul>
<a id="rowType">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rowType</h4>
<pre>private final&nbsp;<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a> rowType</pre>
</li>
</ul>
<a id="javaRowClass">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>javaRowClass</h4>
<pre>private final&nbsp;java.lang.reflect.Type javaRowClass</pre>
</li>
</ul>
<a id="fieldClasses">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fieldClasses</h4>
<pre>private final&nbsp;java.util.List&lt;java.lang.Class&gt; fieldClasses</pre>
</li>
</ul>
<a id="format">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>format</h4>
<pre>final&nbsp;<a href="JavaRowFormat.html" title="enum in org.apache.calcite.adapter.enumerable">JavaRowFormat</a> format</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;(org.apache.calcite.adapter.java.JavaTypeFactory,org.apache.calcite.rel.type.RelDataType,java.lang.reflect.Type,org.apache.calcite.adapter.enumerable.JavaRowFormat)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>PhysTypeImpl</h4>
<pre>PhysTypeImpl&#8203;(<a href="../java/JavaTypeFactory.html" title="interface in org.apache.calcite.adapter.java">JavaTypeFactory</a>&nbsp;typeFactory,
<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType,
java.lang.reflect.Type&nbsp;javaRowClass,
<a href="JavaRowFormat.html" title="enum in org.apache.calcite.adapter.enumerable">JavaRowFormat</a>&nbsp;format)</pre>
<div class="block">Creates a PhysTypeImpl.</div>
</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="of(org.apache.calcite.adapter.java.JavaTypeFactory,org.apache.calcite.rel.type.RelDataType,org.apache.calcite.adapter.enumerable.JavaRowFormat)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>of</h4>
<pre class="methodSignature">public static&nbsp;<a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a>&nbsp;of&#8203;(<a href="../java/JavaTypeFactory.html" title="interface in org.apache.calcite.adapter.java">JavaTypeFactory</a>&nbsp;typeFactory,
<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType,
<a href="JavaRowFormat.html" title="enum in org.apache.calcite.adapter.enumerable">JavaRowFormat</a>&nbsp;format)</pre>
</li>
</ul>
<a id="of(org.apache.calcite.adapter.java.JavaTypeFactory,org.apache.calcite.rel.type.RelDataType,org.apache.calcite.adapter.enumerable.JavaRowFormat,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>of</h4>
<pre class="methodSignature">public static&nbsp;<a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a>&nbsp;of&#8203;(<a href="../java/JavaTypeFactory.html" title="interface in org.apache.calcite.adapter.java">JavaTypeFactory</a>&nbsp;typeFactory,
<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType,
<a href="JavaRowFormat.html" title="enum in org.apache.calcite.adapter.enumerable">JavaRowFormat</a>&nbsp;format,
boolean&nbsp;optimize)</pre>
</li>
</ul>
<a id="of(org.apache.calcite.adapter.java.JavaTypeFactory,java.lang.reflect.Type)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>of</h4>
<pre class="methodSignature">static&nbsp;<a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a>&nbsp;of&#8203;(<a href="../java/JavaTypeFactory.html" title="interface in org.apache.calcite.adapter.java">JavaTypeFactory</a>&nbsp;typeFactory,
java.lang.reflect.Type&nbsp;javaRowClass)</pre>
</li>
</ul>
<a id="getFormat()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFormat</h4>
<pre class="methodSignature">public&nbsp;<a href="JavaRowFormat.html" title="enum in org.apache.calcite.adapter.enumerable">JavaRowFormat</a>&nbsp;getFormat()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="PhysType.html#getFormat()">PhysType</a></code></span></div>
<div class="block">Returns the format.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="PhysType.html#getFormat()">getFormat</a></code>&nbsp;in interface&nbsp;<code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></dd>
</dl>
</li>
</ul>
<a id="project(java.util.List,org.apache.calcite.adapter.enumerable.JavaRowFormat)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>project</h4>
<pre class="methodSignature">public&nbsp;<a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a>&nbsp;project&#8203;(java.util.List&lt;java.lang.Integer&gt;&nbsp;integers,
<a href="JavaRowFormat.html" title="enum in org.apache.calcite.adapter.enumerable">JavaRowFormat</a>&nbsp;format)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="PhysType.html#project(java.util.List,org.apache.calcite.adapter.enumerable.JavaRowFormat)">PhysType</a></code></span></div>
<div class="block">Projects a given collection of fields from this input record, into
a particular preferred output format. The output format is optimized
if there are 0 or 1 fields.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="PhysType.html#project(java.util.List,org.apache.calcite.adapter.enumerable.JavaRowFormat)">project</a></code>&nbsp;in interface&nbsp;<code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></dd>
</dl>
</li>
</ul>
<a id="project(java.util.List,boolean,org.apache.calcite.adapter.enumerable.JavaRowFormat)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>project</h4>
<pre class="methodSignature">public&nbsp;<a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a>&nbsp;project&#8203;(java.util.List&lt;java.lang.Integer&gt;&nbsp;integers,
boolean&nbsp;indicator,
<a href="JavaRowFormat.html" title="enum in org.apache.calcite.adapter.enumerable">JavaRowFormat</a>&nbsp;format)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="PhysType.html#project(java.util.List,boolean,org.apache.calcite.adapter.enumerable.JavaRowFormat)">PhysType</a></code></span></div>
<div class="block">Projects a given collection of fields from this input record, optionally
with indicator fields, into a particular preferred output format.
<p>The output format is optimized if there are 0 or 1 fields
and indicators are disabled.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="PhysType.html#project(java.util.List,boolean,org.apache.calcite.adapter.enumerable.JavaRowFormat)">project</a></code>&nbsp;in interface&nbsp;<code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></dd>
</dl>
</li>
</ul>
<a id="generateSelector(org.apache.calcite.linq4j.tree.ParameterExpression,java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateSelector</h4>
<pre class="methodSignature">public&nbsp;<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;generateSelector&#8203;(<a href="../../linq4j/tree/ParameterExpression.html" title="class in org.apache.calcite.linq4j.tree">ParameterExpression</a>&nbsp;parameter,
java.util.List&lt;java.lang.Integer&gt;&nbsp;fields)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="PhysType.html#generateSelector(org.apache.calcite.linq4j.tree.ParameterExpression,java.util.List)">PhysType</a></code></span></div>
<div class="block">Generates a selector for the given fields from an expression, with the
default row format.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="PhysType.html#generateSelector(org.apache.calcite.linq4j.tree.ParameterExpression,java.util.List)">generateSelector</a></code>&nbsp;in interface&nbsp;<code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></dd>
</dl>
</li>
</ul>
<a id="generateSelector(org.apache.calcite.linq4j.tree.ParameterExpression,java.util.List,org.apache.calcite.adapter.enumerable.JavaRowFormat)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateSelector</h4>
<pre class="methodSignature">public&nbsp;<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;generateSelector&#8203;(<a href="../../linq4j/tree/ParameterExpression.html" title="class in org.apache.calcite.linq4j.tree">ParameterExpression</a>&nbsp;parameter,
java.util.List&lt;java.lang.Integer&gt;&nbsp;fields,
<a href="JavaRowFormat.html" title="enum in org.apache.calcite.adapter.enumerable">JavaRowFormat</a>&nbsp;targetFormat)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="PhysType.html#generateSelector(org.apache.calcite.linq4j.tree.ParameterExpression,java.util.List,org.apache.calcite.adapter.enumerable.JavaRowFormat)">PhysType</a></code></span></div>
<div class="block">Generates a lambda expression that is a selector for the given fields from
an expression.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="PhysType.html#generateSelector(org.apache.calcite.linq4j.tree.ParameterExpression,java.util.List,org.apache.calcite.adapter.enumerable.JavaRowFormat)">generateSelector</a></code>&nbsp;in interface&nbsp;<code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></dd>
</dl>
</li>
</ul>
<a id="generateSelector(org.apache.calcite.linq4j.tree.ParameterExpression,java.util.List,java.util.List,org.apache.calcite.adapter.enumerable.JavaRowFormat)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateSelector</h4>
<pre class="methodSignature">public&nbsp;<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;generateSelector&#8203;(<a href="../../linq4j/tree/ParameterExpression.html" title="class in org.apache.calcite.linq4j.tree">ParameterExpression</a>&nbsp;parameter,
java.util.List&lt;java.lang.Integer&gt;&nbsp;fields,
java.util.List&lt;java.lang.Integer&gt;&nbsp;usedFields,
<a href="JavaRowFormat.html" title="enum in org.apache.calcite.adapter.enumerable">JavaRowFormat</a>&nbsp;targetFormat)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="PhysType.html#generateSelector(org.apache.calcite.linq4j.tree.ParameterExpression,java.util.List,java.util.List,org.apache.calcite.adapter.enumerable.JavaRowFormat)">PhysType</a></code></span></div>
<div class="block">Generates a lambda expression that is a selector for the given fields from
an expression.
<p><code>usedFields</code> must be a subset of <code>fields</code>.
For each field, there is a corresponding indicator field.
If a field is used, its value is assigned and its indicator is left
<code>false</code>.
If a field is not used, its value is not assigned and its indicator is
set to <code>true</code>;
This will become a value of 1 when <code>GROUPING(field)</code> is called.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="PhysType.html#generateSelector(org.apache.calcite.linq4j.tree.ParameterExpression,java.util.List,java.util.List,org.apache.calcite.adapter.enumerable.JavaRowFormat)">generateSelector</a></code>&nbsp;in interface&nbsp;<code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></dd>
</dl>
</li>
</ul>
<a id="selector(org.apache.calcite.linq4j.tree.ParameterExpression,java.util.List,org.apache.calcite.adapter.enumerable.JavaRowFormat)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>selector</h4>
<pre class="methodSignature">public&nbsp;<a href="../../util/Pair.html" title="class in org.apache.calcite.util">Pair</a>&lt;java.lang.reflect.Type,&#8203;java.util.List&lt;<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&gt;&gt;&nbsp;selector&#8203;(<a href="../../linq4j/tree/ParameterExpression.html" title="class in org.apache.calcite.linq4j.tree">ParameterExpression</a>&nbsp;parameter,
java.util.List&lt;java.lang.Integer&gt;&nbsp;fields,
<a href="JavaRowFormat.html" title="enum in org.apache.calcite.adapter.enumerable">JavaRowFormat</a>&nbsp;targetFormat)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="PhysType.html#selector(org.apache.calcite.linq4j.tree.ParameterExpression,java.util.List,org.apache.calcite.adapter.enumerable.JavaRowFormat)">PhysType</a></code></span></div>
<div class="block">Generates a selector for the given fields from an expression.
Only used by EnumerableWindow.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="PhysType.html#selector(org.apache.calcite.linq4j.tree.ParameterExpression,java.util.List,org.apache.calcite.adapter.enumerable.JavaRowFormat)">selector</a></code>&nbsp;in interface&nbsp;<code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></dd>
</dl>
</li>
</ul>
<a id="accessors(org.apache.calcite.linq4j.tree.Expression,java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>accessors</h4>
<pre class="methodSignature">public&nbsp;java.util.List&lt;<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&gt;&nbsp;accessors&#8203;(<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;v1,
java.util.List&lt;java.lang.Integer&gt;&nbsp;argList)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="PhysType.html#accessors(org.apache.calcite.linq4j.tree.Expression,java.util.List)">accessors</a></code>&nbsp;in interface&nbsp;<code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></dd>
</dl>
</li>
</ul>
<a id="makeNullable(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>makeNullable</h4>
<pre class="methodSignature">public&nbsp;<a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a>&nbsp;makeNullable&#8203;(boolean&nbsp;nullable)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="PhysType.html#makeNullable(boolean)">PhysType</a></code></span></div>
<div class="block">Returns a copy of this type that allows nulls if <code>nullable</code> is
true.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="PhysType.html#makeNullable(boolean)">makeNullable</a></code>&nbsp;in interface&nbsp;<code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></dd>
</dl>
</li>
</ul>
<a id="convertTo(org.apache.calcite.linq4j.tree.Expression,org.apache.calcite.adapter.enumerable.PhysType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>convertTo</h4>
<pre class="methodSignature">public&nbsp;<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;convertTo&#8203;(<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;exp,
<a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a>&nbsp;targetPhysType)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="PhysType.html#convertTo(org.apache.calcite.linq4j.tree.Expression,org.apache.calcite.adapter.enumerable.PhysType)">PhysType</a></code></span></div>
<div class="block">Converts an enumerable of this physical type to an enumerable that uses a
given physical type for its rows.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="PhysType.html#convertTo(org.apache.calcite.linq4j.tree.Expression,org.apache.calcite.adapter.enumerable.PhysType)">convertTo</a></code>&nbsp;in interface&nbsp;<code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></dd>
</dl>
</li>
</ul>
<a id="convertTo(org.apache.calcite.linq4j.tree.Expression,org.apache.calcite.adapter.enumerable.JavaRowFormat)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>convertTo</h4>
<pre class="methodSignature">public&nbsp;<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;convertTo&#8203;(<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;exp,
<a href="JavaRowFormat.html" title="enum in org.apache.calcite.adapter.enumerable">JavaRowFormat</a>&nbsp;targetFormat)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="PhysType.html#convertTo(org.apache.calcite.linq4j.tree.Expression,org.apache.calcite.adapter.enumerable.JavaRowFormat)">PhysType</a></code></span></div>
<div class="block">Converts an enumerable of this physical type to an enumerable that uses
the <code>targetFormat</code> for representing its rows.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="PhysType.html#convertTo(org.apache.calcite.linq4j.tree.Expression,org.apache.calcite.adapter.enumerable.JavaRowFormat)">convertTo</a></code>&nbsp;in interface&nbsp;<code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></dd>
</dl>
</li>
</ul>
<a id="generateCollationKey(java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateCollationKey</h4>
<pre class="methodSignature">public&nbsp;<a href="../../util/Pair.html" title="class in org.apache.calcite.util">Pair</a>&lt;<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>,&#8203;<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&gt;&nbsp;generateCollationKey&#8203;(java.util.List&lt;<a href="../../rel/RelFieldCollation.html" title="class in org.apache.calcite.rel">RelFieldCollation</a>&gt;&nbsp;collations)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="PhysType.html#generateCollationKey(java.util.List)">PhysType</a></code></span></div>
<div class="block">Returns a lambda to create a collation key and a comparator. The
comparator is sometimes null.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="PhysType.html#generateCollationKey(java.util.List)">generateCollationKey</a></code>&nbsp;in interface&nbsp;<code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></dd>
</dl>
</li>
</ul>
<a id="generateComparator(org.apache.calcite.rel.RelCollation)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateComparator</h4>
<pre class="methodSignature">public&nbsp;<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;generateComparator&#8203;(<a href="../../rel/RelCollation.html" title="interface in org.apache.calcite.rel">RelCollation</a>&nbsp;collation)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="PhysType.html#generateComparator(org.apache.calcite.rel.RelCollation)">PhysType</a></code></span></div>
<div class="block">Returns a comparator. Unlike the comparator returned by
<a href="PhysType.html#generateCollationKey(java.util.List)"><code>PhysType.generateCollationKey(java.util.List)</code></a>, this comparator acts on the
whole element.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="PhysType.html#generateComparator(org.apache.calcite.rel.RelCollation)">generateComparator</a></code>&nbsp;in interface&nbsp;<code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></dd>
</dl>
</li>
</ul>
<a id="getRowType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRowType</h4>
<pre class="methodSignature">public&nbsp;<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;getRowType()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="PhysType.html#getRowType()">PhysType</a></code></span></div>
<div class="block">Returns the SQL row type.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="PhysType.html#getRowType()">getRowType</a></code>&nbsp;in interface&nbsp;<code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></dd>
</dl>
</li>
</ul>
<a id="record(java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>record</h4>
<pre class="methodSignature">public&nbsp;<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;record&#8203;(java.util.List&lt;<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&gt;&nbsp;expressions)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="PhysType.html#record(java.util.List)">PhysType</a></code></span></div>
<div class="block">Generates an expression that creates a record for a row, initializing
its fields with the given expressions. There must be one expression per
field.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="PhysType.html#record(java.util.List)">record</a></code>&nbsp;in interface&nbsp;<code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>expressions</code> - Expression to initialize each field</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Expression to create a row</dd>
</dl>
</li>
</ul>
<a id="getJavaRowType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getJavaRowType</h4>
<pre class="methodSignature">public&nbsp;java.lang.reflect.Type&nbsp;getJavaRowType()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="PhysType.html#getJavaRowType()">PhysType</a></code></span></div>
<div class="block">Returns the Java type (often a Class) that represents a row. For
example, in one row format, always returns <code>Object[].class</code>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="PhysType.html#getJavaRowType()">getJavaRowType</a></code>&nbsp;in interface&nbsp;<code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></dd>
</dl>
</li>
</ul>
<a id="getJavaFieldType(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getJavaFieldType</h4>
<pre class="methodSignature">public&nbsp;java.lang.reflect.Type&nbsp;getJavaFieldType&#8203;(int&nbsp;index)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="PhysType.html#getJavaFieldType(int)">PhysType</a></code></span></div>
<div class="block">Returns the Java class that is used to store the field with the given
ordinal.
<p>For instance, when the java row type is <code>Object[]</code>, the java
field type is <code>Object</code> even if the field is not nullable.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="PhysType.html#getJavaFieldType(int)">getJavaFieldType</a></code>&nbsp;in interface&nbsp;<code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></dd>
</dl>
</li>
</ul>
<a id="component(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>component</h4>
<pre class="methodSignature">public&nbsp;<a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a>&nbsp;component&#8203;(int&nbsp;fieldOrdinal)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="PhysType.html#component(int)">PhysType</a></code></span></div>
<div class="block">Returns the physical type of a given field's component type.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="PhysType.html#component(int)">component</a></code>&nbsp;in interface&nbsp;<code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></dd>
</dl>
</li>
</ul>
<a id="field(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>field</h4>
<pre class="methodSignature">public&nbsp;<a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a>&nbsp;field&#8203;(int&nbsp;ordinal)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="PhysType.html#field(int)">PhysType</a></code></span></div>
<div class="block">Returns the physical type of a field.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="PhysType.html#field(int)">field</a></code>&nbsp;in interface&nbsp;<code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></dd>
</dl>
</li>
</ul>
<a id="toStruct(org.apache.calcite.rel.type.RelDataType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toStruct</h4>
<pre class="methodSignature">private&nbsp;<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;toStruct&#8203;(<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type)</pre>
</li>
</ul>
<a id="comparer()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>comparer</h4>
<pre class="methodSignature">public&nbsp;<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;comparer()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="PhysType.html#comparer()">PhysType</a></code></span></div>
<div class="block">Returns a expression that yields a comparer, or null if this type
is comparable.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="PhysType.html#comparer()">comparer</a></code>&nbsp;in interface&nbsp;<code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></dd>
</dl>
</li>
</ul>
<a id="fieldReferences(org.apache.calcite.linq4j.tree.Expression,java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fieldReferences</h4>
<pre class="methodSignature">private&nbsp;java.util.List&lt;<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&gt;&nbsp;fieldReferences&#8203;(<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;parameter,
java.util.List&lt;java.lang.Integer&gt;&nbsp;fields)</pre>
</li>
</ul>
<a id="fieldClass(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fieldClass</h4>
<pre class="methodSignature">public&nbsp;java.lang.Class&nbsp;fieldClass&#8203;(int&nbsp;field)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="PhysType.html#fieldClass(int)">PhysType</a></code></span></div>
<div class="block">Returns the Java class of the field with the given ordinal.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="PhysType.html#fieldClass(int)">fieldClass</a></code>&nbsp;in interface&nbsp;<code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></dd>
</dl>
</li>
</ul>
<a id="fieldNullable(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fieldNullable</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;fieldNullable&#8203;(int&nbsp;field)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="PhysType.html#fieldNullable(int)">PhysType</a></code></span></div>
<div class="block">Returns whether a given field allows null values.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="PhysType.html#fieldNullable(int)">fieldNullable</a></code>&nbsp;in interface&nbsp;<code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></dd>
</dl>
</li>
</ul>
<a id="generateAccessor(java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>generateAccessor</h4>
<pre class="methodSignature">public&nbsp;<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;generateAccessor&#8203;(java.util.List&lt;java.lang.Integer&gt;&nbsp;fields)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="PhysType.html#generateAccessor(java.util.List)">PhysType</a></code></span></div>
<div class="block">Generates an accessor function for a given list of fields. The resulting
object is a <code>List</code> (implementing <code>Object.hashCode()</code> and
<code>Object.equals(Object)</code> per that interface) and also implements
<code>Comparable</code>.
<p>For example:
<blockquote><pre>
new Function1&lt;Employee, Object[]&gt; {
public Object[] apply(Employee v1) {
return FlatLists.of(v1.&lt;fieldN&gt;, v1.&lt;fieldM&gt;);
}
}
}</pre></blockquote></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="PhysType.html#generateAccessor(java.util.List)">generateAccessor</a></code>&nbsp;in interface&nbsp;<code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></dd>
</dl>
</li>
</ul>
<a id="fieldReference(org.apache.calcite.linq4j.tree.Expression,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fieldReference</h4>
<pre class="methodSignature">public&nbsp;<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;fieldReference&#8203;(<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;expression,
int&nbsp;field)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="PhysType.html#fieldReference(org.apache.calcite.linq4j.tree.Expression,int)">PhysType</a></code></span></div>
<div class="block">Generates a reference to a given field in an expression.
<p>For example given <code>expression=employee</code> and <code>field=2</code>,
generates
<blockquote><pre><code>employee.deptno</code></pre></blockquote></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="PhysType.html#fieldReference(org.apache.calcite.linq4j.tree.Expression,int)">fieldReference</a></code>&nbsp;in interface&nbsp;<code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>expression</code> - Expression</dd>
<dd><code>field</code> - Ordinal of field</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Expression to access the field of the expression</dd>
</dl>
</li>
</ul>
<a id="fieldReference(org.apache.calcite.linq4j.tree.Expression,int,java.lang.reflect.Type)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>fieldReference</h4>
<pre class="methodSignature">public&nbsp;<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;fieldReference&#8203;(<a href="../../linq4j/tree/Expression.html" title="class in org.apache.calcite.linq4j.tree">Expression</a>&nbsp;expression,
int&nbsp;field,
java.lang.reflect.Type&nbsp;storageType)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="PhysType.html#fieldReference(org.apache.calcite.linq4j.tree.Expression,int,java.lang.reflect.Type)">PhysType</a></code></span></div>
<div class="block">Generates a reference to a given field in an expression.
<p>This method optimizes for the target storage type (i.e. avoids
casts).
<p>For example given <code>expression=employee</code> and <code>field=2</code>,
generates
<blockquote><pre><code>employee.deptno</code></pre></blockquote></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="PhysType.html#fieldReference(org.apache.calcite.linq4j.tree.Expression,int,java.lang.reflect.Type)">fieldReference</a></code>&nbsp;in interface&nbsp;<code><a href="PhysType.html" title="interface in org.apache.calcite.adapter.enumerable">PhysType</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>expression</code> - Expression</dd>
<dd><code>field</code> - Ordinal of field</dd>
<dd><code>storageType</code> - optional hint for storage class</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Expression to access the field of the expression</dd>
</dl>
</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="class-use/PhysTypeImpl.html">Use</a></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>
<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><a href="#constructor.summary">Constr</a>&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><a href="#constructor.detail">Constr</a>&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 &#169; 2012&#x2013;2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</body>
</html>