blob: ebfc1952843d0946c99c56426c8a4e6115c4cfcf [file] [log] [blame]
<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>RexBuilder (Apache Calcite API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="declaration: package: org.apache.calcite.rex, class: RexBuilder">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../script-dir/jquery-3.5.1.min.js"></script>
<script type="text/javascript" src="../../../../script-dir/jquery-ui.min.js"></script>
</head>
<body class="class-declaration-page">
<script type="text/javascript">var evenRowColor = "even-row-color";
var oddRowColor = "odd-row-color";
var tableTab = "table-tab";
var activeTableTab = "active-table-tab";
var pathtoroot = "../../../../";
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
<div class="about-language"><b>Apache Calcite</b></div>
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="nav-bar-cell1-rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html#class">Help</a></li>
</ul>
</div>
<div class="sub-nav">
<div>
<ul class="sub-nav-list">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field-summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor-summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li>
</ul>
<ul class="sub-nav-list">
<li>Detail:&nbsp;</li>
<li><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>
<div class="nav-list-search"><label for="search-input">SEARCH:</label>
<input type="text" id="search-input" value="search" disabled="disabled">
<input type="reset" id="reset-button" value="reset" disabled="disabled">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">org.apache.calcite.rex</a></div>
<h1 title="Class RexBuilder" class="title">Class RexBuilder</h1>
</div>
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a>
<div class="inheritance">org.apache.calcite.rex.RexBuilder</div>
</div>
<section class="class-description" id="class-description">
<hr>
<div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">RexBuilder</span>
<span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></span></div>
<div class="block">Factory for row expressions.
<p>Some common literal values (NULL, TRUE, FALSE, 0, 1, '') are cached.</p></div>
</section>
<section class="summary">
<ul class="summary-list">
<!-- =========== FIELD SUMMARY =========== -->
<li>
<section class="field-summary" id="field-summary">
<h2>Field Summary</h2>
<div class="caption"><span>Fields</span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Field</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>static final <a href="../sql/SqlSpecialOperator.html" title="class in org.apache.calcite.sql">SqlSpecialOperator</a></code></div>
<div class="col-second even-row-color"><code><a href="#GET_OPERATOR" class="member-name-link">GET_OPERATOR</a></code></div>
<div class="col-last even-row-color">
<div class="block">Special operator that accesses an unadvertised field of an input record.</div>
</div>
<div class="col-first odd-row-color"><code>protected final <a href="../rel/type/RelDataTypeFactory.html" title="interface in org.apache.calcite.rel.type">RelDataTypeFactory</a></code></div>
<div class="col-second odd-row-color"><code><a href="#typeFactory" class="member-name-link">typeFactory</a></code></div>
<div class="col-last odd-row-color">&nbsp;</div>
</div>
</section>
</li>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li>
<section class="constructor-summary" id="constructor-summary">
<h2>Constructor Summary</h2>
<div class="caption"><span>Constructors</span></div>
<div class="summary-table two-column-summary">
<div class="table-header col-first">Constructor</div>
<div class="table-header col-last">Description</div>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(org.apache.calcite.rel.type.RelDataTypeFactory)" class="member-name-link">RexBuilder</a><wbr>(<a href="../rel/type/RelDataTypeFactory.html" title="interface in org.apache.calcite.rel.type">RelDataTypeFactory</a>&nbsp;typeFactory)</code></div>
<div class="col-last even-row-color">
<div class="block">Creates a RexBuilder.</div>
</div>
</div>
</section>
</li>
<!-- ========== METHOD SUMMARY =========== -->
<li>
<section class="method-summary" id="method-summary">
<h2>Method Summary</h2>
<div id="method-summary-table">
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab1" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab1', 3)" class="table-tab">Static Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button><button id="method-summary-table-tab6" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab6', 3)" class="table-tab">Deprecated Methods</button></div>
<div id="method-summary-table.tabpanel" role="tabpanel">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"><code><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"><code><a href="#addAggCall(org.apache.calcite.rel.core.AggregateCall,int,boolean,java.util.List,java.util.Map,java.util.List)" class="member-name-link">addAggCall</a><wbr>(<a href="../rel/core/AggregateCall.html" title="class in org.apache.calcite.rel.core">AggregateCall</a>&nbsp;aggCall,
int&nbsp;groupCount,
boolean&nbsp;indicator,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="../rel/core/AggregateCall.html" title="class in org.apache.calcite.rel.core">AggregateCall</a>&gt;&nbsp;aggCalls,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a>&lt;<a href="../rel/core/AggregateCall.html" title="class in org.apache.calcite.rel.core">AggregateCall</a>,<wbr><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;aggCallMapping,
@Nullable <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&gt;&nbsp;aggArgTypes)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6">
<div class="block"><span class="deprecated-label">Deprecated.</span></div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"><code><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"><code><a href="#addAggCall(org.apache.calcite.rel.core.AggregateCall,int,java.util.List,java.util.Map,java.util.List)" class="member-name-link">addAggCall</a><wbr>(<a href="../rel/core/AggregateCall.html" title="class in org.apache.calcite.rel.core">AggregateCall</a>&nbsp;aggCall,
int&nbsp;groupCount,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="../rel/core/AggregateCall.html" title="class in org.apache.calcite.rel.core">AggregateCall</a>&gt;&nbsp;aggCalls,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a>&lt;<a href="../rel/core/AggregateCall.html" title="class in org.apache.calcite.rel.core">AggregateCall</a>,<wbr><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;aggCallMapping,
@Nullable <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&gt;&nbsp;aggArgTypes)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6">
<div class="block"><span class="deprecated-label">Deprecated.</span></div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#addAggCall(org.apache.calcite.rel.core.AggregateCall,int,java.util.List,java.util.Map,java.util.function.IntPredicate)" class="member-name-link">addAggCall</a><wbr>(<a href="../rel/core/AggregateCall.html" title="class in org.apache.calcite.rel.core">AggregateCall</a>&nbsp;aggCall,
int&nbsp;groupCount,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="../rel/core/AggregateCall.html" title="class in org.apache.calcite.rel.core">AggregateCall</a>&gt;&nbsp;aggCalls,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a>&lt;<a href="../rel/core/AggregateCall.html" title="class in org.apache.calcite.rel.core">AggregateCall</a>,<wbr><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;aggCallMapping,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/IntPredicate.html" title="class or interface in java.util.function" class="external-link">IntPredicate</a>&nbsp;isNullable)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a reference to an aggregate call, checking for repeated calls.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>protected static org.apache.calcite.avatica.util.TimeUnit</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#baseUnit(org.apache.calcite.sql.type.SqlTypeName)" class="member-name-link">baseUnit</a><wbr>(<a href="../sql/type/SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&nbsp;unit)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Returns the lowest granularity unit for the given unit.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"><code><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"><code><a href="#constantNull()" class="member-name-link">constantNull</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6">
<div class="block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">Use <a href="#makeNullLiteral(org.apache.calcite.rel.type.RelDataType)"><code>makeNullLiteral(RelDataType)</code></a>, which produces a
NULL of the correct type</div>
</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#copy(org.apache.calcite.rex.RexNode)" class="member-name-link">copy</a><wbr>(<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;expr)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a copy of an expression, which may have been created using a
different RexBuilder and/or <a href="../rel/type/RelDataTypeFactory.html" title="interface in org.apache.calcite.rel.type"><code>RelDataTypeFactory</code></a>, using this
RexBuilder.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#decodeIntervalOrDecimal(org.apache.calcite.rex.RexNode)" class="member-name-link">decodeIntervalOrDecimal</a><wbr>(<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;node)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Retrieves an INTERVAL or DECIMAL node's integer representation.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#deriveReturnType(org.apache.calcite.sql.SqlOperator,java.util.List)" class="member-name-link">deriveReturnType</a><wbr>(<a href="../sql/SqlOperator.html" title="class in org.apache.calcite.sql">SqlOperator</a>&nbsp;op,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;? extends <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;exprs)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Derives the return type of a call to an operator.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#encodeIntervalOrDecimal(org.apache.calcite.rex.RexNode,org.apache.calcite.rel.type.RelDataType,boolean)" class="member-name-link">encodeIntervalOrDecimal</a><wbr>(<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;value,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
boolean&nbsp;checkOverflow)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Casts a decimal's integer representation to a decimal node.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#ensureType(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.rex.RexNode,boolean)" class="member-name-link">ensureType</a><wbr>(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;node,
boolean&nbsp;matchNullability)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Ensures expression is interpreted as a specified type.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../sql/fun/SqlStdOperatorTable.html" title="class in org.apache.calcite.sql.fun">SqlStdOperatorTable</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getOpTab()" class="member-name-link">getOpTab</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Returns this RexBuilder's operator table.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../rel/type/RelDataTypeFactory.html" title="interface in org.apache.calcite.rel.type">RelDataTypeFactory</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getTypeFactory()" class="member-name-link">getTypeFactory</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Returns this RexBuilder's type factory.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#identityProjects(org.apache.calcite.rel.type.RelDataType)" class="member-name-link">identityProjects</a><wbr>(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a list of <a href="RexInputRef.html" title="class in org.apache.calcite.rex"><code>RexInputRef</code></a> expressions,
projecting the fields of a given record type.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeAbstractCast(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.rex.RexNode)" class="member-name-link">makeAbstractCast</a><wbr>(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;exp)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a call to the CAST operator.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeApproxLiteral(java.math.BigDecimal,org.apache.calcite.rel.type.RelDataType)" class="member-name-link">makeApproxLiteral</a><wbr>(@Nullable <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a>&nbsp;bd,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates an approximate numeric literal (double or float).</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeApproxLiteral(java.math.BigDecimal)" class="member-name-link">makeApproxLiteral</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a>&nbsp;bd)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a double-precision literal.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeBetween(org.apache.calcite.rex.RexNode,org.apache.calcite.rex.RexNode,org.apache.calcite.rex.RexNode)" class="member-name-link">makeBetween</a><wbr>(<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;arg,
<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;lower,
<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;upper)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a <a href="RexNode.html" title="class in org.apache.calcite.rex"><code>RexNode</code></a> representation a SQL
"arg BETWEEN lower AND upper" expression.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeBigintLiteral(java.math.BigDecimal)" class="member-name-link">makeBigintLiteral</a><wbr>(@Nullable <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a>&nbsp;bd)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a BIGINT literal.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeBinaryLiteral(org.apache.calcite.avatica.util.ByteString)" class="member-name-link">makeBinaryLiteral</a><wbr>(org.apache.calcite.avatica.util.ByteString&nbsp;byteString)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a byte array literal.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeCall(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.sql.SqlOperator,java.util.List)" class="member-name-link">makeCall</a><wbr>(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;returnType,
<a href="../sql/SqlOperator.html" title="class in org.apache.calcite.sql">SqlOperator</a>&nbsp;op,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;exprs)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a call with a list of arguments and a predetermined type.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeCall(org.apache.calcite.sql.SqlOperator,java.util.List)" class="member-name-link">makeCall</a><wbr>(<a href="../sql/SqlOperator.html" title="class in org.apache.calcite.sql">SqlOperator</a>&nbsp;op,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;? extends <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;exprs)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a call with an array of arguments.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>final <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeCall(org.apache.calcite.sql.SqlOperator,org.apache.calcite.rex.RexNode...)" class="member-name-link">makeCall</a><wbr>(<a href="../sql/SqlOperator.html" title="class in org.apache.calcite.sql">SqlOperator</a>&nbsp;op,
<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;exprs)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a call with a list of arguments.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeCast(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.rex.RexNode)" class="member-name-link">makeCast</a><wbr>(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;exp)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a call to the CAST operator.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeCast(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.rex.RexNode,boolean)" class="member-name-link">makeCast</a><wbr>(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;exp,
boolean&nbsp;matchNullability)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a call to the CAST operator, expanding if possible, and optionally
also preserving nullability.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeCharLiteral(org.apache.calcite.util.NlsString)" class="member-name-link">makeCharLiteral</a><wbr>(<a href="../util/NlsString.html" title="class in org.apache.calcite.util">NlsString</a>&nbsp;str)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a character string literal from an <a href="../util/NlsString.html" title="class in org.apache.calcite.util"><code>NlsString</code></a>.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeCorrel(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.rel.core.CorrelationId)" class="member-name-link">makeCorrel</a><wbr>(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
<a href="../rel/core/CorrelationId.html" title="class in org.apache.calcite.rel.core">CorrelationId</a>&nbsp;id)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates an expression referencing a correlation variable.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"><code><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"><code><a href="#makeDateLiteral(java.util.Calendar)" class="member-name-link">makeDateLiteral</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Calendar.html" title="class or interface in java.util" class="external-link">Calendar</a>&nbsp;calendar)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6">
<div class="block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">Use <a href="#makeDateLiteral(org.apache.calcite.util.DateString)"><code>makeDateLiteral(DateString)</code></a>.</div>
</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeDateLiteral(org.apache.calcite.util.DateString)" class="member-name-link">makeDateLiteral</a><wbr>(<a href="../util/DateString.html" title="class in org.apache.calcite.util">DateString</a>&nbsp;date)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a Date literal.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexDynamicParam.html" title="class in org.apache.calcite.rex">RexDynamicParam</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeDynamicParam(org.apache.calcite.rel.type.RelDataType,int)" class="member-name-link">makeDynamicParam</a><wbr>(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
int&nbsp;index)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a reference to a dynamic parameter.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeExactLiteral(java.math.BigDecimal,org.apache.calcite.rel.type.RelDataType)" class="member-name-link">makeExactLiteral</a><wbr>(@Nullable <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a>&nbsp;bd,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a numeric literal.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeExactLiteral(java.math.BigDecimal)" class="member-name-link">makeExactLiteral</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a>&nbsp;bd)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a numeric literal.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeFieldAccess(org.apache.calcite.rex.RexNode,int)" class="member-name-link">makeFieldAccess</a><wbr>(<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;expr,
int&nbsp;i)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates an expression accessing a field with a given ordinal from a
record.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeFieldAccess(org.apache.calcite.rex.RexNode,java.lang.String,boolean)" class="member-name-link">makeFieldAccess</a><wbr>(<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;expr,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;fieldName,
boolean&nbsp;caseSensitive)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates an expression accessing a given named field from a record.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeFlag(java.lang.Enum)" class="member-name-link">makeFlag</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Enum.html" title="class or interface in java.lang" class="external-link">Enum</a>&nbsp;flag)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a literal representing a flag.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeIn(org.apache.calcite.rex.RexNode,java.util.List)" class="member-name-link">makeIn</a><wbr>(<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;arg,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;? extends <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;ranges)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a <a href="RexNode.html" title="class in org.apache.calcite.rex"><code>RexNode</code></a> representation a SQL "arg IN (point, ...)"
expression.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexInputRef.html" title="class in org.apache.calcite.rex">RexInputRef</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeInputRef(org.apache.calcite.rel.RelNode,int)" class="member-name-link">makeInputRef</a><wbr>(<a href="../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&nbsp;input,
int&nbsp;i)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a reference to a given field of the input relational expression.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexInputRef.html" title="class in org.apache.calcite.rex">RexInputRef</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeInputRef(org.apache.calcite.rel.type.RelDataType,int)" class="member-name-link">makeInputRef</a><wbr>(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
int&nbsp;i)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a reference to a given field of the input record.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeIntervalLiteral(java.math.BigDecimal,org.apache.calcite.sql.SqlIntervalQualifier)" class="member-name-link">makeIntervalLiteral</a><wbr>(@Nullable <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a>&nbsp;v,
<a href="../sql/SqlIntervalQualifier.html" title="class in org.apache.calcite.sql">SqlIntervalQualifier</a>&nbsp;intervalQualifier)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a literal representing an interval value, for example
<code>INTERVAL '3-7' YEAR TO MONTH</code>.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeIntervalLiteral(org.apache.calcite.sql.SqlIntervalQualifier)" class="member-name-link">makeIntervalLiteral</a><wbr>(<a href="../sql/SqlIntervalQualifier.html" title="class in org.apache.calcite.sql">SqlIntervalQualifier</a>&nbsp;intervalQualifier)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a literal representing an interval type, for example
<code>YEAR TO MONTH</code> or <code>DOW</code>.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeLiteral(boolean)" class="member-name-link">makeLiteral</a><wbr>(boolean&nbsp;b)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a boolean literal.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeLiteral(java.lang.Comparable,org.apache.calcite.rel.type.RelDataType,org.apache.calcite.sql.type.SqlTypeName)" class="member-name-link">makeLiteral</a><wbr>(@Nullable <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a>&nbsp;o,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
<a href="../sql/type/SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&nbsp;typeName)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Internal method to create a call to a literal.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeLiteral(java.lang.Object,org.apache.calcite.rel.type.RelDataType)" class="member-name-link">makeLiteral</a><wbr>(@Nullable <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>&nbsp;value,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a literal of a given type, padding values of constant-width
types to match their type, not allowing casts.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeLiteral(java.lang.Object,org.apache.calcite.rel.type.RelDataType,boolean)" class="member-name-link">makeLiteral</a><wbr>(@Nullable <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>&nbsp;value,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
boolean&nbsp;allowCast)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a literal of a given type, padding values of constant-width
types to match their type.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeLiteral(java.lang.Object,org.apache.calcite.rel.type.RelDataType,boolean,boolean)" class="member-name-link">makeLiteral</a><wbr>(@Nullable <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>&nbsp;value,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
boolean&nbsp;allowCast,
boolean&nbsp;trim)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a literal of a given type.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeLiteral(java.lang.String)" class="member-name-link">makeLiteral</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;s)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a character string literal.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeLocalRef(org.apache.calcite.rel.type.RelDataType,int)" class="member-name-link">makeLocalRef</a><wbr>(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
int&nbsp;i)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Create a reference to local variable.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeNewInvocation(org.apache.calcite.rel.type.RelDataType,java.util.List)" class="member-name-link">makeNewInvocation</a><wbr>(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;exprs)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates an invocation of the NEW operator.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeNotNull(org.apache.calcite.rex.RexNode)" class="member-name-link">makeNotNull</a><wbr>(<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;exp)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Makes a cast of a value to NOT NULL;
no-op if the type already has NOT NULL.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeNullLiteral(org.apache.calcite.rel.type.RelDataType)" class="member-name-link">makeNullLiteral</a><wbr>(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a literal whose value is NULL, with a particular type.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"><code><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"><code><a href="#makeNullLiteral(org.apache.calcite.sql.type.SqlTypeName)" class="member-name-link">makeNullLiteral</a><wbr>(<a href="../sql/type/SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&nbsp;typeName)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6">
<div class="block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">Use <a href="#makeNullLiteral(org.apache.calcite.rel.type.RelDataType)"><code>makeNullLiteral(RelDataType)</code></a></div>
</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"><code><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"><code><a href="#makeNullLiteral(org.apache.calcite.sql.type.SqlTypeName,int)" class="member-name-link">makeNullLiteral</a><wbr>(<a href="../sql/type/SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&nbsp;typeName,
int&nbsp;precision)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6">
<div class="block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">Use <a href="#makeNullLiteral(org.apache.calcite.rel.type.RelDataType)"><code>makeNullLiteral(RelDataType)</code></a></div>
</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"><code><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"><code><a href="#makeOver(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.sql.SqlAggFunction,java.util.List,java.util.List,com.google.common.collect.ImmutableList,org.apache.calcite.rex.RexWindowBound,org.apache.calcite.rex.RexWindowBound,boolean,boolean,boolean,boolean)" class="member-name-link">makeOver</a><wbr>(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
<a href="../sql/SqlAggFunction.html" title="class in org.apache.calcite.sql">SqlAggFunction</a>&nbsp;operator,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;exprs,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;partitionKeys,
com.google.common.collect.ImmutableList&lt;<a href="RexFieldCollation.html" title="class in org.apache.calcite.rex">RexFieldCollation</a>&gt;&nbsp;orderKeys,
<a href="RexWindowBound.html" title="class in org.apache.calcite.rex">RexWindowBound</a>&nbsp;lowerBound,
<a href="RexWindowBound.html" title="class in org.apache.calcite.rex">RexWindowBound</a>&nbsp;upperBound,
boolean&nbsp;rows,
boolean&nbsp;allowPartial,
boolean&nbsp;nullWhenCountZero,
boolean&nbsp;distinct)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6">
<div class="block"><span class="deprecated-label">Deprecated.</span></div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeOver(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.sql.SqlAggFunction,java.util.List,java.util.List,com.google.common.collect.ImmutableList,org.apache.calcite.rex.RexWindowBound,org.apache.calcite.rex.RexWindowBound,boolean,boolean,boolean,boolean,boolean)" class="member-name-link">makeOver</a><wbr>(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
<a href="../sql/SqlAggFunction.html" title="class in org.apache.calcite.sql">SqlAggFunction</a>&nbsp;operator,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;exprs,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;partitionKeys,
com.google.common.collect.ImmutableList&lt;<a href="RexFieldCollation.html" title="class in org.apache.calcite.rex">RexFieldCollation</a>&gt;&nbsp;orderKeys,
<a href="RexWindowBound.html" title="class in org.apache.calcite.rex">RexWindowBound</a>&nbsp;lowerBound,
<a href="RexWindowBound.html" title="class in org.apache.calcite.rex">RexWindowBound</a>&nbsp;upperBound,
boolean&nbsp;rows,
boolean&nbsp;allowPartial,
boolean&nbsp;nullWhenCountZero,
boolean&nbsp;distinct,
boolean&nbsp;ignoreNulls)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a call to a windowed agg.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexPatternFieldRef.html" title="class in org.apache.calcite.rex">RexPatternFieldRef</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makePatternFieldRef(java.lang.String,org.apache.calcite.rel.type.RelDataType,int)" class="member-name-link">makePatternFieldRef</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;alpha,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
int&nbsp;i)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a reference to a given field of the pattern.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makePreciseStringLiteral(java.lang.String)" class="member-name-link">makePreciseStringLiteral</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;s)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a character string literal with type CHAR and default charset and
collation.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makePreciseStringLiteral(org.apache.calcite.avatica.util.ByteString,java.lang.String,org.apache.calcite.sql.SqlCollation)" class="member-name-link">makePreciseStringLiteral</a><wbr>(org.apache.calcite.avatica.util.ByteString&nbsp;value,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;charsetName,
<a href="../sql/SqlCollation.html" title="class in org.apache.calcite.sql">SqlCollation</a>&nbsp;collation)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a character string literal with type CHAR.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeRangeReference(org.apache.calcite.rel.RelNode)" class="member-name-link">makeRangeReference</a><wbr>(<a href="../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&nbsp;input)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a reference to all the fields in the row.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexRangeRef.html" title="class in org.apache.calcite.rex">RexRangeRef</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeRangeReference(org.apache.calcite.rel.type.RelDataType,int,boolean)" class="member-name-link">makeRangeReference</a><wbr>(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
int&nbsp;offset,
boolean&nbsp;nullable)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a reference to all the fields in the row.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeReinterpretCast(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.rex.RexNode,org.apache.calcite.rex.RexNode)" class="member-name-link">makeReinterpretCast</a><wbr>(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;exp,
<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;checkOverflow)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Makes a reinterpret cast.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeSearchArgumentLiteral(org.apache.calcite.util.Sarg,org.apache.calcite.rel.type.RelDataType)" class="member-name-link">makeSearchArgumentLiteral</a><wbr>(<a href="../util/Sarg.html" title="class in org.apache.calcite.util">Sarg</a>&nbsp;s,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a search argument literal.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"><code><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"><code><a href="#makeTimeLiteral(java.util.Calendar,int)" class="member-name-link">makeTimeLiteral</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Calendar.html" title="class or interface in java.util" class="external-link">Calendar</a>&nbsp;calendar,
int&nbsp;precision)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6">
<div class="block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">Use <a href="#makeTimeLiteral(org.apache.calcite.util.TimeString,int)"><code>makeTimeLiteral(TimeString, int)</code></a>.</div>
</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeTimeLiteral(org.apache.calcite.util.TimeString,int)" class="member-name-link">makeTimeLiteral</a><wbr>(<a href="../util/TimeString.html" title="class in org.apache.calcite.util">TimeString</a>&nbsp;time,
int&nbsp;precision)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a Time literal.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"><code><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"><code><a href="#makeTimestampLiteral(java.util.Calendar,int)" class="member-name-link">makeTimestampLiteral</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Calendar.html" title="class or interface in java.util" class="external-link">Calendar</a>&nbsp;calendar,
int&nbsp;precision)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6">
<div class="block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">Use <a href="#makeTimestampLiteral(org.apache.calcite.util.TimestampString,int)"><code>makeTimestampLiteral(TimestampString, int)</code></a>.</div>
</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeTimestampLiteral(org.apache.calcite.util.TimestampString,int)" class="member-name-link">makeTimestampLiteral</a><wbr>(<a href="../util/TimestampString.html" title="class in org.apache.calcite.util">TimestampString</a>&nbsp;timestamp,
int&nbsp;precision)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a Timestamp literal.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeTimestampWithLocalTimeZoneLiteral(org.apache.calcite.util.TimestampString,int)" class="member-name-link">makeTimestampWithLocalTimeZoneLiteral</a><wbr>(<a href="../util/TimestampString.html" title="class in org.apache.calcite.util">TimestampString</a>&nbsp;timestamp,
int&nbsp;precision)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a Timestamp with local time-zone literal.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeTimeWithLocalTimeZoneLiteral(org.apache.calcite.util.TimeString,int)" class="member-name-link">makeTimeWithLocalTimeZoneLiteral</a><wbr>(<a href="../util/TimeString.html" title="class in org.apache.calcite.util">TimeString</a>&nbsp;time,
int&nbsp;precision)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a Time with local time-zone literal.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexWindow.html" title="class in org.apache.calcite.rex">RexWindow</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeWindow(java.util.List,com.google.common.collect.ImmutableList,org.apache.calcite.rex.RexWindowBound,org.apache.calcite.rex.RexWindowBound,boolean)" class="member-name-link">makeWindow</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;partitionKeys,
com.google.common.collect.ImmutableList&lt;<a href="RexFieldCollation.html" title="class in org.apache.calcite.rex">RexFieldCollation</a>&gt;&nbsp;orderKeys,
<a href="RexWindowBound.html" title="class in org.apache.calcite.rex">RexWindowBound</a>&nbsp;lowerBound,
<a href="RexWindowBound.html" title="class in org.apache.calcite.rex">RexWindowBound</a>&nbsp;upperBound,
boolean&nbsp;rows)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a window specification.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#makeZeroLiteral(org.apache.calcite.rel.type.RelDataType)" class="member-name-link">makeZeroLiteral</a><wbr>(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Creates a literal of the default value for the given type.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#matchNullability(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.rex.RexNode)" class="member-name-link">matchNullability</a><wbr>(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;value)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">
<div class="block">Ensures that a type's nullability matches a value's nullability.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#multiplyDivide(org.apache.calcite.rex.RexNode,java.math.BigDecimal,java.math.BigDecimal)" class="member-name-link">multiplyDivide</a><wbr>(<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;e,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a>&nbsp;multiplier,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a>&nbsp;divider)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4">&nbsp;</div>
</div>
</div>
</div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3>
<code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div>
</section>
</li>
</ul>
</section>
<section class="details">
<ul class="details-list">
<!-- ============ FIELD DETAIL =========== -->
<li>
<section class="field-details" id="field-detail">
<h2>Field Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="GET_OPERATOR">
<h3>GET_OPERATOR</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type"><a href="../sql/SqlSpecialOperator.html" title="class in org.apache.calcite.sql">SqlSpecialOperator</a></span>&nbsp;<span class="element-name">GET_OPERATOR</span></div>
<div class="block">Special operator that accesses an unadvertised field of an input record.
This operator cannot be used in SQL queries; it is introduced temporarily
during sql-to-rel translation, then replaced during the process that
trims unwanted fields.</div>
</section>
</li>
<li>
<section class="detail" id="typeFactory">
<h3>typeFactory</h3>
<div class="member-signature"><span class="modifiers">protected final</span>&nbsp;<span class="return-type"><a href="../rel/type/RelDataTypeFactory.html" title="interface in org.apache.calcite.rel.type">RelDataTypeFactory</a></span>&nbsp;<span class="element-name">typeFactory</span></div>
</section>
</li>
</ul>
</section>
</li>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<li>
<section class="constructor-details" id="constructor-detail">
<h2>Constructor Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="&lt;init&gt;(org.apache.calcite.rel.type.RelDataTypeFactory)">
<h3>RexBuilder</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">RexBuilder</span><wbr><span class="parameters">(<a href="../rel/type/RelDataTypeFactory.html" title="interface in org.apache.calcite.rel.type">RelDataTypeFactory</a>&nbsp;typeFactory)</span></div>
<div class="block">Creates a RexBuilder.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>typeFactory</code> - Type factory</dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
<!-- ============ METHOD DETAIL ========== -->
<li>
<section class="method-details" id="method-detail">
<h2>Method Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="identityProjects(org.apache.calcite.rel.type.RelDataType)">
<h3>identityProjects</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;</span>&nbsp;<span class="element-name">identityProjects</span><wbr><span class="parameters">(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;rowType)</span></div>
<div class="block">Creates a list of <a href="RexInputRef.html" title="class in org.apache.calcite.rex"><code>RexInputRef</code></a> expressions,
projecting the fields of a given record type.</div>
</section>
</li>
<li>
<section class="detail" id="getTypeFactory()">
<h3>getTypeFactory</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="../rel/type/RelDataTypeFactory.html" title="interface in org.apache.calcite.rel.type">RelDataTypeFactory</a></span>&nbsp;<span class="element-name">getTypeFactory</span>()</div>
<div class="block">Returns this RexBuilder's type factory.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>type factory</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getOpTab()">
<h3>getOpTab</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="../sql/fun/SqlStdOperatorTable.html" title="class in org.apache.calcite.sql.fun">SqlStdOperatorTable</a></span>&nbsp;<span class="element-name">getOpTab</span>()</div>
<div class="block">Returns this RexBuilder's operator table.</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>operator table</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="makeFieldAccess(org.apache.calcite.rex.RexNode,java.lang.String,boolean)">
<h3>makeFieldAccess</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></span>&nbsp;<span class="element-name">makeFieldAccess</span><wbr><span class="parameters">(<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;expr,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;fieldName,
boolean&nbsp;caseSensitive)</span></div>
<div class="block">Creates an expression accessing a given named field from a record.
<p>NOTE: Be careful choosing the value of <code>caseSensitive</code>.
If the field name was supplied by an end-user (e.g. as a column alias in
SQL), use your session's case-sensitivity setting.
Only hard-code <code>true</code> if you are sure that the field name is
internally generated.
Hard-coding <code>false</code> is almost certainly wrong.</p></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>expr</code> - Expression yielding a record</dd>
<dd><code>fieldName</code> - Name of field in record</dd>
<dd><code>caseSensitive</code> - Whether match is case-sensitive</dd>
<dt>Returns:</dt>
<dd>Expression accessing a given named field</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="makeFieldAccess(org.apache.calcite.rex.RexNode,int)">
<h3>makeFieldAccess</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></span>&nbsp;<span class="element-name">makeFieldAccess</span><wbr><span class="parameters">(<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;expr,
int&nbsp;i)</span></div>
<div class="block">Creates an expression accessing a field with a given ordinal from a
record.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>expr</code> - Expression yielding a record</dd>
<dd><code>i</code> - Ordinal of field</dd>
<dt>Returns:</dt>
<dd>Expression accessing given field</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="makeCall(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.sql.SqlOperator,java.util.List)">
<h3>makeCall</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></span>&nbsp;<span class="element-name">makeCall</span><wbr><span class="parameters">(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;returnType,
<a href="../sql/SqlOperator.html" title="class in org.apache.calcite.sql">SqlOperator</a>&nbsp;op,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;exprs)</span></div>
<div class="block">Creates a call with a list of arguments and a predetermined type.</div>
</section>
</li>
<li>
<section class="detail" id="makeCall(org.apache.calcite.sql.SqlOperator,java.util.List)">
<h3>makeCall</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></span>&nbsp;<span class="element-name">makeCall</span><wbr><span class="parameters">(<a href="../sql/SqlOperator.html" title="class in org.apache.calcite.sql">SqlOperator</a>&nbsp;op,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;? extends <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;exprs)</span></div>
<div class="block">Creates a call with an array of arguments.
<p>If you already know the return type of the call, then
<a href="#makeCall(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.sql.SqlOperator,java.util.List)"><code>makeCall(org.apache.calcite.rel.type.RelDataType, org.apache.calcite.sql.SqlOperator, java.util.List)</code></a>
is preferred.</p></div>
</section>
</li>
<li>
<section class="detail" id="makeCall(org.apache.calcite.sql.SqlOperator,org.apache.calcite.rex.RexNode...)">
<h3>makeCall</h3>
<div class="member-signature"><span class="modifiers">public final</span>&nbsp;<span class="return-type"><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></span>&nbsp;<span class="element-name">makeCall</span><wbr><span class="parameters">(<a href="../sql/SqlOperator.html" title="class in org.apache.calcite.sql">SqlOperator</a>&nbsp;op,
<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>...&nbsp;exprs)</span></div>
<div class="block">Creates a call with a list of arguments.
<p>Equivalent to
<code>makeCall(op, exprList.toArray(new RexNode[exprList.size()]))</code>.</div>
</section>
</li>
<li>
<section class="detail" id="deriveReturnType(org.apache.calcite.sql.SqlOperator,java.util.List)">
<h3>deriveReturnType</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a></span>&nbsp;<span class="element-name">deriveReturnType</span><wbr><span class="parameters">(<a href="../sql/SqlOperator.html" title="class in org.apache.calcite.sql">SqlOperator</a>&nbsp;op,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;? extends <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;exprs)</span></div>
<div class="block">Derives the return type of a call to an operator.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>op</code> - the operator being called</dd>
<dd><code>exprs</code> - actual operands</dd>
<dt>Returns:</dt>
<dd>derived type</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addAggCall(org.apache.calcite.rel.core.AggregateCall,int,java.util.List,java.util.Map,java.util.function.IntPredicate)">
<h3>addAggCall</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></span>&nbsp;<span class="element-name">addAggCall</span><wbr><span class="parameters">(<a href="../rel/core/AggregateCall.html" title="class in org.apache.calcite.rel.core">AggregateCall</a>&nbsp;aggCall,
int&nbsp;groupCount,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="../rel/core/AggregateCall.html" title="class in org.apache.calcite.rel.core">AggregateCall</a>&gt;&nbsp;aggCalls,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a>&lt;<a href="../rel/core/AggregateCall.html" title="class in org.apache.calcite.rel.core">AggregateCall</a>,<wbr><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;aggCallMapping,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/function/IntPredicate.html" title="class or interface in java.util.function" class="external-link">IntPredicate</a>&nbsp;isNullable)</span></div>
<div class="block">Creates a reference to an aggregate call, checking for repeated calls.
<p>Argument types help to optimize for repeated aggregates.
For instance count(42) is equivalent to count(*).</p></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>aggCall</code> - aggregate call to be added</dd>
<dd><code>groupCount</code> - number of groups in the aggregate relation</dd>
<dd><code>aggCalls</code> - destination list of aggregate calls</dd>
<dd><code>aggCallMapping</code> - the dictionary of already added calls</dd>
<dd><code>isNullable</code> - Whether input field i is nullable</dd>
<dt>Returns:</dt>
<dd>Rex expression for the given aggregate call</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="addAggCall(org.apache.calcite.rel.core.AggregateCall,int,java.util.List,java.util.Map,java.util.List)">
<h3>addAggCall</h3>
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
</span><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></span>&nbsp;<span class="element-name">addAggCall</span><wbr><span class="parameters">(<a href="../rel/core/AggregateCall.html" title="class in org.apache.calcite.rel.core">AggregateCall</a>&nbsp;aggCall,
int&nbsp;groupCount,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="../rel/core/AggregateCall.html" title="class in org.apache.calcite.rel.core">AggregateCall</a>&gt;&nbsp;aggCalls,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a>&lt;<a href="../rel/core/AggregateCall.html" title="class in org.apache.calcite.rel.core">AggregateCall</a>,<wbr><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;aggCallMapping,
@Nullable <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&gt;&nbsp;aggArgTypes)</span></div>
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span></div>
</section>
</li>
<li>
<section class="detail" id="addAggCall(org.apache.calcite.rel.core.AggregateCall,int,boolean,java.util.List,java.util.Map,java.util.List)">
<h3>addAggCall</h3>
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
</span><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></span>&nbsp;<span class="element-name">addAggCall</span><wbr><span class="parameters">(<a href="../rel/core/AggregateCall.html" title="class in org.apache.calcite.rel.core">AggregateCall</a>&nbsp;aggCall,
int&nbsp;groupCount,
boolean&nbsp;indicator,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="../rel/core/AggregateCall.html" title="class in org.apache.calcite.rel.core">AggregateCall</a>&gt;&nbsp;aggCalls,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" class="external-link">Map</a>&lt;<a href="../rel/core/AggregateCall.html" title="class in org.apache.calcite.rel.core">AggregateCall</a>,<wbr><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;aggCallMapping,
@Nullable <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&gt;&nbsp;aggArgTypes)</span></div>
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span></div>
<div class="block">Creates a reference to an aggregate call, checking for repeated calls.</div>
</section>
</li>
<li>
<section class="detail" id="makeOver(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.sql.SqlAggFunction,java.util.List,java.util.List,com.google.common.collect.ImmutableList,org.apache.calcite.rex.RexWindowBound,org.apache.calcite.rex.RexWindowBound,boolean,boolean,boolean,boolean)">
<h3>makeOver</h3>
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
</span><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></span>&nbsp;<span class="element-name">makeOver</span><wbr><span class="parameters">(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
<a href="../sql/SqlAggFunction.html" title="class in org.apache.calcite.sql">SqlAggFunction</a>&nbsp;operator,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;exprs,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;partitionKeys,
com.google.common.collect.ImmutableList&lt;<a href="RexFieldCollation.html" title="class in org.apache.calcite.rex">RexFieldCollation</a>&gt;&nbsp;orderKeys,
<a href="RexWindowBound.html" title="class in org.apache.calcite.rex">RexWindowBound</a>&nbsp;lowerBound,
<a href="RexWindowBound.html" title="class in org.apache.calcite.rex">RexWindowBound</a>&nbsp;upperBound,
boolean&nbsp;rows,
boolean&nbsp;allowPartial,
boolean&nbsp;nullWhenCountZero,
boolean&nbsp;distinct)</span></div>
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span></div>
</section>
</li>
<li>
<section class="detail" id="makeOver(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.sql.SqlAggFunction,java.util.List,java.util.List,com.google.common.collect.ImmutableList,org.apache.calcite.rex.RexWindowBound,org.apache.calcite.rex.RexWindowBound,boolean,boolean,boolean,boolean,boolean)">
<h3>makeOver</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></span>&nbsp;<span class="element-name">makeOver</span><wbr><span class="parameters">(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
<a href="../sql/SqlAggFunction.html" title="class in org.apache.calcite.sql">SqlAggFunction</a>&nbsp;operator,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;exprs,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;partitionKeys,
com.google.common.collect.ImmutableList&lt;<a href="RexFieldCollation.html" title="class in org.apache.calcite.rex">RexFieldCollation</a>&gt;&nbsp;orderKeys,
<a href="RexWindowBound.html" title="class in org.apache.calcite.rex">RexWindowBound</a>&nbsp;lowerBound,
<a href="RexWindowBound.html" title="class in org.apache.calcite.rex">RexWindowBound</a>&nbsp;upperBound,
boolean&nbsp;rows,
boolean&nbsp;allowPartial,
boolean&nbsp;nullWhenCountZero,
boolean&nbsp;distinct,
boolean&nbsp;ignoreNulls)</span></div>
<div class="block">Creates a call to a windowed agg.</div>
</section>
</li>
<li>
<section class="detail" id="makeWindow(java.util.List,com.google.common.collect.ImmutableList,org.apache.calcite.rex.RexWindowBound,org.apache.calcite.rex.RexWindowBound,boolean)">
<h3>makeWindow</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexWindow.html" title="class in org.apache.calcite.rex">RexWindow</a></span>&nbsp;<span class="element-name">makeWindow</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;partitionKeys,
com.google.common.collect.ImmutableList&lt;<a href="RexFieldCollation.html" title="class in org.apache.calcite.rex">RexFieldCollation</a>&gt;&nbsp;orderKeys,
<a href="RexWindowBound.html" title="class in org.apache.calcite.rex">RexWindowBound</a>&nbsp;lowerBound,
<a href="RexWindowBound.html" title="class in org.apache.calcite.rex">RexWindowBound</a>&nbsp;upperBound,
boolean&nbsp;rows)</span></div>
<div class="block">Creates a window specification.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>partitionKeys</code> - Partition keys</dd>
<dd><code>orderKeys</code> - Order keys</dd>
<dd><code>lowerBound</code> - Lower bound</dd>
<dd><code>upperBound</code> - Upper bound</dd>
<dd><code>rows</code> - Whether physical. True if row-based, false if
range-based</dd>
<dt>Returns:</dt>
<dd>window specification</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="constantNull()">
<h3>constantNull</h3>
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
</span><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></span>&nbsp;<span class="element-name">constantNull</span>()</div>
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">Use <a href="#makeNullLiteral(org.apache.calcite.rel.type.RelDataType)"><code>makeNullLiteral(RelDataType)</code></a>, which produces a
NULL of the correct type</div>
</div>
<div class="block">Creates a constant for the SQL <code>NULL</code> value.</div>
</section>
</li>
<li>
<section class="detail" id="makeCorrel(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.rel.core.CorrelationId)">
<h3>makeCorrel</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></span>&nbsp;<span class="element-name">makeCorrel</span><wbr><span class="parameters">(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
<a href="../rel/core/CorrelationId.html" title="class in org.apache.calcite.rel.core">CorrelationId</a>&nbsp;id)</span></div>
<div class="block">Creates an expression referencing a correlation variable.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>id</code> - Name of variable</dd>
<dd><code>type</code> - Type of variable</dd>
<dt>Returns:</dt>
<dd>Correlation variable</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="makeNewInvocation(org.apache.calcite.rel.type.RelDataType,java.util.List)">
<h3>makeNewInvocation</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></span>&nbsp;<span class="element-name">makeNewInvocation</span><wbr><span class="parameters">(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;exprs)</span></div>
<div class="block">Creates an invocation of the NEW operator.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>type</code> - Type to be instantiated</dd>
<dd><code>exprs</code> - Arguments to NEW operator</dd>
<dt>Returns:</dt>
<dd>Expression invoking NEW operator</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="makeCast(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.rex.RexNode)">
<h3>makeCast</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></span>&nbsp;<span class="element-name">makeCast</span><wbr><span class="parameters">(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;exp)</span></div>
<div class="block">Creates a call to the CAST operator.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>type</code> - Type to cast to</dd>
<dd><code>exp</code> - Expression being cast</dd>
<dt>Returns:</dt>
<dd>Call to CAST operator</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="makeCast(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.rex.RexNode,boolean)">
<h3>makeCast</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></span>&nbsp;<span class="element-name">makeCast</span><wbr><span class="parameters">(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;exp,
boolean&nbsp;matchNullability)</span></div>
<div class="block">Creates a call to the CAST operator, expanding if possible, and optionally
also preserving nullability.
<p>Tries to expand the cast, and therefore the result may be something
other than a <a href="RexCall.html" title="class in org.apache.calcite.rex"><code>RexCall</code></a> to the CAST operator, such as a
<a href="RexLiteral.html" title="class in org.apache.calcite.rex"><code>RexLiteral</code></a>.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>type</code> - Type to cast to</dd>
<dd><code>exp</code> - Expression being cast</dd>
<dd><code>matchNullability</code> - Whether to ensure the result has the same
nullability as <code>type</code></dd>
<dt>Returns:</dt>
<dd>Call to CAST operator</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="baseUnit(org.apache.calcite.sql.type.SqlTypeName)">
<h3>baseUnit</h3>
<div class="member-signature"><span class="modifiers">protected static</span>&nbsp;<span class="return-type">org.apache.calcite.avatica.util.TimeUnit</span>&nbsp;<span class="element-name">baseUnit</span><wbr><span class="parameters">(<a href="../sql/type/SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&nbsp;unit)</span></div>
<div class="block">Returns the lowest granularity unit for the given unit.
YEAR and MONTH intervals are stored as months;
HOUR, MINUTE, SECOND intervals are stored as milliseconds.</div>
</section>
</li>
<li>
<section class="detail" id="multiplyDivide(org.apache.calcite.rex.RexNode,java.math.BigDecimal,java.math.BigDecimal)">
<h3>multiplyDivide</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></span>&nbsp;<span class="element-name">multiplyDivide</span><wbr><span class="parameters">(<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;e,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a>&nbsp;multiplier,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a>&nbsp;divider)</span></div>
</section>
</li>
<li>
<section class="detail" id="encodeIntervalOrDecimal(org.apache.calcite.rex.RexNode,org.apache.calcite.rel.type.RelDataType,boolean)">
<h3>encodeIntervalOrDecimal</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></span>&nbsp;<span class="element-name">encodeIntervalOrDecimal</span><wbr><span class="parameters">(<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;value,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
boolean&nbsp;checkOverflow)</span></div>
<div class="block">Casts a decimal's integer representation to a decimal node. If the
expression is not the expected integer type, then it is casted first.
<p>An overflow check may be requested to ensure the internal value
does not exceed the maximum value of the decimal type.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - integer representation of decimal</dd>
<dd><code>type</code> - type integer will be reinterpreted as</dd>
<dd><code>checkOverflow</code> - indicates whether an overflow check is required
when reinterpreting this particular value as the
decimal type. A check usually not required for
arithmetic, but is often required for rounding and
explicit casts.</dd>
<dt>Returns:</dt>
<dd>the integer reinterpreted as an opaque decimal type</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="decodeIntervalOrDecimal(org.apache.calcite.rex.RexNode)">
<h3>decodeIntervalOrDecimal</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></span>&nbsp;<span class="element-name">decodeIntervalOrDecimal</span><wbr><span class="parameters">(<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;node)</span></div>
<div class="block">Retrieves an INTERVAL or DECIMAL node's integer representation.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>node</code> - the interval or decimal value as an opaque type</dd>
<dt>Returns:</dt>
<dd>an integer representation of the decimal value</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="makeAbstractCast(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.rex.RexNode)">
<h3>makeAbstractCast</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></span>&nbsp;<span class="element-name">makeAbstractCast</span><wbr><span class="parameters">(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;exp)</span></div>
<div class="block">Creates a call to the CAST operator.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>type</code> - Type to cast to</dd>
<dd><code>exp</code> - Expression being cast</dd>
<dt>Returns:</dt>
<dd>Call to CAST operator</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="makeReinterpretCast(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.rex.RexNode,org.apache.calcite.rex.RexNode)">
<h3>makeReinterpretCast</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></span>&nbsp;<span class="element-name">makeReinterpretCast</span><wbr><span class="parameters">(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;exp,
<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;checkOverflow)</span></div>
<div class="block">Makes a reinterpret cast.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>type</code> - type returned by the cast</dd>
<dd><code>exp</code> - expression to be casted</dd>
<dd><code>checkOverflow</code> - whether an overflow check is required</dd>
<dt>Returns:</dt>
<dd>a RexCall with two operands and a special return type</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="makeNotNull(org.apache.calcite.rex.RexNode)">
<h3>makeNotNull</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></span>&nbsp;<span class="element-name">makeNotNull</span><wbr><span class="parameters">(<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;exp)</span></div>
<div class="block">Makes a cast of a value to NOT NULL;
no-op if the type already has NOT NULL.</div>
</section>
</li>
<li>
<section class="detail" id="makeRangeReference(org.apache.calcite.rel.RelNode)">
<h3>makeRangeReference</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></span>&nbsp;<span class="element-name">makeRangeReference</span><wbr><span class="parameters">(<a href="../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&nbsp;input)</span></div>
<div class="block">Creates a reference to all the fields in the row. That is, the whole row
as a single record object.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>input</code> - Input relational expression</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="makeRangeReference(org.apache.calcite.rel.type.RelDataType,int,boolean)">
<h3>makeRangeReference</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexRangeRef.html" title="class in org.apache.calcite.rex">RexRangeRef</a></span>&nbsp;<span class="element-name">makeRangeReference</span><wbr><span class="parameters">(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
int&nbsp;offset,
boolean&nbsp;nullable)</span></div>
<div class="block">Creates a reference to all the fields in the row.
<p>For example, if the input row has type <code>T{f0,f1,f2,f3,f4}</code>
then <code>makeRangeReference(T{f0,f1,f2,f3,f4}, S{f3,f4}, 3)</code> is
an expression which yields the last 2 fields.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>type</code> - Type of the resulting range record.</dd>
<dd><code>offset</code> - Index of first field.</dd>
<dd><code>nullable</code> - Whether the record is nullable.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="makeInputRef(org.apache.calcite.rel.type.RelDataType,int)">
<h3>makeInputRef</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexInputRef.html" title="class in org.apache.calcite.rex">RexInputRef</a></span>&nbsp;<span class="element-name">makeInputRef</span><wbr><span class="parameters">(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
int&nbsp;i)</span></div>
<div class="block">Creates a reference to a given field of the input record.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>type</code> - Type of field</dd>
<dd><code>i</code> - Ordinal of field</dd>
<dt>Returns:</dt>
<dd>Reference to field</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="makeInputRef(org.apache.calcite.rel.RelNode,int)">
<h3>makeInputRef</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexInputRef.html" title="class in org.apache.calcite.rex">RexInputRef</a></span>&nbsp;<span class="element-name">makeInputRef</span><wbr><span class="parameters">(<a href="../rel/RelNode.html" title="interface in org.apache.calcite.rel">RelNode</a>&nbsp;input,
int&nbsp;i)</span></div>
<div class="block">Creates a reference to a given field of the input relational expression.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>input</code> - Input relational expression</dd>
<dd><code>i</code> - Ordinal of field</dd>
<dt>Returns:</dt>
<dd>Reference to field</dd>
<dt>See Also:</dt>
<dd>
<ul class="see-list">
<li><a href="#identityProjects(org.apache.calcite.rel.type.RelDataType)"><code>identityProjects(RelDataType)</code></a></li>
</ul>
</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="makePatternFieldRef(java.lang.String,org.apache.calcite.rel.type.RelDataType,int)">
<h3>makePatternFieldRef</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexPatternFieldRef.html" title="class in org.apache.calcite.rex">RexPatternFieldRef</a></span>&nbsp;<span class="element-name">makePatternFieldRef</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;alpha,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
int&nbsp;i)</span></div>
<div class="block">Creates a reference to a given field of the pattern.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>alpha</code> - the pattern name</dd>
<dd><code>type</code> - Type of field</dd>
<dd><code>i</code> - Ordinal of field</dd>
<dt>Returns:</dt>
<dd>Reference to field of pattern</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="makeLocalRef(org.apache.calcite.rel.type.RelDataType,int)">
<h3>makeLocalRef</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexLocalRef.html" title="class in org.apache.calcite.rex">RexLocalRef</a></span>&nbsp;<span class="element-name">makeLocalRef</span><wbr><span class="parameters">(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
int&nbsp;i)</span></div>
<div class="block">Create a reference to local variable.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>type</code> - Type of variable</dd>
<dd><code>i</code> - Ordinal of variable</dd>
<dt>Returns:</dt>
<dd>Reference to local variable</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="makeFlag(java.lang.Enum)">
<h3>makeFlag</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></span>&nbsp;<span class="element-name">makeFlag</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Enum.html" title="class or interface in java.lang" class="external-link">Enum</a>&nbsp;flag)</span></div>
<div class="block">Creates a literal representing a flag.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>flag</code> - Flag value</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="makeLiteral(java.lang.Comparable,org.apache.calcite.rel.type.RelDataType,org.apache.calcite.sql.type.SqlTypeName)">
<h3>makeLiteral</h3>
<div class="member-signature"><span class="modifiers">protected</span>&nbsp;<span class="return-type"><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></span>&nbsp;<span class="element-name">makeLiteral</span><wbr><span class="parameters">(@Nullable <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a>&nbsp;o,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
<a href="../sql/type/SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&nbsp;typeName)</span></div>
<div class="block">Internal method to create a call to a literal. Code outside this package
should call one of the type-specific methods such as
<a href="#makeDateLiteral(org.apache.calcite.util.DateString)"><code>makeDateLiteral(DateString)</code></a>, <a href="#makeLiteral(boolean)"><code>makeLiteral(boolean)</code></a>,
<a href="#makeLiteral(java.lang.String)"><code>makeLiteral(String)</code></a>.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>o</code> - Value of literal, must be appropriate for the type</dd>
<dd><code>type</code> - Type of literal</dd>
<dd><code>typeName</code> - SQL type of literal</dd>
<dt>Returns:</dt>
<dd>Literal</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="makeLiteral(boolean)">
<h3>makeLiteral</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></span>&nbsp;<span class="element-name">makeLiteral</span><wbr><span class="parameters">(boolean&nbsp;b)</span></div>
<div class="block">Creates a boolean literal.</div>
</section>
</li>
<li>
<section class="detail" id="makeExactLiteral(java.math.BigDecimal)">
<h3>makeExactLiteral</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></span>&nbsp;<span class="element-name">makeExactLiteral</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a>&nbsp;bd)</span></div>
<div class="block">Creates a numeric literal.</div>
</section>
</li>
<li>
<section class="detail" id="makeBigintLiteral(java.math.BigDecimal)">
<h3>makeBigintLiteral</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></span>&nbsp;<span class="element-name">makeBigintLiteral</span><wbr><span class="parameters">(@Nullable <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a>&nbsp;bd)</span></div>
<div class="block">Creates a BIGINT literal.</div>
</section>
</li>
<li>
<section class="detail" id="makeExactLiteral(java.math.BigDecimal,org.apache.calcite.rel.type.RelDataType)">
<h3>makeExactLiteral</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></span>&nbsp;<span class="element-name">makeExactLiteral</span><wbr><span class="parameters">(@Nullable <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a>&nbsp;bd,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type)</span></div>
<div class="block">Creates a numeric literal.</div>
</section>
</li>
<li>
<section class="detail" id="makeBinaryLiteral(org.apache.calcite.avatica.util.ByteString)">
<h3>makeBinaryLiteral</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></span>&nbsp;<span class="element-name">makeBinaryLiteral</span><wbr><span class="parameters">(org.apache.calcite.avatica.util.ByteString&nbsp;byteString)</span></div>
<div class="block">Creates a byte array literal.</div>
</section>
</li>
<li>
<section class="detail" id="makeApproxLiteral(java.math.BigDecimal)">
<h3>makeApproxLiteral</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></span>&nbsp;<span class="element-name">makeApproxLiteral</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a>&nbsp;bd)</span></div>
<div class="block">Creates a double-precision literal.</div>
</section>
</li>
<li>
<section class="detail" id="makeApproxLiteral(java.math.BigDecimal,org.apache.calcite.rel.type.RelDataType)">
<h3>makeApproxLiteral</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></span>&nbsp;<span class="element-name">makeApproxLiteral</span><wbr><span class="parameters">(@Nullable <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a>&nbsp;bd,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type)</span></div>
<div class="block">Creates an approximate numeric literal (double or float).</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>bd</code> - literal value</dd>
<dd><code>type</code> - approximate numeric type</dd>
<dt>Returns:</dt>
<dd>new literal</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="makeSearchArgumentLiteral(org.apache.calcite.util.Sarg,org.apache.calcite.rel.type.RelDataType)">
<h3>makeSearchArgumentLiteral</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></span>&nbsp;<span class="element-name">makeSearchArgumentLiteral</span><wbr><span class="parameters">(<a href="../util/Sarg.html" title="class in org.apache.calcite.util">Sarg</a>&nbsp;s,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type)</span></div>
<div class="block">Creates a search argument literal.</div>
</section>
</li>
<li>
<section class="detail" id="makeLiteral(java.lang.String)">
<h3>makeLiteral</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></span>&nbsp;<span class="element-name">makeLiteral</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;s)</span></div>
<div class="block">Creates a character string literal.</div>
</section>
</li>
<li>
<section class="detail" id="makePreciseStringLiteral(java.lang.String)">
<h3>makePreciseStringLiteral</h3>
<div class="member-signature"><span class="modifiers">protected</span>&nbsp;<span class="return-type"><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></span>&nbsp;<span class="element-name">makePreciseStringLiteral</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;s)</span></div>
<div class="block">Creates a character string literal with type CHAR and default charset and
collation.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>s</code> - String value</dd>
<dt>Returns:</dt>
<dd>Character string literal</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="makePreciseStringLiteral(org.apache.calcite.avatica.util.ByteString,java.lang.String,org.apache.calcite.sql.SqlCollation)">
<h3>makePreciseStringLiteral</h3>
<div class="member-signature"><span class="modifiers">protected</span>&nbsp;<span class="return-type"><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></span>&nbsp;<span class="element-name">makePreciseStringLiteral</span><wbr><span class="parameters">(org.apache.calcite.avatica.util.ByteString&nbsp;value,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;charsetName,
<a href="../sql/SqlCollation.html" title="class in org.apache.calcite.sql">SqlCollation</a>&nbsp;collation)</span></div>
<div class="block">Creates a character string literal with type CHAR.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - String value in bytes</dd>
<dd><code>charsetName</code> - SQL-level charset name</dd>
<dd><code>collation</code> - Sql collation</dd>
<dt>Returns:</dt>
<dd>String literal</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="ensureType(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.rex.RexNode,boolean)">
<h3>ensureType</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></span>&nbsp;<span class="element-name">ensureType</span><wbr><span class="parameters">(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;node,
boolean&nbsp;matchNullability)</span></div>
<div class="block">Ensures expression is interpreted as a specified type. The returned
expression may be wrapped with a cast.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>type</code> - desired type</dd>
<dd><code>node</code> - expression</dd>
<dd><code>matchNullability</code> - whether to correct nullability of specified
type to match the expression; this usually should
be true, except for explicit casts which can
override default nullability</dd>
<dt>Returns:</dt>
<dd>a casted expression or the original expression</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="matchNullability(org.apache.calcite.rel.type.RelDataType,org.apache.calcite.rex.RexNode)">
<h3>matchNullability</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a></span>&nbsp;<span class="element-name">matchNullability</span><wbr><span class="parameters">(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;value)</span></div>
<div class="block">Ensures that a type's nullability matches a value's nullability.</div>
</section>
</li>
<li>
<section class="detail" id="makeCharLiteral(org.apache.calcite.util.NlsString)">
<h3>makeCharLiteral</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></span>&nbsp;<span class="element-name">makeCharLiteral</span><wbr><span class="parameters">(<a href="../util/NlsString.html" title="class in org.apache.calcite.util">NlsString</a>&nbsp;str)</span></div>
<div class="block">Creates a character string literal from an <a href="../util/NlsString.html" title="class in org.apache.calcite.util"><code>NlsString</code></a>.
<p>If the string's charset and collation are not set, uses the system
defaults.</div>
</section>
</li>
<li>
<section class="detail" id="makeDateLiteral(java.util.Calendar)">
<h3>makeDateLiteral</h3>
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
</span><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></span>&nbsp;<span class="element-name">makeDateLiteral</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Calendar.html" title="class or interface in java.util" class="external-link">Calendar</a>&nbsp;calendar)</span></div>
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">Use <a href="#makeDateLiteral(org.apache.calcite.util.DateString)"><code>makeDateLiteral(DateString)</code></a>.</div>
</div>
</section>
</li>
<li>
<section class="detail" id="makeDateLiteral(org.apache.calcite.util.DateString)">
<h3>makeDateLiteral</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></span>&nbsp;<span class="element-name">makeDateLiteral</span><wbr><span class="parameters">(<a href="../util/DateString.html" title="class in org.apache.calcite.util">DateString</a>&nbsp;date)</span></div>
<div class="block">Creates a Date literal.</div>
</section>
</li>
<li>
<section class="detail" id="makeTimeLiteral(java.util.Calendar,int)">
<h3>makeTimeLiteral</h3>
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
</span><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></span>&nbsp;<span class="element-name">makeTimeLiteral</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Calendar.html" title="class or interface in java.util" class="external-link">Calendar</a>&nbsp;calendar,
int&nbsp;precision)</span></div>
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">Use <a href="#makeTimeLiteral(org.apache.calcite.util.TimeString,int)"><code>makeTimeLiteral(TimeString, int)</code></a>.</div>
</div>
</section>
</li>
<li>
<section class="detail" id="makeTimeLiteral(org.apache.calcite.util.TimeString,int)">
<h3>makeTimeLiteral</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></span>&nbsp;<span class="element-name">makeTimeLiteral</span><wbr><span class="parameters">(<a href="../util/TimeString.html" title="class in org.apache.calcite.util">TimeString</a>&nbsp;time,
int&nbsp;precision)</span></div>
<div class="block">Creates a Time literal.</div>
</section>
</li>
<li>
<section class="detail" id="makeTimeWithLocalTimeZoneLiteral(org.apache.calcite.util.TimeString,int)">
<h3>makeTimeWithLocalTimeZoneLiteral</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></span>&nbsp;<span class="element-name">makeTimeWithLocalTimeZoneLiteral</span><wbr><span class="parameters">(<a href="../util/TimeString.html" title="class in org.apache.calcite.util">TimeString</a>&nbsp;time,
int&nbsp;precision)</span></div>
<div class="block">Creates a Time with local time-zone literal.</div>
</section>
</li>
<li>
<section class="detail" id="makeTimestampLiteral(java.util.Calendar,int)">
<h3>makeTimestampLiteral</h3>
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
</span><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></span>&nbsp;<span class="element-name">makeTimestampLiteral</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Calendar.html" title="class or interface in java.util" class="external-link">Calendar</a>&nbsp;calendar,
int&nbsp;precision)</span></div>
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">Use <a href="#makeTimestampLiteral(org.apache.calcite.util.TimestampString,int)"><code>makeTimestampLiteral(TimestampString, int)</code></a>.</div>
</div>
</section>
</li>
<li>
<section class="detail" id="makeTimestampLiteral(org.apache.calcite.util.TimestampString,int)">
<h3>makeTimestampLiteral</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></span>&nbsp;<span class="element-name">makeTimestampLiteral</span><wbr><span class="parameters">(<a href="../util/TimestampString.html" title="class in org.apache.calcite.util">TimestampString</a>&nbsp;timestamp,
int&nbsp;precision)</span></div>
<div class="block">Creates a Timestamp literal.</div>
</section>
</li>
<li>
<section class="detail" id="makeTimestampWithLocalTimeZoneLiteral(org.apache.calcite.util.TimestampString,int)">
<h3>makeTimestampWithLocalTimeZoneLiteral</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></span>&nbsp;<span class="element-name">makeTimestampWithLocalTimeZoneLiteral</span><wbr><span class="parameters">(<a href="../util/TimestampString.html" title="class in org.apache.calcite.util">TimestampString</a>&nbsp;timestamp,
int&nbsp;precision)</span></div>
<div class="block">Creates a Timestamp with local time-zone literal.</div>
</section>
</li>
<li>
<section class="detail" id="makeIntervalLiteral(org.apache.calcite.sql.SqlIntervalQualifier)">
<h3>makeIntervalLiteral</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></span>&nbsp;<span class="element-name">makeIntervalLiteral</span><wbr><span class="parameters">(<a href="../sql/SqlIntervalQualifier.html" title="class in org.apache.calcite.sql">SqlIntervalQualifier</a>&nbsp;intervalQualifier)</span></div>
<div class="block">Creates a literal representing an interval type, for example
<code>YEAR TO MONTH</code> or <code>DOW</code>.</div>
</section>
</li>
<li>
<section class="detail" id="makeIntervalLiteral(java.math.BigDecimal,org.apache.calcite.sql.SqlIntervalQualifier)">
<h3>makeIntervalLiteral</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></span>&nbsp;<span class="element-name">makeIntervalLiteral</span><wbr><span class="parameters">(@Nullable <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/math/BigDecimal.html" title="class or interface in java.math" class="external-link">BigDecimal</a>&nbsp;v,
<a href="../sql/SqlIntervalQualifier.html" title="class in org.apache.calcite.sql">SqlIntervalQualifier</a>&nbsp;intervalQualifier)</span></div>
<div class="block">Creates a literal representing an interval value, for example
<code>INTERVAL '3-7' YEAR TO MONTH</code>.</div>
</section>
</li>
<li>
<section class="detail" id="makeDynamicParam(org.apache.calcite.rel.type.RelDataType,int)">
<h3>makeDynamicParam</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexDynamicParam.html" title="class in org.apache.calcite.rex">RexDynamicParam</a></span>&nbsp;<span class="element-name">makeDynamicParam</span><wbr><span class="parameters">(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
int&nbsp;index)</span></div>
<div class="block">Creates a reference to a dynamic parameter.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>type</code> - Type of dynamic parameter</dd>
<dd><code>index</code> - Index of dynamic parameter</dd>
<dt>Returns:</dt>
<dd>Expression referencing dynamic parameter</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="makeNullLiteral(org.apache.calcite.rel.type.RelDataType)">
<h3>makeNullLiteral</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></span>&nbsp;<span class="element-name">makeNullLiteral</span><wbr><span class="parameters">(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type)</span></div>
<div class="block">Creates a literal whose value is NULL, with a particular type.
<p>The typing is necessary because RexNodes are strictly typed. For
example, in the Rex world the <code>NULL</code> parameter to <code>
SUBSTRING(NULL FROM 2 FOR 4)</code> must have a valid VARCHAR type so
that the result type can be determined.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>type</code> - Type to cast NULL to</dd>
<dt>Returns:</dt>
<dd>NULL literal of given type</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="makeNullLiteral(org.apache.calcite.sql.type.SqlTypeName,int)">
<h3>makeNullLiteral</h3>
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
</span><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></span>&nbsp;<span class="element-name">makeNullLiteral</span><wbr><span class="parameters">(<a href="../sql/type/SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&nbsp;typeName,
int&nbsp;precision)</span></div>
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">Use <a href="#makeNullLiteral(org.apache.calcite.rel.type.RelDataType)"><code>makeNullLiteral(RelDataType)</code></a></div>
</div>
</section>
</li>
<li>
<section class="detail" id="makeNullLiteral(org.apache.calcite.sql.type.SqlTypeName)">
<h3>makeNullLiteral</h3>
<div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a>
</span><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></span>&nbsp;<span class="element-name">makeNullLiteral</span><wbr><span class="parameters">(<a href="../sql/type/SqlTypeName.html" title="enum in org.apache.calcite.sql.type">SqlTypeName</a>&nbsp;typeName)</span></div>
<div class="deprecation-block"><span class="deprecated-label">Deprecated.</span>
<div class="deprecation-comment">Use <a href="#makeNullLiteral(org.apache.calcite.rel.type.RelDataType)"><code>makeNullLiteral(RelDataType)</code></a></div>
</div>
</section>
</li>
<li>
<section class="detail" id="makeIn(org.apache.calcite.rex.RexNode,java.util.List)">
<h3>makeIn</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></span>&nbsp;<span class="element-name">makeIn</span><wbr><span class="parameters">(<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;arg,
<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link">List</a>&lt;? extends <a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&gt;&nbsp;ranges)</span></div>
<div class="block">Creates a <a href="RexNode.html" title="class in org.apache.calcite.rex"><code>RexNode</code></a> representation a SQL "arg IN (point, ...)"
expression.
<p>If all of the expressions are literals, creates a call <a href="../util/Sarg.html" title="class in org.apache.calcite.util"><code>Sarg</code></a>
literal, "SEARCH(arg, SARG([point0..point0], [point1..point1], ...)";
otherwise creates a disjunction, "arg = point0 OR arg = point1 OR ...".</div>
</section>
</li>
<li>
<section class="detail" id="makeBetween(org.apache.calcite.rex.RexNode,org.apache.calcite.rex.RexNode,org.apache.calcite.rex.RexNode)">
<h3>makeBetween</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></span>&nbsp;<span class="element-name">makeBetween</span><wbr><span class="parameters">(<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;arg,
<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;lower,
<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;upper)</span></div>
<div class="block">Creates a <a href="RexNode.html" title="class in org.apache.calcite.rex"><code>RexNode</code></a> representation a SQL
"arg BETWEEN lower AND upper" expression.
<p>If the expressions are all literals of compatible type, creates a call
to <a href="../util/Sarg.html" title="class in org.apache.calcite.util"><code>Sarg</code></a> literal, <code>SEARCH(arg, SARG([lower..upper])</code>;
otherwise creates a disjunction, <code>arg &gt;= lower AND arg &lt;= upper</code>.</div>
</section>
</li>
<li>
<section class="detail" id="copy(org.apache.calcite.rex.RexNode)">
<h3>copy</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></span>&nbsp;<span class="element-name">copy</span><wbr><span class="parameters">(<a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a>&nbsp;expr)</span></div>
<div class="block">Creates a copy of an expression, which may have been created using a
different RexBuilder and/or <a href="../rel/type/RelDataTypeFactory.html" title="interface in org.apache.calcite.rel.type"><code>RelDataTypeFactory</code></a>, using this
RexBuilder.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>expr</code> - Expression</dd>
<dt>Returns:</dt>
<dd>Copy of expression</dd>
<dt>See Also:</dt>
<dd>
<ul class="see-list-long">
<li><a href="../rel/type/RelDataTypeFactory.html#copyType(org.apache.calcite.rel.type.RelDataType)"><code>RelDataTypeFactory.copyType(RelDataType)</code></a></li>
</ul>
</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="makeZeroLiteral(org.apache.calcite.rel.type.RelDataType)">
<h3>makeZeroLiteral</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></span>&nbsp;<span class="element-name">makeZeroLiteral</span><wbr><span class="parameters">(<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type)</span></div>
<div class="block">Creates a literal of the default value for the given type.
<p>This value is:</p>
<ul>
<li>0 for numeric types;
<li>FALSE for BOOLEAN;
<li>The epoch for TIMESTAMP and DATE;
<li>Midnight for TIME;
<li>The empty string for string types (CHAR, BINARY, VARCHAR, VARBINARY).
</ul></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>type</code> - Type</dd>
<dt>Returns:</dt>
<dd>Simple literal</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="makeLiteral(java.lang.Object,org.apache.calcite.rel.type.RelDataType)">
<h3>makeLiteral</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexLiteral.html" title="class in org.apache.calcite.rex">RexLiteral</a></span>&nbsp;<span class="element-name">makeLiteral</span><wbr><span class="parameters">(@Nullable <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>&nbsp;value,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type)</span></div>
<div class="block">Creates a literal of a given type, padding values of constant-width
types to match their type, not allowing casts.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - Value</dd>
<dd><code>type</code> - Type</dd>
<dt>Returns:</dt>
<dd>Simple literal</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="makeLiteral(java.lang.Object,org.apache.calcite.rel.type.RelDataType,boolean)">
<h3>makeLiteral</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></span>&nbsp;<span class="element-name">makeLiteral</span><wbr><span class="parameters">(@Nullable <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>&nbsp;value,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
boolean&nbsp;allowCast)</span></div>
<div class="block">Creates a literal of a given type, padding values of constant-width
types to match their type.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - Value</dd>
<dd><code>type</code> - Type</dd>
<dd><code>allowCast</code> - Whether to allow a cast. If false, value is always a
<a href="RexLiteral.html" title="class in org.apache.calcite.rex"><code>RexLiteral</code></a> but may not be the exact type</dd>
<dt>Returns:</dt>
<dd>Simple literal, or cast simple literal</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="makeLiteral(java.lang.Object,org.apache.calcite.rel.type.RelDataType,boolean,boolean)">
<h3>makeLiteral</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="RexNode.html" title="class in org.apache.calcite.rex">RexNode</a></span>&nbsp;<span class="element-name">makeLiteral</span><wbr><span class="parameters">(@Nullable <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a>&nbsp;value,
<a href="../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type,
boolean&nbsp;allowCast,
boolean&nbsp;trim)</span></div>
<div class="block">Creates a literal of a given type. The value is assumed to be
compatible with the type.
<p>The <code>trim</code> parameter controls whether to trim values of
constant-width types such as <code>CHAR</code>. Consider a call to
<code>makeLiteral("foo ", CHAR(5)</code>, and note that the value is too short
for its type. If <code>trim</code> is true, the value is converted to "foo"
and the type to <code>CHAR(3)</code>; if <code>trim</code> is false, the value is
right-padded with spaces to <code>"foo "</code>, to match the type
<code>CHAR(5)</code>.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>value</code> - Value</dd>
<dd><code>type</code> - Type</dd>
<dd><code>allowCast</code> - Whether to allow a cast. If false, value is always a
<a href="RexLiteral.html" title="class in org.apache.calcite.rex"><code>RexLiteral</code></a> but may not be the exact type</dd>
<dd><code>trim</code> - Whether to trim values and type to the shortest equivalent
value; for example whether to convert CHAR(4) 'foo '
to CHAR(3) 'foo'</dd>
<dt>Returns:</dt>
<dd>Simple literal, or cast simple literal</dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
<!-- ========= END OF CLASS DATA ========= -->
</main>
<footer role="contentinfo">
<hr>
<p class="legal-copy"><small>Copyright &copy; 2012-2023 Apache Software Foundation. All Rights Reserved.</small></p>
</footer>
</div>
</div>
</body>
</html>