blob: edc7cef3b202ec763a5b19944d154cbe4edc9bb0 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>SqlParserPos (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="SqlParserPos (Apache Calcite API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":10,"i22":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/SqlParserPos.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.parser</a></div>
<h2 title="Class SqlParserPos" class="title">Class SqlParserPos</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.apache.calcite.sql.parser.SqlParserPos</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>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><code><a href="SqlParserPos.QuotedParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos.QuotedParserPos</a></code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">SqlParserPos</span>
extends java.lang.Object
implements java.io.Serializable</pre>
<div class="block">SqlParserPos represents the position of a parsed token within SQL statement
text.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../serialized-form.html#org.apache.calcite.sql.parser.SqlParserPos">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>private static class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="SqlParserPos.QuotedParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos.QuotedParserPos</a></span></code></th>
<td class="colLast">
<div class="block">Parser position for an identifier segment that is quoted.</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 int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#columnNumber">columnNumber</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#endColumnNumber">endColumnNumber</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#endLineNumber">endLineNumber</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#lineNumber">lineNumber</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#QUOTED_ZERO">QUOTED_ZERO</a></span></code></th>
<td class="colLast">
<div class="block">Same as <a href="#ZERO"><code>ZERO</code></a> but always quoted.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private static long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#serialVersionUID">serialVersionUID</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ZERO">ZERO</a></span></code></th>
<td class="colLast">
<div class="block">SqlParserPos representing line one, character one.</div>
</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(int,int)">SqlParserPos</a></span>&#8203;(int&nbsp;lineNumber,
int&nbsp;columnNumber)</code></th>
<td class="colLast">
<div class="block">Creates a new parser position.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(int,int,int,int)">SqlParserPos</a></span>&#8203;(int&nbsp;startLineNumber,
int&nbsp;startColumnNumber,
int&nbsp;endLineNumber,
int&nbsp;endColumnNumber)</code></th>
<td class="colLast">
<div class="block">Creates a new parser range.</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>private boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#endsAfter(org.apache.calcite.sql.parser.SqlParserPos)">endsAfter</a></span>&#8203;(<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;pos)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<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="i2" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getColumnNum()">getColumnNum</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEndColumnNum()">getEndColumnNum</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEndLineNum()">getEndLineNum</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLineNum()">getLineNum</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i6" 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="i7" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isQuoted()">isQuoted</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#overlaps(org.apache.calcite.sql.parser.SqlParserPos)">overlaps</a></span>&#8203;(<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;pos)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#plus(org.apache.calcite.sql.parser.SqlParserPos)">plus</a></span>&#8203;(<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;pos)</code></th>
<td class="colLast">
<div class="block">Combines this parser position with another to create a
position that spans from the first point in the first to the last point
in the other.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#plusAll(java.util.Collection)">plusAll</a></span>&#8203;(java.util.Collection&lt;<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&gt;&nbsp;nodeList)</code></th>
<td class="colLast">
<div class="block">Combines this parser position with a list of positions.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#plusAll(org.apache.calcite.sql.SqlNode%5B%5D)">plusAll</a></span>&#8203;(<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>[]&nbsp;nodes)</code></th>
<td class="colLast">
<div class="block">Combines this parser position with an array of positions to create a
position that spans from the first point in the first to the last point
in the other.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#startsAt(org.apache.calcite.sql.parser.SqlParserPos)">startsAt</a></span>&#8203;(<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;pos)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>private boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#startsBefore(org.apache.calcite.sql.parser.SqlParserPos)">startsBefore</a></span>&#8203;(<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;pos)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>static <a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sum(java.lang.Iterable)">sum</a></span>&#8203;(java.lang.Iterable&lt;<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&gt;&nbsp;poses)</code></th>
<td class="colLast">
<div class="block">Combines an iterable of parser positions to create a position which spans
from the beginning of the first to the end of the last.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>private static <a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sum(java.lang.Iterable,int,int,int,int)">sum</a></span>&#8203;(java.lang.Iterable&lt;<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&gt;&nbsp;poses,
int&nbsp;line,
int&nbsp;column,
int&nbsp;endLine,
int&nbsp;endColumn)</code></th>
<td class="colLast">
<div class="block">Computes the parser position which is the sum of an array of parser
positions and of a parser position represented by (line, column, endLine,
endColumn).</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>static <a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sum(java.util.List)">sum</a></span>&#8203;(java.util.List&lt;? extends <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&gt;&nbsp;nodes)</code></th>
<td class="colLast">
<div class="block">Combines the parser positions of a list of nodes to create a position
which spans from the beginning of the first to the end of the last.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>static <a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sum(org.apache.calcite.sql.SqlNode%5B%5D)">sum</a></span>&#8203;(<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>[]&nbsp;nodes)</code></th>
<td class="colLast">
<div class="block">Combines the parser positions of an array of nodes to create a position
which spans from the beginning of the first to the end of the last.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>private static <a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sum_(java.util.List)">sum_</a></span>&#8203;(java.util.List&lt;<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&gt;&nbsp;positions)</code></th>
<td class="colLast">
<div class="block">Combines a list of parser positions to create a position which spans
from the beginning of the first to the end of the last.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>private static java.lang.Iterable&lt;<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toPos(java.lang.Iterable)">toPos</a></span>&#8203;(java.lang.Iterable&lt;<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&gt;&nbsp;nodes)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>private static java.util.List&lt;<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toPos(org.apache.calcite.sql.SqlNode%5B%5D)">toPos</a></span>&#8203;(<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>[]&nbsp;nodes)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i21" 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="i22" class="altColor">
<td class="colFirst"><code><a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withQuoting(boolean)">withQuoting</a></span>&#8203;(boolean&nbsp;quoted)</code></th>
<td class="colLast">
<div class="block">Returns a <code>SqlParserPos</code> the same as this but quoted.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.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="ZERO">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ZERO</h4>
<pre>public static final&nbsp;<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> ZERO</pre>
<div class="block">SqlParserPos representing line one, character one. Use this if the node
doesn't correspond to a position in piece of SQL text.</div>
</li>
</ul>
<a id="QUOTED_ZERO">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>QUOTED_ZERO</h4>
<pre>public static final&nbsp;<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> QUOTED_ZERO</pre>
<div class="block">Same as <a href="#ZERO"><code>ZERO</code></a> but always quoted.</div>
</li>
</ul>
<a id="serialVersionUID">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serialVersionUID</h4>
<pre>private static final&nbsp;long serialVersionUID</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.calcite.sql.parser.SqlParserPos.serialVersionUID">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="lineNumber">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lineNumber</h4>
<pre>private final&nbsp;int lineNumber</pre>
</li>
</ul>
<a id="columnNumber">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>columnNumber</h4>
<pre>private final&nbsp;int columnNumber</pre>
</li>
</ul>
<a id="endLineNumber">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>endLineNumber</h4>
<pre>private final&nbsp;int endLineNumber</pre>
</li>
</ul>
<a id="endColumnNumber">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>endColumnNumber</h4>
<pre>private final&nbsp;int endColumnNumber</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;(int,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SqlParserPos</h4>
<pre>public&nbsp;SqlParserPos&#8203;(int&nbsp;lineNumber,
int&nbsp;columnNumber)</pre>
<div class="block">Creates a new parser position.</div>
</li>
</ul>
<a id="&lt;init&gt;(int,int,int,int)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SqlParserPos</h4>
<pre>public&nbsp;SqlParserPos&#8203;(int&nbsp;startLineNumber,
int&nbsp;startColumnNumber,
int&nbsp;endLineNumber,
int&nbsp;endColumnNumber)</pre>
<div class="block">Creates a new parser range.</div>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="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="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="getLineNum()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLineNum</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getLineNum()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>1-based starting line number</dd>
</dl>
</li>
</ul>
<a id="getColumnNum()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColumnNum</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getColumnNum()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>1-based starting column number</dd>
</dl>
</li>
</ul>
<a id="getEndLineNum()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEndLineNum</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getEndLineNum()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>1-based end line number (same as starting line number if the
ParserPos is a point, not a range)</dd>
</dl>
</li>
</ul>
<a id="getEndColumnNum()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEndColumnNum</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getEndColumnNum()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>1-based end column number (same as starting column number if the
ParserPos is a point, not a range)</dd>
</dl>
</li>
</ul>
<a id="withQuoting(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withQuoting</h4>
<pre class="methodSignature">public&nbsp;<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;withQuoting&#8203;(boolean&nbsp;quoted)</pre>
<div class="block">Returns a <code>SqlParserPos</code> the same as this but quoted.</div>
</li>
</ul>
<a id="isQuoted()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isQuoted</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isQuoted()</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if this SqlParserPos is quoted.</dd>
</dl>
</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="plus(org.apache.calcite.sql.parser.SqlParserPos)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>plus</h4>
<pre class="methodSignature">public&nbsp;<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;plus&#8203;(<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;pos)</pre>
<div class="block">Combines this parser position with another to create a
position that spans from the first point in the first to the last point
in the other.</div>
</li>
</ul>
<a id="plusAll(org.apache.calcite.sql.SqlNode[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>plusAll</h4>
<pre class="methodSignature">public&nbsp;<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;plusAll&#8203;(<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>[]&nbsp;nodes)</pre>
<div class="block">Combines this parser position with an array of positions to create a
position that spans from the first point in the first to the last point
in the other.</div>
</li>
</ul>
<a id="plusAll(java.util.Collection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>plusAll</h4>
<pre class="methodSignature">public&nbsp;<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;plusAll&#8203;(java.util.Collection&lt;<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&gt;&nbsp;nodeList)</pre>
<div class="block">Combines this parser position with a list of positions.</div>
</li>
</ul>
<a id="sum(org.apache.calcite.sql.SqlNode[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sum</h4>
<pre class="methodSignature">public static&nbsp;<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;sum&#8203;(<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>[]&nbsp;nodes)</pre>
<div class="block">Combines the parser positions of an array of nodes to create a position
which spans from the beginning of the first to the end of the last.</div>
</li>
</ul>
<a id="toPos(org.apache.calcite.sql.SqlNode[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toPos</h4>
<pre class="methodSignature">private static&nbsp;java.util.List&lt;<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&gt;&nbsp;toPos&#8203;(<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>[]&nbsp;nodes)</pre>
</li>
</ul>
<a id="toPos(java.lang.Iterable)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toPos</h4>
<pre class="methodSignature">private static&nbsp;java.lang.Iterable&lt;<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&gt;&nbsp;toPos&#8203;(java.lang.Iterable&lt;<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&gt;&nbsp;nodes)</pre>
</li>
</ul>
<a id="sum(java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sum</h4>
<pre class="methodSignature">public static&nbsp;<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;sum&#8203;(java.util.List&lt;? extends <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&gt;&nbsp;nodes)</pre>
<div class="block">Combines the parser positions of a list of nodes to create a position
which spans from the beginning of the first to the end of the last.</div>
</li>
</ul>
<a id="sum(java.lang.Iterable)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sum</h4>
<pre class="methodSignature">public static&nbsp;<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;sum&#8203;(java.lang.Iterable&lt;<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&gt;&nbsp;poses)</pre>
<div class="block">Combines an iterable of parser positions to create a position which spans
from the beginning of the first to the end of the last.</div>
</li>
</ul>
<a id="sum_(java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sum_</h4>
<pre class="methodSignature">private static&nbsp;<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;sum_&#8203;(java.util.List&lt;<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&gt;&nbsp;positions)</pre>
<div class="block">Combines a list of parser positions to create a position which spans
from the beginning of the first to the end of the last.</div>
</li>
</ul>
<a id="sum(java.lang.Iterable,int,int,int,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sum</h4>
<pre class="methodSignature">private static&nbsp;<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;sum&#8203;(java.lang.Iterable&lt;<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&gt;&nbsp;poses,
int&nbsp;line,
int&nbsp;column,
int&nbsp;endLine,
int&nbsp;endColumn)</pre>
<div class="block">Computes the parser position which is the sum of an array of parser
positions and of a parser position represented by (line, column, endLine,
endColumn).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>poses</code> - Array of parser positions</dd>
<dd><code>line</code> - Start line</dd>
<dd><code>column</code> - Start column</dd>
<dd><code>endLine</code> - End line</dd>
<dd><code>endColumn</code> - End column</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Sum of parser positions</dd>
</dl>
</li>
</ul>
<a id="overlaps(org.apache.calcite.sql.parser.SqlParserPos)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>overlaps</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;overlaps&#8203;(<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;pos)</pre>
</li>
</ul>
<a id="startsBefore(org.apache.calcite.sql.parser.SqlParserPos)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>startsBefore</h4>
<pre class="methodSignature">private&nbsp;boolean&nbsp;startsBefore&#8203;(<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;pos)</pre>
</li>
</ul>
<a id="endsAfter(org.apache.calcite.sql.parser.SqlParserPos)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>endsAfter</h4>
<pre class="methodSignature">private&nbsp;boolean&nbsp;endsAfter&#8203;(<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;pos)</pre>
</li>
</ul>
<a id="startsAt(org.apache.calcite.sql.parser.SqlParserPos)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>startsAt</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;startsAt&#8203;(<a href="SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a>&nbsp;pos)</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/SqlParserPos.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>