blob: bf3c2c1f1ff307d1d3c3d1eda1dd16b6bc6557cc [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>RowSetReaderImpl (Drill : 1.20.3 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="RowSetReaderImpl (Drill : 1.20.3 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/RowSetReaderImpl.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">
<li><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html" title="interface in org.apache.drill.exec.physical.rowSet"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSets.html" title="class in org.apache.drill.exec.physical.rowSet"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/drill/exec/physical/rowSet/RowSetReaderImpl.html" target="_top">Frames</a></li>
<li><a href="RowSetReaderImpl.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.classes.inherited.from.class.org.apache.drill.exec.vector.accessor.reader.AbstractTupleReader">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 name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.drill.exec.physical.rowSet</div>
<h2 title="Class RowSetReaderImpl" class="title">Class RowSetReaderImpl</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html" title="class in org.apache.drill.exec.vector.accessor.reader">org.apache.drill.exec.vector.accessor.reader.AbstractTupleReader</a></li>
<li>
<ul class="inheritance">
<li>org.apache.drill.exec.physical.rowSet.RowSetReaderImpl</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html" title="interface in org.apache.drill.exec.physical.rowSet">RowSetReader</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/ColumnReader.html" title="interface in org.apache.drill.exec.vector.accessor">ColumnReader</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/ReaderEvents.html" title="interface in org.apache.drill.exec.vector.accessor.reader">ReaderEvents</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/TupleReader.html" title="interface in org.apache.drill.exec.vector.accessor">TupleReader</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">RowSetReaderImpl</span>
extends <a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html" title="class in org.apache.drill.exec.vector.accessor.reader">AbstractTupleReader</a>
implements <a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html" title="interface in org.apache.drill.exec.physical.rowSet">RowSetReader</a></pre>
<div class="block">Reader implementation for a row set.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.drill.exec.vector.accessor.reader.AbstractTupleReader">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;org.apache.drill.exec.vector.accessor.reader.<a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html" title="class in org.apache.drill.exec.vector.accessor.reader">AbstractTupleReader</a></h3>
<code><a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.TupleObjectReader.html" title="class in org.apache.drill.exec.vector.accessor.reader">AbstractTupleReader.TupleObjectReader</a></code></li>
</ul>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../../org/apache/drill/exec/physical/resultSet/model/ReaderIndex.html" title="class in org.apache.drill.exec.physical.resultSet.model">ReaderIndex</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReaderImpl.html#readerIndex">readerIndex</a></span></code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.drill.exec.vector.accessor.reader.AbstractTupleReader">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.drill.exec.vector.accessor.reader.<a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html" title="class in org.apache.drill.exec.vector.accessor.reader">AbstractTupleReader</a></h3>
<code><a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html#nullStateReader">nullStateReader</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html#readers">readers</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReaderImpl.html#RowSetReaderImpl-org.apache.drill.exec.record.metadata.TupleMetadata-org.apache.drill.exec.physical.resultSet.model.ReaderIndex-org.apache.drill.exec.vector.accessor.reader.AbstractObjectReader:A-">RowSetReaderImpl</a></span>(<a href="../../../../../../org/apache/drill/exec/record/metadata/TupleMetadata.html" title="interface in org.apache.drill.exec.record.metadata">TupleMetadata</a>&nbsp;schema,
<a href="../../../../../../org/apache/drill/exec/physical/resultSet/model/ReaderIndex.html" title="class in org.apache.drill.exec.physical.resultSet.model">ReaderIndex</a>&nbsp;index,
<a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractObjectReader.html" title="class in org.apache.drill.exec.vector.accessor.reader">AbstractObjectReader</a>[]&nbsp;readers)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReaderImpl.html#RowSetReaderImpl-org.apache.drill.exec.record.metadata.TupleMetadata-org.apache.drill.exec.physical.resultSet.model.ReaderIndex-java.util.List-">RowSetReaderImpl</a></span>(<a href="../../../../../../org/apache/drill/exec/record/metadata/TupleMetadata.html" title="interface in org.apache.drill.exec.record.metadata">TupleMetadata</a>&nbsp;schema,
<a href="../../../../../../org/apache/drill/exec/physical/resultSet/model/ReaderIndex.html" title="class in org.apache.drill.exec.physical.resultSet.model">ReaderIndex</a>&nbsp;index,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractObjectReader.html" title="class in org.apache.drill.exec.vector.accessor.reader">AbstractObjectReader</a>&gt;&nbsp;readers)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</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="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReaderImpl.html#hasNext--">hasNext</a></span>()</code>
<div class="block">Convenience method which whether the next call to <a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html#next--"><code>RowSetReader.next()</code></a>
will succeed.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReaderImpl.html#hyperVectorIndex--">hyperVectorIndex</a></span>()</code>
<div class="block">Batch index: 0 for a single batch, batch for the current
row is a hyper-batch.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReaderImpl.html#logicalIndex--">logicalIndex</a></span>()</code>
<div class="block">Gets the read position within the row set.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReaderImpl.html#newBatch--">newBatch</a></span>()</code>
<div class="block">Bind the reader to a new batch of data.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReaderImpl.html#next--">next</a></span>()</code>
<div class="block">Advance to the next position.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReaderImpl.html#offset--">offset</a></span>()</code>
<div class="block">The index of the underlying row which may be indexed by an
SV2 or SV4.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReaderImpl.html#rewind--">rewind</a></span>()</code>
<div class="block">Reset the position to before the first row.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReaderImpl.html#rowCount--">rowCount</a></span>()</code>
<div class="block">Total number of rows in the row set.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/drill/exec/record/metadata/ColumnMetadata.html" title="interface in org.apache.drill.exec.record.metadata">ColumnMetadata</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReaderImpl.html#schema--">schema</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReaderImpl.html#setPosition-int-">setPosition</a></span>(int&nbsp;index)</code>
<div class="block">Sets the iteration position.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../../../../org/apache/drill/exec/record/metadata/TupleMetadata.html" title="interface in org.apache.drill.exec.record.metadata">TupleMetadata</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReaderImpl.html#tupleSchema--">tupleSchema</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.drill.exec.vector.accessor.reader.AbstractTupleReader">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.drill.exec.vector.accessor.reader.<a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html" title="class in org.apache.drill.exec.vector.accessor.reader">AbstractTupleReader</a></h3>
<code><a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html#array-int-">array</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html#array-java.lang.String-">array</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html#bindBuffer--">bindBuffer</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html#bindIndex-org.apache.drill.exec.vector.accessor.ColumnReaderIndex-">bindIndex</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html#bindNullState-org.apache.drill.exec.vector.accessor.reader.NullStateReader-">bindNullState</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html#column-int-">column</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html#column-java.lang.String-">column</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html#columnCount--">columnCount</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html#dict-int-">dict</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html#dict-java.lang.String-">dict</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html#getAsString--">getAsString</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html#getObject--">getObject</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html#isNull--">isNull</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html#nullStateReader--">nullStateReader</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html#reposition--">reposition</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html#scalar-int-">scalar</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html#scalar-java.lang.String-">scalar</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html#tuple-int-">tuple</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html#tuple-java.lang.String-">tuple</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html#type--">type</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html#type-int-">type</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html#type-java.lang.String-">type</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html#variant-int-">variant</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractTupleReader.html#variant-java.lang.String-">variant</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.drill.exec.vector.accessor.TupleReader">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.apache.drill.exec.vector.accessor.<a href="../../../../../../org/apache/drill/exec/vector/accessor/TupleReader.html" title="interface in org.apache.drill.exec.vector.accessor">TupleReader</a></h3>
<code><a href="../../../../../../org/apache/drill/exec/vector/accessor/TupleReader.html#array-int-">array</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/TupleReader.html#array-java.lang.String-">array</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/TupleReader.html#column-int-">column</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/TupleReader.html#column-java.lang.String-">column</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/TupleReader.html#columnCount--">columnCount</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/TupleReader.html#dict-int-">dict</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/TupleReader.html#dict-java.lang.String-">dict</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/TupleReader.html#scalar-int-">scalar</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/TupleReader.html#scalar-java.lang.String-">scalar</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/TupleReader.html#tuple-int-">tuple</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/TupleReader.html#tuple-java.lang.String-">tuple</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/TupleReader.html#type-int-">type</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/TupleReader.html#type-java.lang.String-">type</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/TupleReader.html#variant-int-">variant</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/TupleReader.html#variant-java.lang.String-">variant</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.drill.exec.vector.accessor.ColumnReader">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.apache.drill.exec.vector.accessor.<a href="../../../../../../org/apache/drill/exec/vector/accessor/ColumnReader.html" title="interface in org.apache.drill.exec.vector.accessor">ColumnReader</a></h3>
<code><a href="../../../../../../org/apache/drill/exec/vector/accessor/ColumnReader.html#getAsString--">getAsString</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/ColumnReader.html#getObject--">getObject</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/ColumnReader.html#isNull--">isNull</a>, <a href="../../../../../../org/apache/drill/exec/vector/accessor/ColumnReader.html#type--">type</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="readerIndex">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>readerIndex</h4>
<pre>protected final&nbsp;<a href="../../../../../../org/apache/drill/exec/physical/resultSet/model/ReaderIndex.html" title="class in org.apache.drill.exec.physical.resultSet.model">ReaderIndex</a> readerIndex</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="RowSetReaderImpl-org.apache.drill.exec.record.metadata.TupleMetadata-org.apache.drill.exec.physical.resultSet.model.ReaderIndex-org.apache.drill.exec.vector.accessor.reader.AbstractObjectReader:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>RowSetReaderImpl</h4>
<pre>public&nbsp;RowSetReaderImpl(<a href="../../../../../../org/apache/drill/exec/record/metadata/TupleMetadata.html" title="interface in org.apache.drill.exec.record.metadata">TupleMetadata</a>&nbsp;schema,
<a href="../../../../../../org/apache/drill/exec/physical/resultSet/model/ReaderIndex.html" title="class in org.apache.drill.exec.physical.resultSet.model">ReaderIndex</a>&nbsp;index,
<a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractObjectReader.html" title="class in org.apache.drill.exec.vector.accessor.reader">AbstractObjectReader</a>[]&nbsp;readers)</pre>
</li>
</ul>
<a name="RowSetReaderImpl-org.apache.drill.exec.record.metadata.TupleMetadata-org.apache.drill.exec.physical.resultSet.model.ReaderIndex-java.util.List-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>RowSetReaderImpl</h4>
<pre>public&nbsp;RowSetReaderImpl(<a href="../../../../../../org/apache/drill/exec/record/metadata/TupleMetadata.html" title="interface in org.apache.drill.exec.record.metadata">TupleMetadata</a>&nbsp;schema,
<a href="../../../../../../org/apache/drill/exec/physical/resultSet/model/ReaderIndex.html" title="class in org.apache.drill.exec.physical.resultSet.model">ReaderIndex</a>&nbsp;index,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/drill/exec/vector/accessor/reader/AbstractObjectReader.html" title="class in org.apache.drill.exec.vector.accessor.reader">AbstractObjectReader</a>&gt;&nbsp;readers)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="next--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>next</h4>
<pre>public&nbsp;boolean&nbsp;next()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html#next--">RowSetReader</a></code></span></div>
<div class="block">Advance to the next position. If the underlying row set has
a selection vector, then moves one position in the selection
vector, and to whichever data record is indexed.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html#next--">next</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html" title="interface in org.apache.drill.exec.physical.rowSet">RowSetReader</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>true</tt> if another row is available,
<tt>false</tt> if all rows have been read</dd>
</dl>
</li>
</ul>
<a name="hasNext--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasNext</h4>
<pre>public&nbsp;boolean&nbsp;hasNext()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html#hasNext--">RowSetReader</a></code></span></div>
<div class="block">Convenience method which whether the next call to <a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html#next--"><code>RowSetReader.next()</code></a>
will succeed. Purely optional.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html#hasNext--">hasNext</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html" title="interface in org.apache.drill.exec.physical.rowSet">RowSetReader</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><tt>true</tt> if there is another record to read,
<tt>false</tt> if not</dd>
</dl>
</li>
</ul>
<a name="logicalIndex--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>logicalIndex</h4>
<pre>public&nbsp;int&nbsp;logicalIndex()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html#logicalIndex--">RowSetReader</a></code></span></div>
<div class="block">Gets the read position within the row set. If the row set has
a selection vector, this is the position in that vector; the
actual record location will likely differ. Use
<a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html#offset--"><code>RowSetReader.offset()</code></a> to get the actual row index.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html#logicalIndex--">logicalIndex</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html" title="interface in org.apache.drill.exec.physical.rowSet">RowSetReader</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>current iteration position</dd>
</dl>
</li>
</ul>
<a name="rowCount--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rowCount</h4>
<pre>public&nbsp;int&nbsp;rowCount()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html#rowCount--">RowSetReader</a></code></span></div>
<div class="block">Total number of rows in the row set.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html#rowCount--">rowCount</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html" title="interface in org.apache.drill.exec.physical.rowSet">RowSetReader</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>total number of rows</dd>
</dl>
</li>
</ul>
<a name="offset--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>offset</h4>
<pre>public&nbsp;int&nbsp;offset()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html#offset--">RowSetReader</a></code></span></div>
<div class="block">The index of the underlying row which may be indexed by an
SV2 or SV4.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html#offset--">offset</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html" title="interface in org.apache.drill.exec.physical.rowSet">RowSetReader</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>index of the underlying row</dd>
</dl>
</li>
</ul>
<a name="hyperVectorIndex--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hyperVectorIndex</h4>
<pre>public&nbsp;int&nbsp;hyperVectorIndex()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html#hyperVectorIndex--">RowSetReader</a></code></span></div>
<div class="block">Batch index: 0 for a single batch, batch for the current
row is a hyper-batch.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html#hyperVectorIndex--">hyperVectorIndex</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html" title="interface in org.apache.drill.exec.physical.rowSet">RowSetReader</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>index of the batch for the current row</dd>
</dl>
</li>
</ul>
<a name="setPosition-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPosition</h4>
<pre>public&nbsp;void&nbsp;setPosition(int&nbsp;index)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html#setPosition-int-">RowSetReader</a></code></span></div>
<div class="block">Sets the iteration position. If the row set has a selection
vector, this sets the index within that vector. The index must
be from -1 to the <a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html#rowCount--"><code>RowSetReader.rowCount()</code></a> - 1. Set the value to one
less than the position to be read in the next call to
<a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html#next--"><code>RowSetReader.next()</code></a>. An index of -1 means before the first row.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html#setPosition-int-">setPosition</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html" title="interface in org.apache.drill.exec.physical.rowSet">RowSetReader</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the desired index position</dd>
</dl>
</li>
</ul>
<a name="schema--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>schema</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/drill/exec/record/metadata/ColumnMetadata.html" title="interface in org.apache.drill.exec.record.metadata">ColumnMetadata</a>&nbsp;schema()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/drill/exec/vector/accessor/ColumnReader.html#schema--">schema</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/drill/exec/vector/accessor/ColumnReader.html" title="interface in org.apache.drill.exec.vector.accessor">ColumnReader</a></code></dd>
</dl>
</li>
</ul>
<a name="tupleSchema--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>tupleSchema</h4>
<pre>public&nbsp;<a href="../../../../../../org/apache/drill/exec/record/metadata/TupleMetadata.html" title="interface in org.apache.drill.exec.record.metadata">TupleMetadata</a>&nbsp;tupleSchema()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/drill/exec/vector/accessor/TupleReader.html#tupleSchema--">tupleSchema</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/drill/exec/vector/accessor/TupleReader.html" title="interface in org.apache.drill.exec.vector.accessor">TupleReader</a></code></dd>
</dl>
</li>
</ul>
<a name="rewind--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rewind</h4>
<pre>public&nbsp;void&nbsp;rewind()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html#rewind--">RowSetReader</a></code></span></div>
<div class="block">Reset the position to before the first row. Convenient method
which is the same as <tt>setPosition(-1)</tt>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html#rewind--">rewind</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html" title="interface in org.apache.drill.exec.physical.rowSet">RowSetReader</a></code></dd>
</dl>
</li>
</ul>
<a name="newBatch--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>newBatch</h4>
<pre>public&nbsp;void&nbsp;newBatch()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html#newBatch--">RowSetReader</a></code></span></div>
<div class="block">Bind the reader to a new batch of data. The vectors are
unchanged, but the buffers are different. Assumes the schema
has not changed: the columns and selection vector mode remain
unchanged; only the buffers changed. If the schema changes,
discard this reader and rebuild a new one.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html#newBatch--">newBatch</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html" title="interface in org.apache.drill.exec.physical.rowSet">RowSetReader</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/RowSetReaderImpl.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">
<li><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSetReader.html" title="interface in org.apache.drill.exec.physical.rowSet"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../org/apache/drill/exec/physical/rowSet/RowSets.html" title="class in org.apache.drill.exec.physical.rowSet"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?org/apache/drill/exec/physical/rowSet/RowSetReaderImpl.html" target="_top">Frames</a></li>
<li><a href="RowSetReaderImpl.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.classes.inherited.from.class.org.apache.drill.exec.vector.accessor.reader.AbstractTupleReader">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 name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 1970 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>