blob: 520bab57d708493f4e26a737628a2d4a3f560586 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>SqlCollation (Apache Calcite API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-migrate-3.0.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SqlCollation (Apache Calcite API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":9,"i4":9,"i5":9,"i6":9,"i7":10,"i8":10,"i9":10,"i10":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/SqlCollation.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.calcite.sql</a></div>
<h2 title="Class SqlCollation" class="title">Class SqlCollation</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.apache.calcite.sql.SqlCollation</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code>java.io.Serializable</code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">SqlCollation</span>
extends java.lang.Object
implements java.io.Serializable</pre>
<div class="block">A <code>SqlCollation</code> is an object representing a <code>Collate</code>
statement. It is immutable.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../serialized-form.html#org.apache.calcite.sql.SqlCollation">Serialized Form</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="SqlCollation.Coercibility.html" title="enum in org.apache.calcite.sql">SqlCollation.Coercibility</a></span></code></th>
<td class="colLast">
<div class="block">A &lt;character value expression&gt; consisting of a column
reference has the coercibility characteristic Implicit, with collating
sequence as defined when the column was created.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="SqlCollation.Coercibility.html" title="enum in org.apache.calcite.sql">SqlCollation.Coercibility</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#coercibility">coercibility</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="SqlCollation.html" title="class in org.apache.calcite.sql">SqlCollation</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#COERCIBLE">COERCIBLE</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collationName">collationName</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="SqlCollation.html" title="class in org.apache.calcite.sql">SqlCollation</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#IMPLICIT">IMPLICIT</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.util.Locale</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#locale">locale</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#strength">strength</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../util/SerializableCharset.html" title="class in org.apache.calcite.util">SerializableCharset</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#wrappedCharset">wrappedCharset</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.lang.String,org.apache.calcite.sql.SqlCollation.Coercibility)">SqlCollation</a></span>&#8203;(java.lang.String&nbsp;collation,
<a href="SqlCollation.Coercibility.html" title="enum in org.apache.calcite.sql">SqlCollation.Coercibility</a>&nbsp;coercibility)</code></th>
<td class="colLast">
<div class="block">Creates a Collation by its name and its coercibility</div>
</td>
</tr>
<tr class="rowColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.apache.calcite.sql.SqlCollation.Coercibility)">SqlCollation</a></span>&#8203;(<a href="SqlCollation.Coercibility.html" title="enum in org.apache.calcite.sql">SqlCollation.Coercibility</a>&nbsp;coercibility)</code></th>
<td class="colLast">
<div class="block">Creates a SqlCollation with the default collation name and the given
coercibility.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#equals(java.lang.Object)">equals</a></span>&#8203;(java.lang.Object&nbsp;o)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>java.nio.charset.Charset</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCharset()">getCharset</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="SqlCollation.Coercibility.html" title="enum in org.apache.calcite.sql">SqlCollation.Coercibility</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCoercibility()">getCoercibility</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>protected static <a href="SqlCollation.html" title="class in org.apache.calcite.sql">SqlCollation</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCoercibilityDyadic(org.apache.calcite.sql.SqlCollation,org.apache.calcite.sql.SqlCollation)">getCoercibilityDyadic</a></span>&#8203;(<a href="SqlCollation.html" title="class in org.apache.calcite.sql">SqlCollation</a>&nbsp;col1,
<a href="SqlCollation.html" title="class in org.apache.calcite.sql">SqlCollation</a>&nbsp;col2)</code></th>
<td class="colLast">
<div class="block">Returns the result for <a href="#getCoercibilityDyadicComparison(org.apache.calcite.sql.SqlCollation,org.apache.calcite.sql.SqlCollation)"><code>getCoercibilityDyadicComparison(org.apache.calcite.sql.SqlCollation, org.apache.calcite.sql.SqlCollation)</code></a> and
<a href="#getCoercibilityDyadicOperator(org.apache.calcite.sql.SqlCollation,org.apache.calcite.sql.SqlCollation)"><code>getCoercibilityDyadicOperator(org.apache.calcite.sql.SqlCollation, org.apache.calcite.sql.SqlCollation)</code></a>.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCoercibilityDyadicComparison(org.apache.calcite.sql.SqlCollation,org.apache.calcite.sql.SqlCollation)">getCoercibilityDyadicComparison</a></span>&#8203;(<a href="SqlCollation.html" title="class in org.apache.calcite.sql">SqlCollation</a>&nbsp;col1,
<a href="SqlCollation.html" title="class in org.apache.calcite.sql">SqlCollation</a>&nbsp;col2)</code></th>
<td class="colLast">
<div class="block">Returns the collating sequence (the collation name) to use for the
resulting value of a comparison.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static <a href="SqlCollation.html" title="class in org.apache.calcite.sql">SqlCollation</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCoercibilityDyadicOperator(org.apache.calcite.sql.SqlCollation,org.apache.calcite.sql.SqlCollation)">getCoercibilityDyadicOperator</a></span>&#8203;(<a href="SqlCollation.html" title="class in org.apache.calcite.sql">SqlCollation</a>&nbsp;col1,
<a href="SqlCollation.html" title="class in org.apache.calcite.sql">SqlCollation</a>&nbsp;col2)</code></th>
<td class="colLast">
<div class="block">Returns the collating sequence (the collation name) and the coercibility
for the resulting value of a dyadic operator.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>static <a href="SqlCollation.html" title="class in org.apache.calcite.sql">SqlCollation</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCoercibilityDyadicOperatorThrows(org.apache.calcite.sql.SqlCollation,org.apache.calcite.sql.SqlCollation)">getCoercibilityDyadicOperatorThrows</a></span>&#8203;(<a href="SqlCollation.html" title="class in org.apache.calcite.sql">SqlCollation</a>&nbsp;col1,
<a href="SqlCollation.html" title="class in org.apache.calcite.sql">SqlCollation</a>&nbsp;col2)</code></th>
<td class="colLast">
<div class="block">Returns the collating sequence (the collation name) and the coercibility
for the resulting value of a dyadic operator.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCollationName()">getCollationName</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hashCode()">hashCode</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString()">toString</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#unparse(org.apache.calcite.sql.SqlWriter)">unparse</a></span>&#8203;(<a href="SqlWriter.html" title="interface in org.apache.calcite.sql">SqlWriter</a>&nbsp;writer)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a id="COERCIBLE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>COERCIBLE</h4>
<pre>public static final&nbsp;<a href="SqlCollation.html" title="class in org.apache.calcite.sql">SqlCollation</a> COERCIBLE</pre>
</li>
</ul>
<a id="IMPLICIT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>IMPLICIT</h4>
<pre>public static final&nbsp;<a href="SqlCollation.html" title="class in org.apache.calcite.sql">SqlCollation</a> IMPLICIT</pre>
</li>
</ul>
<a id="collationName">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>collationName</h4>
<pre>protected final&nbsp;java.lang.String collationName</pre>
</li>
</ul>
<a id="wrappedCharset">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>wrappedCharset</h4>
<pre>protected final&nbsp;<a href="../util/SerializableCharset.html" title="class in org.apache.calcite.util">SerializableCharset</a> wrappedCharset</pre>
</li>
</ul>
<a id="locale">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>locale</h4>
<pre>protected final&nbsp;java.util.Locale locale</pre>
</li>
</ul>
<a id="strength">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>strength</h4>
<pre>protected final&nbsp;java.lang.String strength</pre>
</li>
</ul>
<a id="coercibility">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>coercibility</h4>
<pre>private final&nbsp;<a href="SqlCollation.Coercibility.html" title="enum in org.apache.calcite.sql">SqlCollation.Coercibility</a> coercibility</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;(java.lang.String,org.apache.calcite.sql.SqlCollation.Coercibility)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SqlCollation</h4>
<pre>public&nbsp;SqlCollation&#8203;(java.lang.String&nbsp;collation,
<a href="SqlCollation.Coercibility.html" title="enum in org.apache.calcite.sql">SqlCollation.Coercibility</a>&nbsp;coercibility)</pre>
<div class="block">Creates a Collation by its name and its coercibility</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>collation</code> - Collation specification</dd>
<dd><code>coercibility</code> - Coercibility</dd>
</dl>
</li>
</ul>
<a id="&lt;init&gt;(org.apache.calcite.sql.SqlCollation.Coercibility)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SqlCollation</h4>
<pre>public&nbsp;SqlCollation&#8203;(<a href="SqlCollation.Coercibility.html" title="enum in org.apache.calcite.sql">SqlCollation.Coercibility</a>&nbsp;coercibility)</pre>
<div class="block">Creates a SqlCollation with the default collation name and the given
coercibility.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>coercibility</code> - Coercibility</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="equals(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;equals&#8203;(java.lang.Object&nbsp;o)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a id="hashCode()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;hashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a id="getCoercibilityDyadicOperator(org.apache.calcite.sql.SqlCollation,org.apache.calcite.sql.SqlCollation)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCoercibilityDyadicOperator</h4>
<pre class="methodSignature">public static&nbsp;<a href="SqlCollation.html" title="class in org.apache.calcite.sql">SqlCollation</a>&nbsp;getCoercibilityDyadicOperator&#8203;(<a href="SqlCollation.html" title="class in org.apache.calcite.sql">SqlCollation</a>&nbsp;col1,
<a href="SqlCollation.html" title="class in org.apache.calcite.sql">SqlCollation</a>&nbsp;col2)</pre>
<div class="block">Returns the collating sequence (the collation name) and the coercibility
for the resulting value of a dyadic operator.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>col1</code> - first operand for the dyadic operation</dd>
<dd><code>col2</code> - second operand for the dyadic operation</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the resulting collation sequence. The "no collating sequence"
result is returned as null.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../util/Glossary.html#SQL99"><code>SQL:1999 Part 2 Section 4.2.3 Table 2</code></a></dd>
</dl>
</li>
</ul>
<a id="getCoercibilityDyadicOperatorThrows(org.apache.calcite.sql.SqlCollation,org.apache.calcite.sql.SqlCollation)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCoercibilityDyadicOperatorThrows</h4>
<pre class="methodSignature">public static&nbsp;<a href="SqlCollation.html" title="class in org.apache.calcite.sql">SqlCollation</a>&nbsp;getCoercibilityDyadicOperatorThrows&#8203;(<a href="SqlCollation.html" title="class in org.apache.calcite.sql">SqlCollation</a>&nbsp;col1,
<a href="SqlCollation.html" title="class in org.apache.calcite.sql">SqlCollation</a>&nbsp;col2)</pre>
<div class="block">Returns the collating sequence (the collation name) and the coercibility
for the resulting value of a dyadic operator.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>col1</code> - first operand for the dyadic operation</dd>
<dd><code>col2</code> - second operand for the dyadic operation</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the resulting collation sequence</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../runtime/CalciteException.html" title="class in org.apache.calcite.runtime">CalciteException</a></code> - from
<a href="../runtime/CalciteResource.html#invalidCompare(java.lang.String,java.lang.String,java.lang.String,java.lang.String)"><code>CalciteResource.invalidCompare(java.lang.String, java.lang.String, java.lang.String, java.lang.String)</code></a> or
<a href="../runtime/CalciteResource.html#differentCollations(java.lang.String,java.lang.String)"><code>CalciteResource.differentCollations(java.lang.String, java.lang.String)</code></a>
if no collating sequence can be deduced</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../util/Glossary.html#SQL99"><code>SQL:1999 Part 2 Section 4.2.3 Table 2</code></a></dd>
</dl>
</li>
</ul>
<a id="getCoercibilityDyadicComparison(org.apache.calcite.sql.SqlCollation,org.apache.calcite.sql.SqlCollation)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCoercibilityDyadicComparison</h4>
<pre class="methodSignature">public static&nbsp;java.lang.String&nbsp;getCoercibilityDyadicComparison&#8203;(<a href="SqlCollation.html" title="class in org.apache.calcite.sql">SqlCollation</a>&nbsp;col1,
<a href="SqlCollation.html" title="class in org.apache.calcite.sql">SqlCollation</a>&nbsp;col2)</pre>
<div class="block">Returns the collating sequence (the collation name) to use for the
resulting value of a comparison.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>col1</code> - first operand for the dyadic operation</dd>
<dd><code>col2</code> - second operand for the dyadic operation</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the resulting collation sequence. If no collating
sequence could be deduced throws a
<a href="../runtime/CalciteResource.html#invalidCompare(java.lang.String,java.lang.String,java.lang.String,java.lang.String)"><code>CalciteResource.invalidCompare(java.lang.String, java.lang.String, java.lang.String, java.lang.String)</code></a></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../util/Glossary.html#SQL99"><code>SQL:1999 Part 2 Section 4.2.3 Table 3</code></a></dd>
</dl>
</li>
</ul>
<a id="getCoercibilityDyadic(org.apache.calcite.sql.SqlCollation,org.apache.calcite.sql.SqlCollation)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCoercibilityDyadic</h4>
<pre class="methodSignature">protected static&nbsp;<a href="SqlCollation.html" title="class in org.apache.calcite.sql">SqlCollation</a>&nbsp;getCoercibilityDyadic&#8203;(<a href="SqlCollation.html" title="class in org.apache.calcite.sql">SqlCollation</a>&nbsp;col1,
<a href="SqlCollation.html" title="class in org.apache.calcite.sql">SqlCollation</a>&nbsp;col2)</pre>
<div class="block">Returns the result for <a href="#getCoercibilityDyadicComparison(org.apache.calcite.sql.SqlCollation,org.apache.calcite.sql.SqlCollation)"><code>getCoercibilityDyadicComparison(org.apache.calcite.sql.SqlCollation, org.apache.calcite.sql.SqlCollation)</code></a> and
<a href="#getCoercibilityDyadicOperator(org.apache.calcite.sql.SqlCollation,org.apache.calcite.sql.SqlCollation)"><code>getCoercibilityDyadicOperator(org.apache.calcite.sql.SqlCollation, org.apache.calcite.sql.SqlCollation)</code></a>.</div>
</li>
</ul>
<a id="toString()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre class="methodSignature">public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a id="unparse(org.apache.calcite.sql.SqlWriter)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unparse</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;unparse&#8203;(<a href="SqlWriter.html" title="interface in org.apache.calcite.sql">SqlWriter</a>&nbsp;writer)</pre>
</li>
</ul>
<a id="getCharset()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCharset</h4>
<pre class="methodSignature">public&nbsp;java.nio.charset.Charset&nbsp;getCharset()</pre>
</li>
</ul>
<a id="getCollationName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCollationName</h4>
<pre class="methodSignature">public final&nbsp;java.lang.String&nbsp;getCollationName()</pre>
</li>
</ul>
<a id="getCoercibility()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getCoercibility</h4>
<pre class="methodSignature">public final&nbsp;<a href="SqlCollation.Coercibility.html" title="enum in org.apache.calcite.sql">SqlCollation.Coercibility</a>&nbsp;getCoercibility()</pre>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/SqlCollation.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2012&#x2013;2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</body>
</html>