blob: 5c83a70ffdb03c1477a3a9cc49fb7061358b127c [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 (1.8.0_252) on Sun Apr 26 20:47:05 PDT 2020 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>RecordReaderImpl (ORC Core 1.6.3 API)</title>
<meta name="date" content="2020-04-26">
<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="RecordReaderImpl (ORC Core 1.6.3 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":9,"i2":9,"i3":9,"i4":10,"i5":10,"i6":10,"i7":10,"i8":9,"i9":9,"i10":10,"i11":10,"i12":10,"i13":10,"i14":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";
</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/RecordReaderImpl.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/orc/impl/ReaderImpl.StripeInformationImpl.html" title="class in org.apache.orc.impl"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/apache/orc/impl/RecordReaderImpl.PositionProviderImpl.html" title="class in org.apache.orc.impl"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/orc/impl/RecordReaderImpl.html" target="_top">Frames</a></li>
<li><a href="RecordReaderImpl.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.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 name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.orc.impl</div>
<h2 title="Class RecordReaderImpl" class="title">Class RecordReaderImpl</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://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>org.apache.orc.impl.RecordReaderImpl</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a>, <a href="../../../../org/apache/orc/RecordReader.html" title="interface in org.apache.orc">RecordReader</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">RecordReaderImpl</span>
extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements <a href="../../../../org/apache/orc/RecordReader.html" title="interface in org.apache.orc">RecordReader</a></pre>
</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>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/orc/impl/RecordReaderImpl.PositionProviderImpl.html" title="class in org.apache.orc.impl">RecordReaderImpl.PositionProviderImpl</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/orc/impl/RecordReaderImpl.SargApplier.html" title="class in org.apache.orc.impl">RecordReaderImpl.SargApplier</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/orc/impl/RecordReaderImpl.ZeroPositionProvider.html" title="class in org.apache.orc.impl">RecordReaderImpl.ZeroPositionProvider</a></span></code>&nbsp;</td>
</tr>
</table>
</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="http://hadoop.apache.org/docs/r2.7.3/api/org/apache/hadoop/fs/Path.html?is-external=true" title="class or interface in org.apache.hadoop.fs">Path</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/orc/impl/RecordReaderImpl.html#path">path</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/orc/impl/RecordReaderImpl.html#schema">schema</a></span></code>&nbsp;</td>
</tr>
</table>
</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="colFirst" scope="col">Modifier</th>
<th class="colLast" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/orc/impl/RecordReaderImpl.html#RecordReaderImpl-org.apache.orc.impl.ReaderImpl-org.apache.orc.Reader.Options-">RecordReaderImpl</a></span>(<a href="../../../../org/apache/orc/impl/ReaderImpl.html" title="class in org.apache.orc.impl">ReaderImpl</a>&nbsp;fileReader,
<a href="../../../../org/apache/orc/Reader.Options.html" title="class in org.apache.orc">Reader.Options</a>&nbsp;options)</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="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="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/orc/impl/RecordReaderImpl.html#close--">close</a></span>()</code>
<div class="block">Release the resources associated with the given reader.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/orc/impl/RecordReaderImpl.html#encodeTranslatedSargColumn-int-java.lang.Integer-">encodeTranslatedSargColumn</a></span>(int&nbsp;rootColumn,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&nbsp;indexInSourceTable)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static <a href="http://orc.apache.org/api/hive-storage-api/org/apache/hadoop/hive/ql/io/sarg/SearchArgument.TruthValue.html?is-external=true" title="class or interface in org.apache.hadoop.hive.ql.io.sarg">SearchArgument.TruthValue</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/orc/impl/RecordReaderImpl.html#evaluatePredicate-org.apache.orc.ColumnStatistics-org.apache.hadoop.hive.ql.io.sarg.PredicateLeaf-org.apache.orc.util.BloomFilter-">evaluatePredicate</a></span>(<a href="../../../../org/apache/orc/ColumnStatistics.html" title="interface in org.apache.orc">ColumnStatistics</a>&nbsp;stats,
<a href="http://orc.apache.org/api/hive-storage-api/org/apache/hadoop/hive/ql/io/sarg/PredicateLeaf.html?is-external=true" title="class or interface in org.apache.hadoop.hive.ql.io.sarg">PredicateLeaf</a>&nbsp;predicate,
<a href="../../../../org/apache/orc/util/BloomFilter.html" title="class in org.apache.orc.util">BloomFilter</a>&nbsp;bloomFilter)</code>
<div class="block">Evaluate a predicate with respect to the statistics from the column
that is referenced in the predicate.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static <a href="http://orc.apache.org/api/hive-storage-api/org/apache/hadoop/hive/ql/io/sarg/SearchArgument.TruthValue.html?is-external=true" title="class or interface in org.apache.hadoop.hive.ql.io.sarg">SearchArgument.TruthValue</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/orc/impl/RecordReaderImpl.html#evaluatePredicate-org.apache.orc.ColumnStatistics-org.apache.hadoop.hive.ql.io.sarg.PredicateLeaf-org.apache.orc.util.BloomFilter-boolean-">evaluatePredicate</a></span>(<a href="../../../../org/apache/orc/ColumnStatistics.html" title="interface in org.apache.orc">ColumnStatistics</a>&nbsp;stats,
<a href="http://orc.apache.org/api/hive-storage-api/org/apache/hadoop/hive/ql/io/sarg/PredicateLeaf.html?is-external=true" title="class or interface in org.apache.hadoop.hive.ql.io.sarg">PredicateLeaf</a>&nbsp;predicate,
<a href="../../../../org/apache/orc/util/BloomFilter.html" title="class in org.apache.orc.util">BloomFilter</a>&nbsp;bloomFilter,
boolean&nbsp;useUTCTimestamp)</code>
<div class="block">Evaluate a predicate with respect to the statistics from the column
that is referenced in the predicate.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/orc/CompressionCodec.html" title="interface in org.apache.orc">CompressionCodec</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/orc/impl/RecordReaderImpl.html#getCompressionCodec--">getCompressionCodec</a></span>()</code>&nbsp;</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/orc/impl/RecordReaderImpl.html#getMaxDiskRangeChunkLimit--">getMaxDiskRangeChunkLimit</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/orc/impl/RecordReaderImpl.html#getProgress--">getProgress</a></span>()</code>
<div class="block">Return the fraction of rows that have been read from the selected.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/orc/impl/RecordReaderImpl.html#getRowNumber--">getRowNumber</a></span>()</code>
<div class="block">Get the row number of the row that will be returned by the following
call to next().</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static int[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/orc/impl/RecordReaderImpl.html#mapSargColumnsToOrcInternalColIdx-java.util.List-org.apache.orc.impl.SchemaEvolution-">mapSargColumnsToOrcInternalColIdx</a></span>(<a href="http://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="http://orc.apache.org/api/hive-storage-api/org/apache/hadoop/hive/ql/io/sarg/PredicateLeaf.html?is-external=true" title="class or interface in org.apache.hadoop.hive.ql.io.sarg">PredicateLeaf</a>&gt;&nbsp;sargLeaves,
<a href="../../../../org/apache/orc/impl/SchemaEvolution.html" title="class in org.apache.orc.impl">SchemaEvolution</a>&nbsp;evolution)</code>
<div class="block">Find the mapping from predicate leaves to columns.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>static int[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/orc/impl/RecordReaderImpl.html#mapTranslatedSargColumns-java.util.List-java.util.List-">mapTranslatedSargColumns</a></span>(<a href="http://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="http://orc.apache.org/api/orc-core/org/apache/orc/OrcProto.Type.html?is-external=true" title="class or interface in org.apache.orc">OrcProto.Type</a>&gt;&nbsp;types,
<a href="http://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="http://orc.apache.org/api/hive-storage-api/org/apache/hadoop/hive/ql/io/sarg/PredicateLeaf.html?is-external=true" title="class or interface in org.apache.hadoop.hive.ql.io.sarg">PredicateLeaf</a>&gt;&nbsp;sargLeaves)</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/orc/impl/RecordReaderImpl.html#nextBatch-org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch-">nextBatch</a></span>(<a href="http://orc.apache.org/api/hive-storage-api/org/apache/hadoop/hive/ql/exec/vector/VectorizedRowBatch.html?is-external=true" title="class or interface in org.apache.hadoop.hive.ql.exec.vector">VectorizedRowBatch</a>&nbsp;batch)</code>
<div class="block">Read the next row batch.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>protected boolean[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/orc/impl/RecordReaderImpl.html#pickRowGroups--">pickRowGroups</a></span>()</code>
<div class="block">Pick the row groups that we need to load from the current stripe.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/orc/impl/OrcIndex.html" title="class in org.apache.orc.impl">OrcIndex</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/orc/impl/RecordReaderImpl.html#readRowIndex-int-boolean:A-boolean:A-">readRowIndex</a></span>(int&nbsp;stripeIndex,
boolean[]&nbsp;included,
boolean[]&nbsp;sargColumns)</code>&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="http://orc.apache.org/api/orc-core/org/apache/orc/OrcProto.StripeFooter.html?is-external=true" title="class or interface in org.apache.orc">OrcProto.StripeFooter</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/orc/impl/RecordReaderImpl.html#readStripeFooter-org.apache.orc.StripeInformation-">readStripeFooter</a></span>(<a href="../../../../org/apache/orc/StripeInformation.html" title="interface in org.apache.orc">StripeInformation</a>&nbsp;stripe)</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/orc/impl/RecordReaderImpl.html#seekToRow-long-">seekToRow</a></span>(long&nbsp;rowNumber)</code>
<div class="block">Seek to a particular row number.</div>
</td>
</tr>
</table>
<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="http://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="http://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="http://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="http://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="http://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="http://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="http://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="http://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="http://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="http://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="http://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="http://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>
</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="path">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>path</h4>
<pre>protected final&nbsp;<a href="http://hadoop.apache.org/docs/r2.7.3/api/org/apache/hadoop/fs/Path.html?is-external=true" title="class or interface in org.apache.hadoop.fs">Path</a> path</pre>
</li>
</ul>
<a name="schema">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>schema</h4>
<pre>protected final&nbsp;<a href="../../../../org/apache/orc/TypeDescription.html" title="class in org.apache.orc">TypeDescription</a> schema</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="RecordReaderImpl-org.apache.orc.impl.ReaderImpl-org.apache.orc.Reader.Options-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>RecordReaderImpl</h4>
<pre>protected&nbsp;RecordReaderImpl(<a href="../../../../org/apache/orc/impl/ReaderImpl.html" title="class in org.apache.orc.impl">ReaderImpl</a>&nbsp;fileReader,
<a href="../../../../org/apache/orc/Reader.Options.html" title="class in org.apache.orc">Reader.Options</a>&nbsp;options)
throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="mapSargColumnsToOrcInternalColIdx-java.util.List-org.apache.orc.impl.SchemaEvolution-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mapSargColumnsToOrcInternalColIdx</h4>
<pre>public static&nbsp;int[]&nbsp;mapSargColumnsToOrcInternalColIdx(<a href="http://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="http://orc.apache.org/api/hive-storage-api/org/apache/hadoop/hive/ql/io/sarg/PredicateLeaf.html?is-external=true" title="class or interface in org.apache.hadoop.hive.ql.io.sarg">PredicateLeaf</a>&gt;&nbsp;sargLeaves,
<a href="../../../../org/apache/orc/impl/SchemaEvolution.html" title="class in org.apache.orc.impl">SchemaEvolution</a>&nbsp;evolution)</pre>
<div class="block">Find the mapping from predicate leaves to columns.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>sargLeaves</code> - the search argument that we need to map</dd>
<dd><code>evolution</code> - the mapping from reader to file schema</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an array mapping the sarg leaves to concrete column numbers in the
file</dd>
</dl>
</li>
</ul>
<a name="readStripeFooter-org.apache.orc.StripeInformation-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readStripeFooter</h4>
<pre>public&nbsp;<a href="http://orc.apache.org/api/orc-core/org/apache/orc/OrcProto.StripeFooter.html?is-external=true" title="class or interface in org.apache.orc">OrcProto.StripeFooter</a>&nbsp;readStripeFooter(<a href="../../../../org/apache/orc/StripeInformation.html" title="interface in org.apache.orc">StripeInformation</a>&nbsp;stripe)
throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="evaluatePredicate-org.apache.orc.ColumnStatistics-org.apache.hadoop.hive.ql.io.sarg.PredicateLeaf-org.apache.orc.util.BloomFilter-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>evaluatePredicate</h4>
<pre>public static&nbsp;<a href="http://orc.apache.org/api/hive-storage-api/org/apache/hadoop/hive/ql/io/sarg/SearchArgument.TruthValue.html?is-external=true" title="class or interface in org.apache.hadoop.hive.ql.io.sarg">SearchArgument.TruthValue</a>&nbsp;evaluatePredicate(<a href="../../../../org/apache/orc/ColumnStatistics.html" title="interface in org.apache.orc">ColumnStatistics</a>&nbsp;stats,
<a href="http://orc.apache.org/api/hive-storage-api/org/apache/hadoop/hive/ql/io/sarg/PredicateLeaf.html?is-external=true" title="class or interface in org.apache.hadoop.hive.ql.io.sarg">PredicateLeaf</a>&nbsp;predicate,
<a href="../../../../org/apache/orc/util/BloomFilter.html" title="class in org.apache.orc.util">BloomFilter</a>&nbsp;bloomFilter)</pre>
<div class="block">Evaluate a predicate with respect to the statistics from the column
that is referenced in the predicate.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stats</code> - the statistics for the column mentioned in the predicate</dd>
<dd><code>predicate</code> - the leaf predicate we need to evaluation</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the set of truth values that may be returned for the given
predicate.</dd>
</dl>
</li>
</ul>
<a name="evaluatePredicate-org.apache.orc.ColumnStatistics-org.apache.hadoop.hive.ql.io.sarg.PredicateLeaf-org.apache.orc.util.BloomFilter-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>evaluatePredicate</h4>
<pre>public static&nbsp;<a href="http://orc.apache.org/api/hive-storage-api/org/apache/hadoop/hive/ql/io/sarg/SearchArgument.TruthValue.html?is-external=true" title="class or interface in org.apache.hadoop.hive.ql.io.sarg">SearchArgument.TruthValue</a>&nbsp;evaluatePredicate(<a href="../../../../org/apache/orc/ColumnStatistics.html" title="interface in org.apache.orc">ColumnStatistics</a>&nbsp;stats,
<a href="http://orc.apache.org/api/hive-storage-api/org/apache/hadoop/hive/ql/io/sarg/PredicateLeaf.html?is-external=true" title="class or interface in org.apache.hadoop.hive.ql.io.sarg">PredicateLeaf</a>&nbsp;predicate,
<a href="../../../../org/apache/orc/util/BloomFilter.html" title="class in org.apache.orc.util">BloomFilter</a>&nbsp;bloomFilter,
boolean&nbsp;useUTCTimestamp)</pre>
<div class="block">Evaluate a predicate with respect to the statistics from the column
that is referenced in the predicate.
Includes option to specify if timestamp column stats values
should be in UTC.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>stats</code> - the statistics for the column mentioned in the predicate</dd>
<dd><code>predicate</code> - the leaf predicate we need to evaluation</dd>
<dd><code>bloomFilter</code> - </dd>
<dd><code>useUTCTimestamp</code> - </dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the set of truth values that may be returned for the given
predicate.</dd>
</dl>
</li>
</ul>
<a name="pickRowGroups--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pickRowGroups</h4>
<pre>protected&nbsp;boolean[]&nbsp;pickRowGroups()
throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Pick the row groups that we need to load from the current stripe.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an array with a boolean for each row group or null if all of the
row groups must be read.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="nextBatch-org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nextBatch</h4>
<pre>public&nbsp;boolean&nbsp;nextBatch(<a href="http://orc.apache.org/api/hive-storage-api/org/apache/hadoop/hive/ql/exec/vector/VectorizedRowBatch.html?is-external=true" title="class or interface in org.apache.hadoop.hive.ql.exec.vector">VectorizedRowBatch</a>&nbsp;batch)
throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/orc/RecordReader.html#nextBatch-org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch-">RecordReader</a></code></span></div>
<div class="block">Read the next row batch. The size of the batch to read cannot be
controlled by the callers. Caller need to look at
VectorizedRowBatch.size of the retunred object to know the batch
size read.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/orc/RecordReader.html#nextBatch-org.apache.hadoop.hive.ql.exec.vector.VectorizedRowBatch-">nextBatch</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/orc/RecordReader.html" title="interface in org.apache.orc">RecordReader</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>batch</code> - a row batch object to read into</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>were more rows available to read?</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="close--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>close</h4>
<pre>public&nbsp;void&nbsp;close()
throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/orc/RecordReader.html#close--">RecordReader</a></code></span></div>
<div class="block">Release the resources associated with the given reader.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true#close--" title="class or interface in java.io">close</a></code>&nbsp;in interface&nbsp;<code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true#close--" title="class or interface in java.lang">close</a></code>&nbsp;in interface&nbsp;<code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/orc/RecordReader.html#close--">close</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/orc/RecordReader.html" title="interface in org.apache.orc">RecordReader</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="getRowNumber--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRowNumber</h4>
<pre>public&nbsp;long&nbsp;getRowNumber()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/orc/RecordReader.html#getRowNumber--">RecordReader</a></code></span></div>
<div class="block">Get the row number of the row that will be returned by the following
call to next().</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/orc/RecordReader.html#getRowNumber--">getRowNumber</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/orc/RecordReader.html" title="interface in org.apache.orc">RecordReader</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the row number from 0 to the number of rows in the file</dd>
</dl>
</li>
</ul>
<a name="getProgress--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProgress</h4>
<pre>public&nbsp;float&nbsp;getProgress()</pre>
<div class="block">Return the fraction of rows that have been read from the selected.
section of the file</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/orc/RecordReader.html#getProgress--">getProgress</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/orc/RecordReader.html" title="interface in org.apache.orc">RecordReader</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>fraction between 0.0 and 1.0 of rows consumed</dd>
</dl>
</li>
</ul>
<a name="readRowIndex-int-boolean:A-boolean:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readRowIndex</h4>
<pre>public&nbsp;<a href="../../../../org/apache/orc/impl/OrcIndex.html" title="class in org.apache.orc.impl">OrcIndex</a>&nbsp;readRowIndex(int&nbsp;stripeIndex,
boolean[]&nbsp;included,
boolean[]&nbsp;sargColumns)
throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="seekToRow-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>seekToRow</h4>
<pre>public&nbsp;void&nbsp;seekToRow(long&nbsp;rowNumber)
throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/orc/RecordReader.html#seekToRow-long-">RecordReader</a></code></span></div>
<div class="block">Seek to a particular row number.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../org/apache/orc/RecordReader.html#seekToRow-long-">seekToRow</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/orc/RecordReader.html" title="interface in org.apache.orc">RecordReader</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="encodeTranslatedSargColumn-int-java.lang.Integer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>encodeTranslatedSargColumn</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;encodeTranslatedSargColumn(int&nbsp;rootColumn,
<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>&nbsp;indexInSourceTable)</pre>
</li>
</ul>
<a name="mapTranslatedSargColumns-java.util.List-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mapTranslatedSargColumns</h4>
<pre>public static&nbsp;int[]&nbsp;mapTranslatedSargColumns(<a href="http://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="http://orc.apache.org/api/orc-core/org/apache/orc/OrcProto.Type.html?is-external=true" title="class or interface in org.apache.orc">OrcProto.Type</a>&gt;&nbsp;types,
<a href="http://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="http://orc.apache.org/api/hive-storage-api/org/apache/hadoop/hive/ql/io/sarg/PredicateLeaf.html?is-external=true" title="class or interface in org.apache.hadoop.hive.ql.io.sarg">PredicateLeaf</a>&gt;&nbsp;sargLeaves)</pre>
</li>
</ul>
<a name="getCompressionCodec--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCompressionCodec</h4>
<pre>public&nbsp;<a href="../../../../org/apache/orc/CompressionCodec.html" title="interface in org.apache.orc">CompressionCodec</a>&nbsp;getCompressionCodec()</pre>
</li>
</ul>
<a name="getMaxDiskRangeChunkLimit--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getMaxDiskRangeChunkLimit</h4>
<pre>public&nbsp;int&nbsp;getMaxDiskRangeChunkLimit()</pre>
</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/RecordReaderImpl.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/orc/impl/ReaderImpl.StripeInformationImpl.html" title="class in org.apache.orc.impl"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/apache/orc/impl/RecordReaderImpl.PositionProviderImpl.html" title="class in org.apache.orc.impl"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/orc/impl/RecordReaderImpl.html" target="_top">Frames</a></li>
<li><a href="RecordReaderImpl.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.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 name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2013&#x2013;2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>