http://git-wip-us.apache.org/repos/asf/spark-website/blob/0b563c84/site/docs/2.1.2/api/java/org/apache/spark/api/java/JavaDoubleRDD.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.2/api/java/org/apache/spark/api/java/JavaDoubleRDD.html b/site/docs/2.1.2/api/java/org/apache/spark/api/java/JavaDoubleRDD.html new file mode 100644 index 0000000..a1da46f --- /dev/null +++ b/site/docs/2.1.2/api/java/org/apache/spark/api/java/JavaDoubleRDD.html @@ -0,0 +1,2084 @@ +<!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.7.0_151) on Mon Oct 02 14:47:26 PDT 2017 --> +<title>JavaDoubleRDD (Spark 2.1.2 JavaDoc)</title> +<meta name="date" content="2017-10-02"> +<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="JavaDoubleRDD (Spark 2.1.2 JavaDoc)"; + } + } + catch(err) { + } +//--> +</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>Prev Class</li> +<li><a href="../../../../../org/apache/spark/api/java/JavaFutureAction.html" title="interface in org.apache.spark.api.java"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/spark/api/java/JavaDoubleRDD.html" target="_top">Frames</a></li> +<li><a href="JavaDoubleRDD.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.api.java</div> +<h2 title="Class JavaDoubleRDD" class="title">Class JavaDoubleRDD</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>Object</li> +<li> +<ul class="inheritance"> +<li>org.apache.spark.api.java.JavaDoubleRDD</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/api/java/JavaRDDLike.html" title="interface in org.apache.spark.api.java">JavaRDDLike</a><Double,<a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a>></dd> +</dl> +<hr> +<br> +<pre>public class <span class="strong">JavaDoubleRDD</span> +extends Object</pre> +<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../serialized-form.html#org.apache.spark.api.java.JavaDoubleRDD">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/api/java/JavaDoubleRDD.html#JavaDoubleRDD(org.apache.spark.rdd.RDD)">JavaDoubleRDD</a></strong>(<a href="../../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a><Object> srdd)</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 <U> U</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#aggregate(U,%20org.apache.spark.api.java.function.Function2,%20org.apache.spark.api.java.function.Function2)">aggregate</a></strong>(U zeroValue, + <a href="../../../../../org/apache/spark/api/java/function/Function2.html" title="interface in org.apache.spark.api.java.function">Function2</a><U,T,U> seqOp, + <a href="../../../../../org/apache/spark/api/java/function/Function2.html" title="interface in org.apache.spark.api.java.function">Function2</a><U,U,U> combOp)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#cache()">cache</a></strong>()</code> +<div class="block">Persist this RDD with the default storage level (<code>MEMORY_ONLY</code>).</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <U> <a href="../../../../../org/apache/spark/api/java/JavaPairRDD.html" title="class in org.apache.spark.api.java">JavaPairRDD</a><T,U></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#cartesian(org.apache.spark.api.java.JavaRDDLike)">cartesian</a></strong>(<a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html" title="interface in org.apache.spark.api.java">JavaRDDLike</a><U,?> other)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#checkpoint()">checkpoint</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>scala.reflect.ClassTag<Double></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#classTag()">classTag</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#coalesce(int)">coalesce</a></strong>(int numPartitions)</code> +<div class="block">Return a new RDD that is reduced into <code>numPartitions</code> partitions.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#coalesce(int,%20boolean)">coalesce</a></strong>(int numPartitions, + boolean shuffle)</code> +<div class="block">Return a new RDD that is reduced into <code>numPartitions</code> partitions.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.util.List<T></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#collect()">collect</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/api/java/JavaFutureAction.html" title="interface in org.apache.spark.api.java">JavaFutureAction</a><java.util.List<T>></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#collectAsync()">collectAsync</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.util.List<T>[]</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#collectPartitions(int[])">collectPartitions</a></strong>(int[] partitionIds)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/SparkContext.html" title="class in org.apache.spark">SparkContext</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#context()">context</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static long</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#count()">count</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/partial/PartialResult.html" title="class in org.apache.spark.partial">PartialResult</a><<a href="../../../../../org/apache/spark/partial/BoundedDouble.html" title="class in org.apache.spark.partial">BoundedDouble</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#countApprox(long)">countApprox</a></strong>(long timeout)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/partial/PartialResult.html" title="class in org.apache.spark.partial">PartialResult</a><<a href="../../../../../org/apache/spark/partial/BoundedDouble.html" title="class in org.apache.spark.partial">BoundedDouble</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#countApprox(long,%20double)">countApprox</a></strong>(long timeout, + double confidence)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static long</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#countApproxDistinct(double)">countApproxDistinct</a></strong>(double relativeSD)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/api/java/JavaFutureAction.html" title="interface in org.apache.spark.api.java">JavaFutureAction</a><Long></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#countAsync()">countAsync</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static java.util.Map<T,Long></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#countByValue()">countByValue</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/partial/PartialResult.html" title="class in org.apache.spark.partial">PartialResult</a><java.util.Map<T,<a href="../../../../../org/apache/spark/partial/BoundedDouble.html" title="class in org.apache.spark.partial">BoundedDouble</a>>></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#countByValueApprox(long)">countByValueApprox</a></strong>(long timeout)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/partial/PartialResult.html" title="class in org.apache.spark.partial">PartialResult</a><java.util.Map<T,<a href="../../../../../org/apache/spark/partial/BoundedDouble.html" title="class in org.apache.spark.partial">BoundedDouble</a>>></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#countByValueApprox(long,%20double)">countByValueApprox</a></strong>(long timeout, + double confidence)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#distinct()">distinct</a></strong>()</code> +<div class="block">Return a new RDD containing the distinct elements in this RDD.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#distinct(int)">distinct</a></strong>(int numPartitions)</code> +<div class="block">Return a new RDD containing the distinct elements in this RDD.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#filter(org.apache.spark.api.java.function.Function)">filter</a></strong>(<a href="../../../../../org/apache/spark/api/java/function/Function.html" title="interface in org.apache.spark.api.java.function">Function</a><Double,Boolean> f)</code> +<div class="block">Return a new RDD containing only the elements that satisfy a predicate.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>Double</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#first()">first</a></strong>()</code> +<div class="block">Return the first element in this RDD.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <U> <a href="../../../../../org/apache/spark/api/java/JavaRDD.html" title="class in org.apache.spark.api.java">JavaRDD</a><U></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#flatMap(org.apache.spark.api.java.function.FlatMapFunction)">flatMap</a></strong>(<a href="../../../../../org/apache/spark/api/java/function/FlatMapFunction.html" title="interface in org.apache.spark.api.java.function">FlatMapFunction</a><T,U> f)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#flatMapToDouble(org.apache.spark.api.java.function.DoubleFlatMapFunction)">flatMapToDouble</a></strong>(<a href="../../../../../org/apache/spark/api/java/function/DoubleFlatMapFunction.html" title="interface in org.apache.spark.api.java.function">DoubleFlatMapFunction</a><T> f)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <K2,V2> <a href="../../../../../org/apache/spark/api/java/JavaPairRDD.html" title="class in org.apache.spark.api.java">JavaPairRDD</a><K2,V2></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#flatMapToPair(org.apache.spark.api.java.function.PairFlatMapFunction)">flatMapToPair</a></strong>(<a href="../../../../../org/apache/spark/api/java/function/PairFlatMapFunction.html" title="interface in org.apache.spark.api.java.function">PairFlatMapFunction</a><T,K2,V2> f)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static T</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#fold(T,%20org.apache.spark.api.java.function.Function2)">fold</a></strong>(T zeroValue, + <a href="../../../../../org/apache/spark/api/java/function/Function2.html" title="interface in org.apache.spark.api.java.function">Function2</a><T,T,T> f)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#foreach(org.apache.spark.api.java.function.VoidFunction)">foreach</a></strong>(<a href="../../../../../org/apache/spark/api/java/function/VoidFunction.html" title="interface in org.apache.spark.api.java.function">VoidFunction</a><T> f)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/api/java/JavaFutureAction.html" title="interface in org.apache.spark.api.java">JavaFutureAction</a><Void></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#foreachAsync(org.apache.spark.api.java.function.VoidFunction)">foreachAsync</a></strong>(<a href="../../../../../org/apache/spark/api/java/function/VoidFunction.html" title="interface in org.apache.spark.api.java.function">VoidFunction</a><T> f)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#foreachPartition(org.apache.spark.api.java.function.VoidFunction)">foreachPartition</a></strong>(<a href="../../../../../org/apache/spark/api/java/function/VoidFunction.html" title="interface in org.apache.spark.api.java.function">VoidFunction</a><java.util.Iterator<T>> f)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/api/java/JavaFutureAction.html" title="interface in org.apache.spark.api.java">JavaFutureAction</a><Void></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#foreachPartitionAsync(org.apache.spark.api.java.function.VoidFunction)">foreachPartitionAsync</a></strong>(<a href="../../../../../org/apache/spark/api/java/function/VoidFunction.html" title="interface in org.apache.spark.api.java.function">VoidFunction</a><java.util.Iterator<T>> f)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#fromRDD(org.apache.spark.rdd.RDD)">fromRDD</a></strong>(<a href="../../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a><Object> rdd)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java">Optional</a><String></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#getCheckpointFile()">getCheckpointFile</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#getNumPartitions()">getNumPartitions</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#getStorageLevel()">getStorageLevel</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/api/java/JavaRDD.html" title="class in org.apache.spark.api.java">JavaRDD</a><java.util.List<T>></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#glom()">glom</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <U> <a href="../../../../../org/apache/spark/api/java/JavaPairRDD.html" title="class in org.apache.spark.api.java">JavaPairRDD</a><U,Iterable<T>></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#groupBy(org.apache.spark.api.java.function.Function)">groupBy</a></strong>(<a href="../../../../../org/apache/spark/api/java/function/Function.html" title="interface in org.apache.spark.api.java.function">Function</a><T,U> f)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <U> <a href="../../../../../org/apache/spark/api/java/JavaPairRDD.html" title="class in org.apache.spark.api.java">JavaPairRDD</a><U,Iterable<T>></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#groupBy(org.apache.spark.api.java.function.Function,%20int)">groupBy</a></strong>(<a href="../../../../../org/apache/spark/api/java/function/Function.html" title="interface in org.apache.spark.api.java.function">Function</a><T,U> f, + int numPartitions)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>long[]</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#histogram(double[])">histogram</a></strong>(double[] buckets)</code> +<div class="block">Compute a histogram using the provided buckets.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>long[]</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#histogram(java.lang.Double[],%20boolean)">histogram</a></strong>(Double[] buckets, + boolean evenBuckets)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>scala.Tuple2<double[],long[]></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#histogram(int)">histogram</a></strong>(int bucketCount)</code> +<div class="block">Compute a histogram of the data using bucketCount number of buckets evenly + spaced between the minimum and maximum of the RDD.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static int</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#id()">id</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#intersection(org.apache.spark.api.java.JavaDoubleRDD)">intersection</a></strong>(<a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a> other)</code> +<div class="block">Return the intersection of this RDD and another one.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#isCheckpointed()">isCheckpointed</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#isEmpty()">isEmpty</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.util.Iterator<T></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#iterator(org.apache.spark.Partition,%20org.apache.spark.TaskContext)">iterator</a></strong>(<a href="../../../../../org/apache/spark/Partition.html" title="interface in org.apache.spark">Partition</a> split, + <a href="../../../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a> taskContext)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <U> <a href="../../../../../org/apache/spark/api/java/JavaPairRDD.html" title="class in org.apache.spark.api.java">JavaPairRDD</a><U,T></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#keyBy(org.apache.spark.api.java.function.Function)">keyBy</a></strong>(<a href="../../../../../org/apache/spark/api/java/function/Function.html" title="interface in org.apache.spark.api.java.function">Function</a><T,U> f)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <R> <a href="../../../../../org/apache/spark/api/java/JavaRDD.html" title="class in org.apache.spark.api.java">JavaRDD</a><R></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#map(org.apache.spark.api.java.function.Function)">map</a></strong>(<a href="../../../../../org/apache/spark/api/java/function/Function.html" title="interface in org.apache.spark.api.java.function">Function</a><T,R> f)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <U> <a href="../../../../../org/apache/spark/api/java/JavaRDD.html" title="class in org.apache.spark.api.java">JavaRDD</a><U></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#mapPartitions(org.apache.spark.api.java.function.FlatMapFunction)">mapPartitions</a></strong>(<a href="../../../../../org/apache/spark/api/java/function/FlatMapFunction.html" title="interface in org.apache.spark.api.java.function">FlatMapFunction</a><java.util.Iterator<T>,U> f)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <U> <a href="../../../../../org/apache/spark/api/java/JavaRDD.html" title="class in org.apache.spark.api.java">JavaRDD</a><U></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#mapPartitions(org.apache.spark.api.java.function.FlatMapFunction,%20boolean)">mapPartitions</a></strong>(<a href="../../../../../org/apache/spark/api/java/function/FlatMapFunction.html" title="interface in org.apache.spark.api.java.function">FlatMapFunction</a><java.util.Iterator<T>,U> f, + boolean preservesPartitioning)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#mapPartitionsToDouble(org.apache.spark.api.java.function.DoubleFlatMapFunction)">mapPartitionsToDouble</a></strong>(<a href="../../../../../org/apache/spark/api/java/function/DoubleFlatMapFunction.html" title="interface in org.apache.spark.api.java.function">DoubleFlatMapFunction</a><java.util.Iterator<T>> f)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#mapPartitionsToDouble(org.apache.spark.api.java.function.DoubleFlatMapFunction,%20boolean)">mapPartitionsToDouble</a></strong>(<a href="../../../../../org/apache/spark/api/java/function/DoubleFlatMapFunction.html" title="interface in org.apache.spark.api.java.function">DoubleFlatMapFunction</a><java.util.Iterator<T>> f, + boolean preservesPartitioning)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <K2,V2> <a href="../../../../../org/apache/spark/api/java/JavaPairRDD.html" title="class in org.apache.spark.api.java">JavaPairRDD</a><K2,V2></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#mapPartitionsToPair(org.apache.spark.api.java.function.PairFlatMapFunction)">mapPartitionsToPair</a></strong>(<a href="../../../../../org/apache/spark/api/java/function/PairFlatMapFunction.html" title="interface in org.apache.spark.api.java.function">PairFlatMapFunction</a><java.util.Iterator<T>,K2,V2> f)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <K2,V2> <a href="../../../../../org/apache/spark/api/java/JavaPairRDD.html" title="class in org.apache.spark.api.java">JavaPairRDD</a><K2,V2></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#mapPartitionsToPair(org.apache.spark.api.java.function.PairFlatMapFunction,%20boolean)">mapPartitionsToPair</a></strong>(<a href="../../../../../org/apache/spark/api/java/function/PairFlatMapFunction.html" title="interface in org.apache.spark.api.java.function">PairFlatMapFunction</a><java.util.Iterator<T>,K2,V2> f, + boolean preservesPartitioning)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <R> <a href="../../../../../org/apache/spark/api/java/JavaRDD.html" title="class in org.apache.spark.api.java">JavaRDD</a><R></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#mapPartitionsWithIndex(org.apache.spark.api.java.function.Function2,%20boolean)">mapPartitionsWithIndex</a></strong>(<a href="../../../../../org/apache/spark/api/java/function/Function2.html" title="interface in org.apache.spark.api.java.function">Function2</a><Integer,java.util.Iterator<T>,java.util.Iterator<R>> f, + boolean preservesPartitioning)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <R> boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#mapPartitionsWithIndex$default$2()">mapPartitionsWithIndex$default$2</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <R> <a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#mapToDouble(org.apache.spark.api.java.function.DoubleFunction)">mapToDouble</a></strong>(<a href="../../../../../org/apache/spark/api/java/function/DoubleFunction.html" title="interface in org.apache.spark.api.java.function">DoubleFunction</a><T> f)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <K2,V2> <a href="../../../../../org/apache/spark/api/java/JavaPairRDD.html" title="class in org.apache.spark.api.java">JavaPairRDD</a><K2,V2></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#mapToPair(org.apache.spark.api.java.function.PairFunction)">mapToPair</a></strong>(<a href="../../../../../org/apache/spark/api/java/function/PairFunction.html" title="interface in org.apache.spark.api.java.function">PairFunction</a><T,K2,V2> f)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>Double</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#max()">max</a></strong>()</code> +<div class="block">Returns the maximum element from this RDD as defined by + the default comparator natural order.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>Double</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#mean()">mean</a></strong>()</code> +<div class="block">Compute the mean of this RDD's elements.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/partial/PartialResult.html" title="class in org.apache.spark.partial">PartialResult</a><<a href="../../../../../org/apache/spark/partial/BoundedDouble.html" title="class in org.apache.spark.partial">BoundedDouble</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#meanApprox(long)">meanApprox</a></strong>(long timeout)</code> +<div class="block">Approximate operation to return the mean within a timeout.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/partial/PartialResult.html" title="class in org.apache.spark.partial">PartialResult</a><<a href="../../../../../org/apache/spark/partial/BoundedDouble.html" title="class in org.apache.spark.partial">BoundedDouble</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#meanApprox(long,%20java.lang.Double)">meanApprox</a></strong>(long timeout, + Double confidence)</code> +<div class="block">Return the approximate mean of the elements in this RDD.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>Double</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#min()">min</a></strong>()</code> +<div class="block">Returns the minimum element from this RDD as defined by + the default comparator natural order.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static String</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#name()">name</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java">Optional</a><<a href="../../../../../org/apache/spark/Partitioner.html" title="class in org.apache.spark">Partitioner</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#partitioner()">partitioner</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.util.List<<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/api/java/JavaDoubleRDD.html#partitions()">partitions</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.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> newLevel)</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 <a href="../../../../../org/apache/spark/api/java/JavaRDD.html" title="class in org.apache.spark.api.java">JavaRDD</a><String></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#pipe(java.util.List)">pipe</a></strong>(java.util.List<String> command)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/api/java/JavaRDD.html" title="class in org.apache.spark.api.java">JavaRDD</a><String></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#pipe(java.util.List,%20java.util.Map)">pipe</a></strong>(java.util.List<String> command, + java.util.Map<String,String> env)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/api/java/JavaRDD.html" title="class in org.apache.spark.api.java">JavaRDD</a><String></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#pipe(java.util.List,%20java.util.Map,%20boolean,%20int)">pipe</a></strong>(java.util.List<String> command, + java.util.Map<String,String> env, + boolean separateWorkingDir, + int bufferSize)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/api/java/JavaRDD.html" title="class in org.apache.spark.api.java">JavaRDD</a><String></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#pipe(java.util.List,%20java.util.Map,%20boolean,%20int,%20java.lang.String)">pipe</a></strong>(java.util.List<String> command, + java.util.Map<String,String> env, + boolean separateWorkingDir, + int bufferSize, + String encoding)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/api/java/JavaRDD.html" title="class in org.apache.spark.api.java">JavaRDD</a><String></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#pipe(java.lang.String)">pipe</a></strong>(String command)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>Double</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#popStdev()">popStdev</a></strong>()</code> +<div class="block">Compute the population standard deviation of this RDD's elements.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>Double</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#popVariance()">popVariance</a></strong>()</code> +<div class="block">Compute the population variance of this RDD's elements.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a><Double></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#rdd()">rdd</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static T</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#reduce(org.apache.spark.api.java.function.Function2)">reduce</a></strong>(<a href="../../../../../org/apache/spark/api/java/function/Function2.html" title="interface in org.apache.spark.api.java.function">Function2</a><T,T,T> f)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#repartition(int)">repartition</a></strong>(int numPartitions)</code> +<div class="block">Return a new RDD that has exactly numPartitions partitions.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#sample(boolean,%20java.lang.Double)">sample</a></strong>(boolean withReplacement, + Double fraction)</code> +<div class="block">Return a sampled subset of this RDD.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#sample(boolean,%20java.lang.Double,%20long)">sample</a></strong>(boolean withReplacement, + Double fraction, + long seed)</code> +<div class="block">Return a sampled subset of this RDD.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>Double</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#sampleStdev()">sampleStdev</a></strong>()</code> +<div class="block">Compute the sample standard deviation of this RDD's elements (which corrects for bias in + estimating the standard deviation by dividing by N-1 instead of N).</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>Double</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#sampleVariance()">sampleVariance</a></strong>()</code> +<div class="block">Compute the sample variance of this RDD's elements (which corrects for bias in + estimating the standard variance by dividing by N-1 instead of N).</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#saveAsObjectFile(java.lang.String)">saveAsObjectFile</a></strong>(String path)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#saveAsTextFile(java.lang.String)">saveAsTextFile</a></strong>(String path)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#saveAsTextFile(java.lang.String,%20java.lang.Class)">saveAsTextFile</a></strong>(String path, + Class<? extends org.apache.hadoop.io.compress.CompressionCodec> codec)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#setName(java.lang.String)">setName</a></strong>(String name)</code> +<div class="block">Assign a name to this RDD</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a><Object></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#srdd()">srdd</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/util/StatCounter.html" title="class in org.apache.spark.util">StatCounter</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#stats()">stats</a></strong>()</code> +<div class="block">Return a <a href="../../../../../org/apache/spark/util/StatCounter.html" title="class in org.apache.spark.util"><code>StatCounter</code></a> object that captures the mean, variance and + count of the RDD's elements in one operation.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>Double</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#stdev()">stdev</a></strong>()</code> +<div class="block">Compute the population standard deviation of this RDD's elements.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#subtract(org.apache.spark.api.java.JavaDoubleRDD)">subtract</a></strong>(<a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a> other)</code> +<div class="block">Return an RDD with the elements from <code>this</code> that are not in <code>other</code>.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#subtract(org.apache.spark.api.java.JavaDoubleRDD,%20int)">subtract</a></strong>(<a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a> other, + int numPartitions)</code> +<div class="block">Return an RDD with the elements from <code>this</code> that are not in <code>other</code>.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#subtract(org.apache.spark.api.java.JavaDoubleRDD,%20org.apache.spark.Partitioner)">subtract</a></strong>(<a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a> other, + <a href="../../../../../org/apache/spark/Partitioner.html" title="class in org.apache.spark">Partitioner</a> p)</code> +<div class="block">Return an RDD with the elements from <code>this</code> that are not in <code>other</code>.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>Double</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#sum()">sum</a></strong>()</code> +<div class="block">Add up the elements in this RDD.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/partial/PartialResult.html" title="class in org.apache.spark.partial">PartialResult</a><<a href="../../../../../org/apache/spark/partial/BoundedDouble.html" title="class in org.apache.spark.partial">BoundedDouble</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#sumApprox(long)">sumApprox</a></strong>(long timeout)</code> +<div class="block">Approximate operation to return the sum within a timeout.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/partial/PartialResult.html" title="class in org.apache.spark.partial">PartialResult</a><<a href="../../../../../org/apache/spark/partial/BoundedDouble.html" title="class in org.apache.spark.partial">BoundedDouble</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#sumApprox(long,%20java.lang.Double)">sumApprox</a></strong>(long timeout, + Double confidence)</code> +<div class="block">Approximate operation to return the sum within a timeout.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static java.util.List<T></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#take(int)">take</a></strong>(int num)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/api/java/JavaFutureAction.html" title="interface in org.apache.spark.api.java">JavaFutureAction</a><java.util.List<T>></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#takeAsync(int)">takeAsync</a></strong>(int num)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static java.util.List<T></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#takeOrdered(int)">takeOrdered</a></strong>(int num)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.util.List<T></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#takeOrdered(int,%20java.util.Comparator)">takeOrdered</a></strong>(int num, + java.util.Comparator<T> comp)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static java.util.List<T></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#takeSample(boolean,%20int)">takeSample</a></strong>(boolean withReplacement, + int num)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.util.List<T></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#takeSample(boolean,%20int,%20long)">takeSample</a></strong>(boolean withReplacement, + int num, + long seed)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static String</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#toDebugString()">toDebugString</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.util.Iterator<T></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#toLocalIterator()">toLocalIterator</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static java.util.List<T></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#top(int)">top</a></strong>(int num)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static java.util.List<T></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#top(int,%20java.util.Comparator)">top</a></strong>(int num, + java.util.Comparator<T> comp)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a><Object></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#toRDD(org.apache.spark.api.java.JavaDoubleRDD)">toRDD</a></strong>(<a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a> rdd)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <U> U</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#treeAggregate(U,%20org.apache.spark.api.java.function.Function2,%20org.apache.spark.api.java.function.Function2)">treeAggregate</a></strong>(U zeroValue, + <a href="../../../../../org/apache/spark/api/java/function/Function2.html" title="interface in org.apache.spark.api.java.function">Function2</a><U,T,U> seqOp, + <a href="../../../../../org/apache/spark/api/java/function/Function2.html" title="interface in org.apache.spark.api.java.function">Function2</a><U,U,U> combOp)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <U> U</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#treeAggregate(U,%20org.apache.spark.api.java.function.Function2,%20org.apache.spark.api.java.function.Function2,%20int)">treeAggregate</a></strong>(U zeroValue, + <a href="../../../../../org/apache/spark/api/java/function/Function2.html" title="interface in org.apache.spark.api.java.function">Function2</a><U,T,U> seqOp, + <a href="../../../../../org/apache/spark/api/java/function/Function2.html" title="interface in org.apache.spark.api.java.function">Function2</a><U,U,U> combOp, + int depth)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static T</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#treeReduce(org.apache.spark.api.java.function.Function2)">treeReduce</a></strong>(<a href="../../../../../org/apache/spark/api/java/function/Function2.html" title="interface in org.apache.spark.api.java.function">Function2</a><T,T,T> f)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static T</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#treeReduce(org.apache.spark.api.java.function.Function2,%20int)">treeReduce</a></strong>(<a href="../../../../../org/apache/spark/api/java/function/Function2.html" title="interface in org.apache.spark.api.java.function">Function2</a><T,T,T> f, + int depth)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#union(org.apache.spark.api.java.JavaDoubleRDD)">union</a></strong>(<a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a> other)</code> +<div class="block">Return the union of this RDD and another one.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#unpersist()">unpersist</a></strong>()</code> +<div class="block">Mark the RDD as non-persistent, and remove all blocks for it from memory and disk.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#unpersist(boolean)">unpersist</a></strong>(boolean blocking)</code> +<div class="block">Mark the RDD as non-persistent, and remove all blocks for it from memory and disk.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>Double</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#variance()">variance</a></strong>()</code> +<div class="block">Compute the population variance of this RDD's elements.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#wrapRDD(org.apache.spark.rdd.RDD)">wrapRDD</a></strong>(<a href="../../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a><Double> rdd)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <U> <a href="../../../../../org/apache/spark/api/java/JavaPairRDD.html" title="class in org.apache.spark.api.java">JavaPairRDD</a><T,U></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#zip(org.apache.spark.api.java.JavaRDDLike)">zip</a></strong>(<a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html" title="interface in org.apache.spark.api.java">JavaRDDLike</a><U,?> other)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <U,V> <a href="../../../../../org/apache/spark/api/java/JavaRDD.html" title="class in org.apache.spark.api.java">JavaRDD</a><V></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#zipPartitions(org.apache.spark.api.java.JavaRDDLike,%20org.apache.spark.api.java.function.FlatMapFunction2)">zipPartitions</a></strong>(<a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html" title="interface in org.apache.spark.api.java">JavaRDDLike</a><U,?> other, + <a href="../../../../../org/apache/spark/api/java/function/FlatMapFunction2.html" title="interface in org.apache.spark.api.java.function">FlatMapFunction2</a><java.util.Iterator<T>,java.util.Iterator<U>,V> f)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/api/java/JavaPairRDD.html" title="class in org.apache.spark.api.java">JavaPairRDD</a><T,Long></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#zipWithIndex()">zipWithIndex</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/spark/api/java/JavaPairRDD.html" title="class in org.apache.spark.api.java">JavaPairRDD</a><T,Long></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html#zipWithUniqueId()">zipWithUniqueId</a></strong>()</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_Object"> +<!-- --> +</a> +<h3>Methods inherited from class Object</h3> +<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_org.apache.spark.api.java.JavaRDDLike"> +<!-- --> +</a> +<h3>Methods inherited from interface org.apache.spark.api.java.<a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html" title="interface in org.apache.spark.api.java">JavaRDDLike</a></h3> +<code><a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#aggregate(U,%20org.apache.spark.api.java.function.Function2,%20org.apache.spark.api.java.function.Function2)">aggregate</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#cartesian(org.apache.spark.api.java.JavaRDDLike)">cartesian</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#checkpoint()">checkpoint</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#collect()">collect</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#collectAsync()">collectAsync</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#collectPartitions(int[])">collectPartitions</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#context()">context</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#count()">count</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#countApprox(long) ">countApprox</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#countApprox(long,%20double)">countApprox</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#countApproxDistinct(double)">countApproxDistinct</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#countAsync()">countAsync</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#countByValue()">countByValue</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#countByValueApprox(long)">countByValueApprox</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#countByValueApprox(long,%20double)">countByValueApprox</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#flatMap(org.apache.spark.api.java.function.FlatMapFunction)">flatMap</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#flatMapToDouble(org.apache.spark.api.java.function.DoubleFlatMapFunction)">flatMapToDouble</a> , <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#flatMapToPair(org.apache.spark.api.java.function.PairFlatMapFunction)">flatMapToPair</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#fold(T,%20org.apache.spark.api.java.function.Function2)">fold</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#foreach(org.apache.spark.api.java.function.VoidFunction)">foreach</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#foreachAsync(org.apache.spark.api.java.function.VoidFunction)">foreachAsync</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#foreachPartition(org.apache.spark.api.java.function.VoidFunction)">foreachPartition</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#foreachPartitionAsync(org.apache.spark.api.java.function.VoidFunction)">foreachPartitionAsync</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#getCheckpointFile()">getCheck pointFile</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#getNumPartitions()">getNumPartitions</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#getStorageLevel()">getStorageLevel</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#glom()">glom</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#groupBy(org.apache.spark.api.java.function.Function)">groupBy</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#groupBy(org.apache.spark.api.java.function.Function,%20int)">groupBy</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#id()">id</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#isCheckpointed()">isCheckpointed</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#isEmpty()">isEmpty</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#iterator(org.apache.spark.Partition,%20org.apache.spark.TaskCo ntext)">iterator</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#keyBy(org.apache.spark.api.java.function.Function)">keyBy</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#map(org.apache.spark.api.java.function.Function)">map</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#mapPartitions(org.apache.spark.api.java.function.FlatMapFunction)">mapPartitions</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#mapPartitions(org.apache.spark.api.java.function.FlatMapFunction,%20boolean)">mapPartitions</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#mapPartitionsToDouble(org.apache.spark.api.java.function.DoubleFlatMapFunction)">mapPartitionsToDouble</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#mapPartitionsToDouble(org.apache.spark.api.java.function.DoubleFlatMapFunction,%20boolean)">mapPartitionsToDouble</a>, <a href="../../../../../org/apache/spark/ api/java/JavaRDDLike.html#mapPartitionsToPair(org.apache.spark.api.java.function.PairFlatMapFunction)">mapPartitionsToPair</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#mapPartitionsToPair(org.apache.spark.api.java.function.PairFlatMapFunction,%20boolean)">mapPartitionsToPair</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#mapPartitionsWithIndex(org.apache.spark.api.java.function.Function2,%20boolean)">mapPartitionsWithIndex</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#mapToDouble(org.apache.spark.api.java.function.DoubleFunction)">mapToDouble</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#mapToPair(org.apache.spark.api.java.function.PairFunction)">mapToPair</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#max(java.util.Comparator)">max</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#min(java.util.Comparator)">min</a>, <a href="../../.. /../../org/apache/spark/api/java/JavaRDDLike.html#name()">name</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#partitioner()">partitioner</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#partitions()">partitions</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#pipe(java.util.List)">pipe</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#pipe(java.util.List,%20java.util.Map)">pipe</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#pipe(java.util.List,%20java.util.Map,%20boolean,%20int)">pipe</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#pipe(java.util.List,%20java.util.Map,%20boolean,%20int,%20java.lang.String)">pipe</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#pipe(java.lang.String)">pipe</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#reduce(org.apache.spark.api.java.function.Function2)">reduce</ a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#saveAsObjectFile(java.lang.String)">saveAsObjectFile</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#saveAsTextFile(java.lang.String)">saveAsTextFile</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#saveAsTextFile(java.lang.String,%20java.lang.Class)">saveAsTextFile</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#take(int)">take</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#takeAsync(int)">takeAsync</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#takeOrdered(int)">takeOrdered</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#takeOrdered(int,%20java.util.Comparator)">takeOrdered</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#takeSample(boolean,%20int)">takeSample</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#takeSample(bool ean,%20int,%20long)">takeSample</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#toDebugString()">toDebugString</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#toLocalIterator()">toLocalIterator</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#top(int)">top</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#top(int,%20java.util.Comparator)">top</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#treeAggregate(U,%20org.apache.spark.api.java.function.Function2,%20org.apache.spark.api.java.function.Function2)">treeAggregate</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#treeAggregate(U,%20org.apache.spark.api.java.function.Function2,%20org.apache.spark.api.java.function.Function2,%20int)">treeAggregate</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#treeReduce(org.apache.spark.api.java.function.Function2)">treeReduce</a>, <a hre f="../../../../../org/apache/spark/api/java/JavaRDDLike.html#treeReduce(org.apache.spark.api.java.function.Function2,%20int)">treeReduce</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#zip(org.apache.spark.api.java.JavaRDDLike)">zip</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#zipPartitions(org.apache.spark.api.java.JavaRDDLike,%20org.apache.spark.api.java.function.FlatMapFunction2)">zipPartitions</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#zipWithIndex()">zipWithIndex</a>, <a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html#zipWithUniqueId()">zipWithUniqueId</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="JavaDoubleRDD(org.apache.spark.rdd.RDD)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>JavaDoubleRDD</h4> +<pre>public JavaDoubleRDD(<a href="../../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a><Object> srdd)</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="fromRDD(org.apache.spark.rdd.RDD)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>fromRDD</h4> +<pre>public static <a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a> fromRDD(<a href="../../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a><Object> rdd)</pre> +</li> +</ul> +<a name="toRDD(org.apache.spark.api.java.JavaDoubleRDD)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>toRDD</h4> +<pre>public static <a href="../../../../../org/apache/spark/rdd/RDD.html" title="class in org.apache.spark.rdd">RDD</a><Object> toRDD(<a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a> rdd)</pre> +</li> +</ul> +<a name="partitions()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>partitions</h4> +<pre>public static java.util.List<<a href="../../../../../org/apache/spark/Partition.html" title="interface in org.apache.spark">Partition</a>> partitions()</pre> +</li> +</ul> +<a name="getNumPartitions()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getNumPartitions</h4> +<pre>public static int getNumPartitions()</pre> +</li> +</ul> +<a name="partitioner()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>partitioner</h4> +<pre>public static <a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java">Optional</a><<a href="../../../../../org/apache/spark/Partitioner.html" title="class in org.apache.spark">Partitioner</a>> partitioner()</pre> +</li> +</ul> +<a name="context()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>context</h4> +<pre>public static <a href="../../../../../org/apache/spark/SparkContext.html" title="class in org.apache.spark">SparkContext</a> context()</pre> +</li> +</ul> +<a name="id()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>id</h4> +<pre>public static int id()</pre> +</li> +</ul> +<a name="getStorageLevel()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getStorageLevel</h4> +<pre>public static <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> getStorageLevel()</pre> +</li> +</ul> +<a name="iterator(org.apache.spark.Partition, org.apache.spark.TaskContext)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>iterator</h4> +<pre>public static java.util.Iterator<T> iterator(<a href="../../../../../org/apache/spark/Partition.html" title="interface in org.apache.spark">Partition</a> split, + <a href="../../../../../org/apache/spark/TaskContext.html" title="class in org.apache.spark">TaskContext</a> taskContext)</pre> +</li> +</ul> +<a name="map(org.apache.spark.api.java.function.Function)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>map</h4> +<pre>public static <R> <a href="../../../../../org/apache/spark/api/java/JavaRDD.html" title="class in org.apache.spark.api.java">JavaRDD</a><R> map(<a href="../../../../../org/apache/spark/api/java/function/Function.html" title="interface in org.apache.spark.api.java.function">Function</a><T,R> f)</pre> +</li> +</ul> +<a name="mapPartitionsWithIndex(org.apache.spark.api.java.function.Function2, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>mapPartitionsWithIndex</h4> +<pre>public static <R> <a href="../../../../../org/apache/spark/api/java/JavaRDD.html" title="class in org.apache.spark.api.java">JavaRDD</a><R> mapPartitionsWithIndex(<a href="../../../../../org/apache/spark/api/java/function/Function2.html" title="interface in org.apache.spark.api.java.function">Function2</a><Integer,java.util.Iterator<T>,java.util.Iterator<R>> f, + boolean preservesPartitioning)</pre> +</li> +</ul> +<a name="mapToDouble(org.apache.spark.api.java.function.DoubleFunction)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>mapToDouble</h4> +<pre>public static <R> <a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a> mapToDouble(<a href="../../../../../org/apache/spark/api/java/function/DoubleFunction.html" title="interface in org.apache.spark.api.java.function">DoubleFunction</a><T> f)</pre> +</li> +</ul> +<a name="mapToPair(org.apache.spark.api.java.function.PairFunction)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>mapToPair</h4> +<pre>public static <K2,V2> <a href="../../../../../org/apache/spark/api/java/JavaPairRDD.html" title="class in org.apache.spark.api.java">JavaPairRDD</a><K2,V2> mapToPair(<a href="../../../../../org/apache/spark/api/java/function/PairFunction.html" title="interface in org.apache.spark.api.java.function">PairFunction</a><T,K2,V2> f)</pre> +</li> +</ul> +<a name="flatMap(org.apache.spark.api.java.function.FlatMapFunction)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>flatMap</h4> +<pre>public static <U> <a href="../../../../../org/apache/spark/api/java/JavaRDD.html" title="class in org.apache.spark.api.java">JavaRDD</a><U> flatMap(<a href="../../../../../org/apache/spark/api/java/function/FlatMapFunction.html" title="interface in org.apache.spark.api.java.function">FlatMapFunction</a><T,U> f)</pre> +</li> +</ul> +<a name="flatMapToDouble(org.apache.spark.api.java.function.DoubleFlatMapFunction)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>flatMapToDouble</h4> +<pre>public static <a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a> flatMapToDouble(<a href="../../../../../org/apache/spark/api/java/function/DoubleFlatMapFunction.html" title="interface in org.apache.spark.api.java.function">DoubleFlatMapFunction</a><T> f)</pre> +</li> +</ul> +<a name="flatMapToPair(org.apache.spark.api.java.function.PairFlatMapFunction)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>flatMapToPair</h4> +<pre>public static <K2,V2> <a href="../../../../../org/apache/spark/api/java/JavaPairRDD.html" title="class in org.apache.spark.api.java">JavaPairRDD</a><K2,V2> flatMapToPair(<a href="../../../../../org/apache/spark/api/java/function/PairFlatMapFunction.html" title="interface in org.apache.spark.api.java.function">PairFlatMapFunction</a><T,K2,V2> f)</pre> +</li> +</ul> +<a name="mapPartitions(org.apache.spark.api.java.function.FlatMapFunction)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>mapPartitions</h4> +<pre>public static <U> <a href="../../../../../org/apache/spark/api/java/JavaRDD.html" title="class in org.apache.spark.api.java">JavaRDD</a><U> mapPartitions(<a href="../../../../../org/apache/spark/api/java/function/FlatMapFunction.html" title="interface in org.apache.spark.api.java.function">FlatMapFunction</a><java.util.Iterator<T>,U> f)</pre> +</li> +</ul> +<a name="mapPartitions(org.apache.spark.api.java.function.FlatMapFunction, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>mapPartitions</h4> +<pre>public static <U> <a href="../../../../../org/apache/spark/api/java/JavaRDD.html" title="class in org.apache.spark.api.java">JavaRDD</a><U> mapPartitions(<a href="../../../../../org/apache/spark/api/java/function/FlatMapFunction.html" title="interface in org.apache.spark.api.java.function">FlatMapFunction</a><java.util.Iterator<T>,U> f, + boolean preservesPartitioning)</pre> +</li> +</ul> +<a name="mapPartitionsToDouble(org.apache.spark.api.java.function.DoubleFlatMapFunction)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>mapPartitionsToDouble</h4> +<pre>public static <a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a> mapPartitionsToDouble(<a href="../../../../../org/apache/spark/api/java/function/DoubleFlatMapFunction.html" title="interface in org.apache.spark.api.java.function">DoubleFlatMapFunction</a><java.util.Iterator<T>> f)</pre> +</li> +</ul> +<a name="mapPartitionsToPair(org.apache.spark.api.java.function.PairFlatMapFunction)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>mapPartitionsToPair</h4> +<pre>public static <K2,V2> <a href="../../../../../org/apache/spark/api/java/JavaPairRDD.html" title="class in org.apache.spark.api.java">JavaPairRDD</a><K2,V2> mapPartitionsToPair(<a href="../../../../../org/apache/spark/api/java/function/PairFlatMapFunction.html" title="interface in org.apache.spark.api.java.function">PairFlatMapFunction</a><java.util.Iterator<T>,K2,V2> f)</pre> +</li> +</ul> +<a name="mapPartitionsToDouble(org.apache.spark.api.java.function.DoubleFlatMapFunction, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>mapPartitionsToDouble</h4> +<pre>public static <a href="../../../../../org/apache/spark/api/java/JavaDoubleRDD.html" title="class in org.apache.spark.api.java">JavaDoubleRDD</a> mapPartitionsToDouble(<a href="../../../../../org/apache/spark/api/java/function/DoubleFlatMapFunction.html" title="interface in org.apache.spark.api.java.function">DoubleFlatMapFunction</a><java.util.Iterator<T>> f, + boolean preservesPartitioning)</pre> +</li> +</ul> +<a name="mapPartitionsToPair(org.apache.spark.api.java.function.PairFlatMapFunction, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>mapPartitionsToPair</h4> +<pre>public static <K2,V2> <a href="../../../../../org/apache/spark/api/java/JavaPairRDD.html" title="class in org.apache.spark.api.java">JavaPairRDD</a><K2,V2> mapPartitionsToPair(<a href="../../../../../org/apache/spark/api/java/function/PairFlatMapFunction.html" title="interface in org.apache.spark.api.java.function">PairFlatMapFunction</a><java.util.Iterator<T>,K2,V2> f, + boolean preservesPartitioning)</pre> +</li> +</ul> +<a name="foreachPartition(org.apache.spark.api.java.function.VoidFunction)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>foreachPartition</h4> +<pre>public static void foreachPartition(<a href="../../../../../org/apache/spark/api/java/function/VoidFunction.html" title="interface in org.apache.spark.api.java.function">VoidFunction</a><java.util.Iterator<T>> f)</pre> +</li> +</ul> +<a name="glom()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>glom</h4> +<pre>public static <a href="../../../../../org/apache/spark/api/java/JavaRDD.html" title="class in org.apache.spark.api.java">JavaRDD</a><java.util.List<T>> glom()</pre> +</li> +</ul> +<a name="cartesian(org.apache.spark.api.java.JavaRDDLike)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>cartesian</h4> +<pre>public static <U> <a href="../../../../../org/apache/spark/api/java/JavaPairRDD.html" title="class in org.apache.spark.api.java">JavaPairRDD</a><T,U> cartesian(<a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html" title="interface in org.apache.spark.api.java">JavaRDDLike</a><U,?> other)</pre> +</li> +</ul> +<a name="groupBy(org.apache.spark.api.java.function.Function)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>groupBy</h4> +<pre>public static <U> <a href="../../../../../org/apache/spark/api/java/JavaPairRDD.html" title="class in org.apache.spark.api.java">JavaPairRDD</a><U,Iterable<T>> groupBy(<a href="../../../../../org/apache/spark/api/java/function/Function.html" title="interface in org.apache.spark.api.java.function">Function</a><T,U> f)</pre> +</li> +</ul> +<a name="groupBy(org.apache.spark.api.java.function.Function, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>groupBy</h4> +<pre>public static <U> <a href="../../../../../org/apache/spark/api/java/JavaPairRDD.html" title="class in org.apache.spark.api.java">JavaPairRDD</a><U,Iterable<T>> groupBy(<a href="../../../../../org/apache/spark/api/java/function/Function.html" title="interface in org.apache.spark.api.java.function">Function</a><T,U> f, + int numPartitions)</pre> +</li> +</ul> +<a name="pipe(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>pipe</h4> +<pre>public static <a href="../../../../../org/apache/spark/api/java/JavaRDD.html" title="class in org.apache.spark.api.java">JavaRDD</a><String> pipe(String command)</pre> +</li> +</ul> +<a name="pipe(java.util.List)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>pipe</h4> +<pre>public static <a href="../../../../../org/apache/spark/api/java/JavaRDD.html" title="class in org.apache.spark.api.java">JavaRDD</a><String> pipe(java.util.List<String> command)</pre> +</li> +</ul> +<a name="pipe(java.util.List, java.util.Map)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>pipe</h4> +<pre>public static <a href="../../../../../org/apache/spark/api/java/JavaRDD.html" title="class in org.apache.spark.api.java">JavaRDD</a><String> pipe(java.util.List<String> command, + java.util.Map<String,String> env)</pre> +</li> +</ul> +<a name="pipe(java.util.List, java.util.Map, boolean, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>pipe</h4> +<pre>public static <a href="../../../../../org/apache/spark/api/java/JavaRDD.html" title="class in org.apache.spark.api.java">JavaRDD</a><String> pipe(java.util.List<String> command, + java.util.Map<String,String> env, + boolean separateWorkingDir, + int bufferSize)</pre> +</li> +</ul> +<a name="pipe(java.util.List, java.util.Map, boolean, int, java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>pipe</h4> +<pre>public static <a href="../../../../../org/apache/spark/api/java/JavaRDD.html" title="class in org.apache.spark.api.java">JavaRDD</a><String> pipe(java.util.List<String> command, + java.util.Map<String,String> env, + boolean separateWorkingDir, + int bufferSize, + String encoding)</pre> +</li> +</ul> +<a name="zip(org.apache.spark.api.java.JavaRDDLike)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>zip</h4> +<pre>public static <U> <a href="../../../../../org/apache/spark/api/java/JavaPairRDD.html" title="class in org.apache.spark.api.java">JavaPairRDD</a><T,U> zip(<a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html" title="interface in org.apache.spark.api.java">JavaRDDLike</a><U,?> other)</pre> +</li> +</ul> +<a name="zipPartitions(org.apache.spark.api.java.JavaRDDLike, org.apache.spark.api.java.function.FlatMapFunction2)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>zipPartitions</h4> +<pre>public static <U,V> <a href="../../../../../org/apache/spark/api/java/JavaRDD.html" title="class in org.apache.spark.api.java">JavaRDD</a><V> zipPartitions(<a href="../../../../../org/apache/spark/api/java/JavaRDDLike.html" title="interface in org.apache.spark.api.java">JavaRDDLike</a><U,?> other, + <a href="../../../../../org/apache/spark/api/java/function/FlatMapFunction2.html" title="interface in org.apache.spark.api.java.function">FlatMapFunction2</a><java.util.Iterator<T>,java.util.Iterator<U>,V> f)</pre> +</li> +</ul> +<a name="zipWithUniqueId()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>zipWithUniqueId</h4> +<pre>public static <a href="../../../../../org/apache/spark/api/ja
<TRUNCATED> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org