<!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 (version 1.7.0_51) on Wed Sep 16 10:26:35 PDT 2015 -->
<title>HadoopRDD</title>
<meta name="date" content="2015-09-16">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="HadoopRDD";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><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="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/spark/rdd/DoubleRDDFunctions.html" title="class in org.apache.spark.rdd"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/spark/rdd/JdbcRDD.html" title="class in org.apache.spark.rdd"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/spark/rdd/HadoopRDD.html" target="_top">Frames</a></li>
<li><a href="HadoopRDD.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All 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: </li>
<li>Nested | </li>
<li>Field | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li><a href="#constructor_detail">Constr</a> | </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.spark.rdd</div>
<h2 title="Class HadoopRDD" class="title">Class HadoopRDD<K,V></h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">org.apache.spark.rdd.RDD</a><scala.Tuple2<K,V>></li>
<li>
<ul class="inheritance">
<li>org.apache.spark.rdd.HadoopRDD<K,V></li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.io.Serializable, <a href="../../../../org/apache/spark/Logging.html" title="interface in org.apache.spark">Logging</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">HadoopRDD<K,V></span>
extends <a href="../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a><scala.Tuple2<K,V>>
implements <a href="../../../../org/apache/spark/Logging.html" title="interface in org.apache.spark">Logging</a></pre>
<div class="block">:: DeveloperApi ::
An RDD that provides core functionality for reading data stored in Hadoop (e.g., files in HDFS,
sources in HBase, or S3), using the older MapReduce API (<code>org.apache.hadoop.mapred</code>).
<p>
Note: Instantiating this class directly is not recommended, please use
<code>org.apache.spark.SparkContext.hadoopRDD()</code>
<p>
param: sc The SparkContext to associate the RDD with.
param: broadcastedConf A general Hadoop Configuration, or a subclass of it. If the enclosed
variabe references an instance of JobConf, then that JobConf will be used for the Hadoop job.
Otherwise, a new JobConf will be created on each slave using the enclosed Configuration.
param: initLocalJobConfFuncOpt Optional closure used to initialize any JobConf that HadoopRDD
creates.
param: inputFormatClass Storage format of the data to be read.
param: keyClass Class of the key associated with the inputFormatClass.
param: valueClass Class of the value associated with the inputFormatClass.
param: minPartitions Minimum number of HadoopRDD partitions (Hadoop Splits) to generate.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../serialized-form.html#org.apache.spark.rdd.HadoopRDD">Serialized Form</a></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../org/apache/spark/rdd/HadoopRDD.html#HadoopRDD(org.apache.spark.SparkContext, org.apache.spark.broadcast.Broadcast, scala.Option, java.lang.Class, java.lang.Class, java.lang.Class, int)">HadoopRDD</a></strong>(<a href="../../../../org/apache/spark/SparkContext.html" title="class in org.apache.spark">SparkContext</a> sc,
<a href="../../../../org/apache/spark/broadcast/Broadcast.html" title="class in org.apache.spark.broadcast">Broadcast</a><org.apache.spark.util.SerializableConfiguration> broadcastedConf,
scala.Option<scala.Function1<org.apache.hadoop.mapred.JobConf,scala.runtime.BoxedUnit>> initLocalJobConfFuncOpt,
java.lang.Class<? extends org.apache.hadoop.mapred.InputFormat<<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">K</a>,<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">V</a>>> inputFormatClass,
java.lang.Class<<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">K</a>> keyClass,
java.lang.Class<<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">V</a>> valueClass,
int minPartitions)</code> </td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../org/apache/spark/rdd/HadoopRDD.html#HadoopRDD(org.apache.spark.SparkContext, org.apache.hadoop.mapred.JobConf, java.lang.Class, java.lang.Class, java.lang.Class, int)">HadoopRDD</a></strong>(<a href="../../../../org/apache/spark/SparkContext.html" title="class in org.apache.spark">SparkContext</a> sc,
org.apache.hadoop.mapred.JobConf conf,
java.lang.Class<? extends org.apache.hadoop.mapred.InputFormat<<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">K</a>,<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">V</a>>> inputFormatClass,
java.lang.Class<<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">K</a>> keyClass,
java.lang.Class<<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">V</a>> valueClass,
int minPartitions)</code> </td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/rdd/HadoopRDD.html#addLocalConfiguration(java.lang.String, int, int, int, org.apache.hadoop.mapred.JobConf)">addLocalConfiguration</a></strong>(java.lang.String jobTrackerId,
int jobId,
int splitId,
int attemptId,
org.apache.hadoop.mapred.JobConf conf)</code>
<div class="block">Add Hadoop configuration specific to a single partition and attempt.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/rdd/HadoopRDD.html#checkpoint()">checkpoint</a></strong>()</code>
<div class="block">Mark this RDD for checkpointing.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/spark/InterruptibleIterator.html" title="class in org.apache.spark">InterruptibleIterator</a><scala.Tuple2<<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">K</a>,<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">V</a>>></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/rdd/HadoopRDD.html#compute(org.apache.spark.Partition, org.apache.spark.TaskContext)">compute</a></strong>(<a href="../../../../org/apache/spark/Partition.html" title="interface in org.apache.spark">Partition</a> theSplit,
<a href="../../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a> context)</code>
<div class="block">:: DeveloperApi ::
Implemented by subclasses to compute a given partition.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.Object</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/rdd/HadoopRDD.html#CONFIGURATION_INSTANTIATION_LOCK()">CONFIGURATION_INSTANTIATION_LOCK</a></strong>()</code>
<div class="block">Configuration's constructor is not threadsafe (see SPARK-1097 and HADOOP-10456).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/rdd/HadoopRDD.html#containsCachedMetadata(java.lang.String)">containsCachedMetadata</a></strong>(java.lang.String key)</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.Object</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/rdd/HadoopRDD.html#getCachedMetadata(java.lang.String)">getCachedMetadata</a></strong>(java.lang.String key)</code>
<div class="block">The three methods below are helpers for accessing the local map, a property of the SparkEnv of
the local process.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>org.apache.hadoop.conf.Configuration</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/rdd/HadoopRDD.html#getConf()">getConf</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected org.apache.hadoop.mapred.InputFormat<<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">K</a>,<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">V</a>></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/rdd/HadoopRDD.html#getInputFormat(org.apache.hadoop.mapred.JobConf)">getInputFormat</a></strong>(org.apache.hadoop.mapred.JobConf conf)</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected org.apache.hadoop.mapred.JobConf</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/rdd/HadoopRDD.html#getJobConf()">getJobConf</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/spark/Partition.html" title="interface in org.apache.spark">Partition</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/rdd/HadoopRDD.html#getPartitions()">getPartitions</a></strong>()</code>
<div class="block">Implemented by subclasses to return the set of partitions in this RDD.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>scala.collection.Seq<java.lang.String></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/rdd/HadoopRDD.html#getPreferredLocations(org.apache.spark.Partition)">getPreferredLocations</a></strong>(<a href="../../../../org/apache/spark/Partition.html" title="interface in org.apache.spark">Partition</a> split)</code>
<div class="block">Optionally overridden by subclasses to specify placement preferences.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/rdd/HadoopRDD.html#inputFormatCacheKey()">inputFormatCacheKey</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/rdd/HadoopRDD.html#jobConfCacheKey()">jobConfCacheKey</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><U> <a href="../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a><U></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/rdd/HadoopRDD.html#mapPartitionsWithInputSplit(scala.Function2, boolean, scala.reflect.ClassTag)">mapPartitionsWithInputSplit</a></strong>(scala.Function2<org.apache.hadoop.mapred.InputSplit,scala.collection.Iterator<scala.Tuple2<<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">K</a>,<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">V</a>>>,scala.collection.Iterator<U>> f,
boolean preservesPartitioning,
scala.reflect.ClassTag<U> evidence$1)</code>
<div class="block">Maps over a partition, providing the InputSplit that was used as the base of the partition.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="class in org.apache.spark.rdd">HadoopRDD</a><<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">K</a>,<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">V</a>></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/rdd/HadoopRDD.html#persist(org.apache.spark.storage.StorageLevel)">persist</a></strong>(<a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> storageLevel)</code>
<div class="block">Set this RDD's storage level to persist its values across operations after the first time
it is computed.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/rdd/HadoopRDD.html#RECORDS_BETWEEN_BYTES_READ_METRIC_UPDATES()">RECORDS_BETWEEN_BYTES_READ_METRIC_UPDATES</a></strong>()</code>
<div class="block">Update the input bytes read metric each time this number of records has been read</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static scala.Option<org.apache.spark.rdd.HadoopRDD.SplitInfoReflections></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/spark/rdd/HadoopRDD.html#SPLIT_INFO_REFLECTIONS()">SPLIT_INFO_REFLECTIONS</a></strong>()</code> </td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.apache.spark.rdd.RDD">
<!-- -->
</a>
<h3>Methods inherited from class org.apache.spark.rdd.<a href="../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a></h3>
<code><a href="../../../../org/apache/spark/rdd/RDD.html#aggregate(U, scala.Function2, scala.Function2, scala.reflect.ClassTag)">aggregate</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#cache()">cache</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#cartesian(org.apache.spark.rdd.RDD, scala.reflect.ClassTag)">cartesian</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#checkpointData()">checkpointData</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#clearDependencies()">clearDependencies</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#coalesce(int, boolean, scala.math.Ordering)">coalesce</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#collect()">collect</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#collect(scala.PartialFunction, scala.reflect.ClassTag)">collect</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#context()">context</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#count()">count</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#countApprox(long, double)">countApprox</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#countApproxDistinct(double)">countApproxDistinct</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#countApproxDistinct(int, int)">countApproxDistinct</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#countByValue(scala.math.Ordering)">countByValue</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#countByValueApprox(long, double, scala.math.Ordering)">countByValueApprox</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#creationSite()">creationSite</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#dependencies()">dependencies</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#distinct()">distinct</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#distinct(int, scala.math.Ordering)">distinct</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#doubleRDDToDoubleRDDFunctions(org.apache.spark.rdd.RDD)">doubleRDDToDoubleRDDFunctions</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#filter(scala.Function1)">filter</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#filterWith(scala.Function1, scala.Function2)">filterWith</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#first()">first</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#firstParent(scala.reflect.ClassTag)">firstParent</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#flatMap(scala.Function1, scala.reflect.ClassTag)">flatMap</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#flatMapWith(scala.Function1, boolean, scala.Function2, scala.reflect.ClassTag)">flatMapWith</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#fold(T, scala.Function2)">fold</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#foreach(scala.Function1)">foreach</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#foreachPartition(scala.Function1)">foreachPartition</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#foreachWith(scala.Function1, scala.Function2)">foreachWith</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#getCheckpointFile()">getCheckpointFile</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#getDependencies()">getDependencies</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#getStorageLevel()">getStorageLevel</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#glom()">glom</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#groupBy(scala.Function1, scala.reflect.ClassTag)">groupBy</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#groupBy(scala.Function1, int, scala.reflect.ClassTag)">groupBy</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#groupBy(scala.Function1, org.apache.spark.Partitioner, scala.reflect.ClassTag, scala.math.Ordering)">groupBy</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#id()">id</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#intersection(org.apache.spark.rdd.RDD)">intersection</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#intersection(org.apache.spark.rdd.RDD, int)">intersection</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#intersection(org.apache.spark.rdd.RDD, org.apache.spark.Partitioner, scala.math.Ordering)">intersection</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#isCheckpointed()">isCheckpointed</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#isEmpty()">isEmpty</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#iterator(org.apache.spark.Partition, org.apache.spark.TaskContext)">iterator</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#keyBy(scala.Function1)">keyBy</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#localCheckpoint()">localCheckpoint</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#map(scala.Function1, scala.reflect.ClassTag)">map</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#mapPartitions(scala.Function1, boolean, scala.reflect.ClassTag)">mapPartitions</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#mapPartitionsWithContext(scala.Function2, boolean, scala.reflect.ClassTag)">mapPartitionsWithContext</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#mapPartitionsWithIndex(scala.Function2, boolean, scala.reflect.ClassTag)">mapPartitionsWithIndex</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#mapPartitionsWithSplit(scala.Function2, boolean, scala.reflect.ClassTag)">mapPartitionsWithSplit</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#mapWith(scala.Function1, boolean, scala.Function2, scala.reflect.ClassTag)">mapWith</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#max(scala.math.Ordering)">max</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#min(scala.math.Ordering)">min</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#name()">name</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#numericRDDToDoubleRDDFunctions(org.apache.spark.rdd.RDD, scala.math.Numeric)">numericRDDToDoubleRDDFunctions</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#parent(int, scala.reflect.ClassTag)">parent</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#partitioner()">partitioner</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#partitions()">partitions</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#persist()">persist</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#pipe(scala.collection.Seq, scala.collection.Map, scala.Function1, scala.Function2, boolean)">pipe</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#pipe(java.lang.String)">pipe</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#pipe(java.lang.String, scala.collection.Map)">pipe</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#preferredLocations(org.apache.spark.Partition)">preferredLocations</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#randomSplit(double[], long)">randomSplit</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#rddToAsyncRDDActions(org.apache.spark.rdd.RDD, scala.reflect.ClassTag)">rddToAsyncRDDActions</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#rddToOrderedRDDFunctions(org.apache.spark.rdd.RDD, scala.math.Ordering, scala.reflect.ClassTag, scala.reflect.ClassTag)">rddToOrderedRDDFunctions</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#rddToPairRDDFunctions(org.apache.spark.rdd.RDD, scala.reflect.ClassTag, scala.reflect.ClassTag, scala.math.Ordering)">rddToPairRDDFunctions</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#rddToSequenceFileRDDFunctions(org.apache.spark.rdd.RDD, scala.reflect.ClassTag, scala.reflect.ClassTag, , )">rddToSequenceFileRDDFunctions</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#reduce(scala.Function2)">reduce</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#repartition(int, scala.math.Ordering)">repartition</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#sample(boolean, double, long)">sample</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#saveAsObjectFile(java.lang.String)">saveAsObjectFile</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#saveAsTextFile(java.lang.String)">saveAsTextFile</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#saveAsTextFile(java.lang.String, java.lang.Class)">saveAsTextFile</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#scope()">scope</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#setName(java.lang.String)">setName</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#sortBy(scala.Function1, boolean, int, scala.math.Ordering, scala.reflect.ClassTag)">sortBy</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#sparkContext()">sparkContext</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#subtract(org.apache.spark.rdd.RDD)">subtract</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#subtract(org.apache.spark.rdd.RDD, int)">subtract</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#subtract(org.apache.spark.rdd.RDD, org.apache.spark.Partitioner, scala.math.Ordering)">subtract</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#take(int)">take</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#takeOrdered(int, scala.math.Ordering)">takeOrdered</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#takeSample(boolean, int, long)">takeSample</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#toArray()">toArray</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#toDebugString()">toDebugString</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#toJavaRDD()">toJavaRDD</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#toLocalIterator()">toLocalIterator</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#top(int, scala.math.Ordering)">top</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#toString()">toString</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#treeAggregate(U, scala.Function2, scala.Function2, int, scala.reflect.ClassTag)">treeAggregate</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#treeReduce(scala.Function2, int)">treeReduce</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#union(org.apache.spark.rdd.RDD)">union</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#unpersist(boolean)">unpersist</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#zip(org.apache.spark.rdd.RDD, scala.reflect.ClassTag)">zip</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#zipPartitions(org.apache.spark.rdd.RDD, boolean, scala.Function2, scala.reflect.ClassTag, scala.reflect.ClassTag)">zipPartitions</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#zipPartitions(org.apache.spark.rdd.RDD, scala.Function2, scala.reflect.ClassTag, scala.reflect.ClassTag)">zipPartitions</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#zipPartitions(org.apache.spark.rdd.RDD, org.apache.spark.rdd.RDD, boolean, scala.Function3, scala.reflect.ClassTag, scala.reflect.ClassTag, scala.reflect.ClassTag)">zipPartitions</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#zipPartitions(org.apache.spark.rdd.RDD, org.apache.spark.rdd.RDD, scala.Function3, scala.reflect.ClassTag, scala.reflect.ClassTag, scala.reflect.ClassTag)">zipPartitions</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#zipPartitions(org.apache.spark.rdd.RDD, org.apache.spark.rdd.RDD, org.apache.spark.rdd.RDD, boolean, scala.Function4, scala.reflect.ClassTag, scala.reflect.ClassTag, scala.reflect.ClassTag, scala.reflect.ClassTag)">zipPartitions</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#zipPartitions(org.apache.spark.rdd.RDD, org.apache.spark.rdd.RDD, org.apache.spark.rdd.RDD, scala.Function4, scala.reflect.ClassTag, scala.reflect.ClassTag, scala.reflect.ClassTag, scala.reflect.ClassTag)">zipPartitions</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#zipWithIndex()">zipWithIndex</a>, <a href="../../../../org/apache/spark/rdd/RDD.html#zipWithUniqueId()">zipWithUniqueId</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 java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.apache.spark.Logging">
<!-- -->
</a>
<h3>Methods inherited from interface org.apache.spark.<a href="../../../../org/apache/spark/Logging.html" title="interface in org.apache.spark">Logging</a></h3>
<code><a href="../../../../org/apache/spark/Logging.html#initializeIfNecessary()">initializeIfNecessary</a>, <a href="../../../../org/apache/spark/Logging.html#initializeLogging()">initializeLogging</a>, <a href="../../../../org/apache/spark/Logging.html#isTraceEnabled()">isTraceEnabled</a>, <a href="../../../../org/apache/spark/Logging.html#log_()">log_</a>, <a href="../../../../org/apache/spark/Logging.html#log()">log</a>, <a href="../../../../org/apache/spark/Logging.html#logDebug(scala.Function0)">logDebug</a>, <a href="../../../../org/apache/spark/Logging.html#logDebug(scala.Function0, java.lang.Throwable)">logDebug</a>, <a href="../../../../org/apache/spark/Logging.html#logError(scala.Function0)">logError</a>, <a href="../../../../org/apache/spark/Logging.html#logError(scala.Function0, java.lang.Throwable)">logError</a>, <a href="../../../../org/apache/spark/Logging.html#logInfo(scala.Function0)">logInfo</a>, <a href="../../../../org/apache/spark/Logging.html#logInfo(scala.Function0, java.lang.Throwable)">logInfo</a>, <a href="../../../../org/apache/spark/Logging.html#logName()">logName</a>, <a href="../../../../org/apache/spark/Logging.html#logTrace(scala.Function0)">logTrace</a>, <a href="../../../../org/apache/spark/Logging.html#logTrace(scala.Function0, java.lang.Throwable)">logTrace</a>, <a href="../../../../org/apache/spark/Logging.html#logWarning(scala.Function0)">logWarning</a>, <a href="../../../../org/apache/spark/Logging.html#logWarning(scala.Function0, java.lang.Throwable)">logWarning</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="HadoopRDD(org.apache.spark.SparkContext, org.apache.spark.broadcast.Broadcast, scala.Option, java.lang.Class, java.lang.Class, java.lang.Class, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>HadoopRDD</h4>
<pre>public HadoopRDD(<a href="../../../../org/apache/spark/SparkContext.html" title="class in org.apache.spark">SparkContext</a> sc,
<a href="../../../../org/apache/spark/broadcast/Broadcast.html" title="class in org.apache.spark.broadcast">Broadcast</a><org.apache.spark.util.SerializableConfiguration> broadcastedConf,
scala.Option<scala.Function1<org.apache.hadoop.mapred.JobConf,scala.runtime.BoxedUnit>> initLocalJobConfFuncOpt,
java.lang.Class<? extends org.apache.hadoop.mapred.InputFormat<<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">K</a>,<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">V</a>>> inputFormatClass,
java.lang.Class<<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">K</a>> keyClass,
java.lang.Class<<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">V</a>> valueClass,
int minPartitions)</pre>
</li>
</ul>
<a name="HadoopRDD(org.apache.spark.SparkContext, org.apache.hadoop.mapred.JobConf, java.lang.Class, java.lang.Class, java.lang.Class, int)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>HadoopRDD</h4>
<pre>public HadoopRDD(<a href="../../../../org/apache/spark/SparkContext.html" title="class in org.apache.spark">SparkContext</a> sc,
org.apache.hadoop.mapred.JobConf conf,
java.lang.Class<? extends org.apache.hadoop.mapred.InputFormat<<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">K</a>,<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">V</a>>> inputFormatClass,
java.lang.Class<<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">K</a>> keyClass,
java.lang.Class<<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">V</a>> valueClass,
int minPartitions)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="CONFIGURATION_INSTANTIATION_LOCK()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CONFIGURATION_INSTANTIATION_LOCK</h4>
<pre>public static java.lang.Object CONFIGURATION_INSTANTIATION_LOCK()</pre>
<div class="block">Configuration's constructor is not threadsafe (see SPARK-1097 and HADOOP-10456).
Therefore, we synchronize on this lock before calling new JobConf() or new Configuration().</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="RECORDS_BETWEEN_BYTES_READ_METRIC_UPDATES()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>RECORDS_BETWEEN_BYTES_READ_METRIC_UPDATES</h4>
<pre>public static int RECORDS_BETWEEN_BYTES_READ_METRIC_UPDATES()</pre>
<div class="block">Update the input bytes read metric each time this number of records has been read</div>
</li>
</ul>
<a name="getCachedMetadata(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCachedMetadata</h4>
<pre>public static java.lang.Object getCachedMetadata(java.lang.String key)</pre>
<div class="block">The three methods below are helpers for accessing the local map, a property of the SparkEnv of
the local process.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="containsCachedMetadata(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>containsCachedMetadata</h4>
<pre>public static boolean containsCachedMetadata(java.lang.String key)</pre>
</li>
</ul>
<a name="addLocalConfiguration(java.lang.String, int, int, int, org.apache.hadoop.mapred.JobConf)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addLocalConfiguration</h4>
<pre>public static void addLocalConfiguration(java.lang.String jobTrackerId,
int jobId,
int splitId,
int attemptId,
org.apache.hadoop.mapred.JobConf conf)</pre>
<div class="block">Add Hadoop configuration specific to a single partition and attempt.</div>
</li>
</ul>
<a name="SPLIT_INFO_REFLECTIONS()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SPLIT_INFO_REFLECTIONS</h4>
<pre>public static scala.Option<org.apache.spark.rdd.HadoopRDD.SplitInfoReflections> SPLIT_INFO_REFLECTIONS()</pre>
</li>
</ul>
<a name="jobConfCacheKey()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>jobConfCacheKey</h4>
<pre>protected java.lang.String jobConfCacheKey()</pre>
</li>
</ul>
<a name="inputFormatCacheKey()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>inputFormatCacheKey</h4>
<pre>protected java.lang.String inputFormatCacheKey()</pre>
</li>
</ul>
<a name="getJobConf()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getJobConf</h4>
<pre>protected org.apache.hadoop.mapred.JobConf getJobConf()</pre>
</li>
</ul>
<a name="getInputFormat(org.apache.hadoop.mapred.JobConf)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInputFormat</h4>
<pre>protected org.apache.hadoop.mapred.InputFormat<<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">K</a>,<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">V</a>> getInputFormat(org.apache.hadoop.mapred.JobConf conf)</pre>
</li>
</ul>
<a name="getPartitions()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPartitions</h4>
<pre>public <a href="../../../../org/apache/spark/Partition.html" title="interface in org.apache.spark">Partition</a>[] getPartitions()</pre>
<div class="block"><strong>Description copied from class: <code><a href="../../../../org/apache/spark/rdd/RDD.html#getPartitions()">RDD</a></code></strong></div>
<div class="block">Implemented by subclasses to return the set of partitions in this RDD. This method will only
be called once, so it is safe to implement a time-consuming computation in it.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/apache/spark/rdd/RDD.html#getPartitions()">getPartitions</a></code> in class <code><a href="../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a><scala.Tuple2<<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">K</a>,<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">V</a>>></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="compute(org.apache.spark.Partition, org.apache.spark.TaskContext)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compute</h4>
<pre>public <a href="../../../../org/apache/spark/InterruptibleIterator.html" title="class in org.apache.spark">InterruptibleIterator</a><scala.Tuple2<<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">K</a>,<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">V</a>>> compute(<a href="../../../../org/apache/spark/Partition.html" title="interface in org.apache.spark">Partition</a> theSplit,
<a href="../../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a> context)</pre>
<div class="block"><strong>Description copied from class: <code><a href="../../../../org/apache/spark/rdd/RDD.html#compute(org.apache.spark.Partition, org.apache.spark.TaskContext)">RDD</a></code></strong></div>
<div class="block">:: DeveloperApi ::
Implemented by subclasses to compute a given partition.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/apache/spark/rdd/RDD.html#compute(org.apache.spark.Partition, org.apache.spark.TaskContext)">compute</a></code> in class <code><a href="../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a><scala.Tuple2<<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">K</a>,<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">V</a>>></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>theSplit</code> - (undocumented)</dd><dd><code>context</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="mapPartitionsWithInputSplit(scala.Function2, boolean, scala.reflect.ClassTag)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mapPartitionsWithInputSplit</h4>
<pre>public <U> <a href="../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a><U> mapPartitionsWithInputSplit(scala.Function2<org.apache.hadoop.mapred.InputSplit,scala.collection.Iterator<scala.Tuple2<<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">K</a>,<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">V</a>>>,scala.collection.Iterator<U>> f,
boolean preservesPartitioning,
scala.reflect.ClassTag<U> evidence$1)</pre>
<div class="block">Maps over a partition, providing the InputSplit that was used as the base of the partition.</div>
</li>
</ul>
<a name="getPreferredLocations(org.apache.spark.Partition)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPreferredLocations</h4>
<pre>public scala.collection.Seq<java.lang.String> getPreferredLocations(<a href="../../../../org/apache/spark/Partition.html" title="interface in org.apache.spark">Partition</a> split)</pre>
<div class="block"><strong>Description copied from class: <code><a href="../../../../org/apache/spark/rdd/RDD.html#getPreferredLocations(org.apache.spark.Partition)">RDD</a></code></strong></div>
<div class="block">Optionally overridden by subclasses to specify placement preferences.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../org/apache/spark/rdd/RDD.html#getPreferredLocations(org.apache.spark.Partition)">getPreferredLocations</a></code> in class <code><a href="../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a><scala.Tuple2<<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">K</a>,<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">V</a>>></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>split</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="checkpoint()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkpoint</h4>
<pre>public void checkpoint()</pre>
<div class="block"><strong>Description copied from class: <code><a href="../../../../org/apache/spark/rdd/RDD.html#checkpoint()">RDD</a></code></strong></div>
<div class="block">Mark this RDD for checkpointing. It will be saved to a file inside the checkpoint
directory set with <code>SparkContext#setCheckpointDir</code> and all references to its parent
RDDs will be removed. This function must be called before any job has been
executed on this RDD. It is strongly recommended that this RDD is persisted in
memory, otherwise saving it on a file will require recomputation.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../org/apache/spark/rdd/RDD.html#checkpoint()">checkpoint</a></code> in class <code><a href="../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a><scala.Tuple2<<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">K</a>,<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">V</a>>></code></dd>
</dl>
</li>
</ul>
<a name="persist(org.apache.spark.storage.StorageLevel)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>persist</h4>
<pre>public <a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="class in org.apache.spark.rdd">HadoopRDD</a><<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">K</a>,<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">V</a>> persist(<a href="../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> storageLevel)</pre>
<div class="block"><strong>Description copied from class: <code><a href="../../../../org/apache/spark/rdd/RDD.html#persist(org.apache.spark.storage.StorageLevel)">RDD</a></code></strong></div>
<div class="block">Set this RDD's storage level to persist its values across operations after the first time
it is computed. This can only be used to assign a new storage level if the RDD does not
have a storage level set yet. Local checkpointing is an exception.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../org/apache/spark/rdd/RDD.html#persist(org.apache.spark.storage.StorageLevel)">persist</a></code> in class <code><a href="../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a><scala.Tuple2<<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">K</a>,<a href="../../../../org/apache/spark/rdd/HadoopRDD.html" title="type parameter in HadoopRDD">V</a>>></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>storageLevel</code> - (undocumented)</dd>
<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl>
</li>
</ul>
<a name="getConf()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getConf</h4>
<pre>public org.apache.hadoop.conf.Configuration getConf()</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><a href="#skip-navbar_bottom" title="Skip navigation links"></a><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="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/spark/rdd/DoubleRDDFunctions.html" title="class in org.apache.spark.rdd"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/spark/rdd/JdbcRDD.html" title="class in org.apache.spark.rdd"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/spark/rdd/HadoopRDD.html" target="_top">Frames</a></li>
<li><a href="HadoopRDD.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All 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: </li>
<li>Nested | </li>
<li>Field | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li><a href="#constructor_detail">Constr</a> | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<script defer="defer" type="text/javascript" src="../../../../lib/jquery.js"></script><script defer="defer" type="text/javascript" src="../../../../lib/api-javadocs.js"></script></body>
</html>