http://git-wip-us.apache.org/repos/asf/spark-website/blob/e1001463/site/docs/2.2.2/api/java/org/apache/index.html ---------------------------------------------------------------------- diff --git a/site/docs/2.2.2/api/java/org/apache/index.html b/site/docs/2.2.2/api/java/org/apache/index.html new file mode 100644 index 0000000..ac53c53 --- /dev/null +++ b/site/docs/2.2.2/api/java/org/apache/index.html @@ -0,0 +1,8 @@ +<html><head><title>dist - Revision 27912: /dev/spark/v2.2.2-rc2-docs/_site/api/java/org/apache</title></head> +<body> + <h2>dist - Revision 27912: /dev/spark/v2.2.2-rc2-docs/_site/api/java/org/apache</h2> + <ul> + <li><a href="../">..</a></li> + <li><a href="spark/">spark/</a></li> + </ul> +</body></html> \ No newline at end of file
http://git-wip-us.apache.org/repos/asf/spark-website/blob/e1001463/site/docs/2.2.2/api/java/org/apache/spark/Accumulable.html ---------------------------------------------------------------------- diff --git a/site/docs/2.2.2/api/java/org/apache/spark/Accumulable.html b/site/docs/2.2.2/api/java/org/apache/spark/Accumulable.html new file mode 100644 index 0000000..37c8d85 --- /dev/null +++ b/site/docs/2.2.2/api/java/org/apache/spark/Accumulable.html @@ -0,0 +1,489 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (1.8.0_171) on Wed Jun 27 17:36:10 UTC 2018 --> +<title>Accumulable (Spark 2.2.2 JavaDoc)</title> +<meta name="date" content="2018-06-27"> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Accumulable (Spark 2.2.2 JavaDoc)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":42,"i1":42,"i2":42,"i3":42,"i4":42,"i5":42,"i6":42,"i7":42,"i8":42}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="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/AccumulableParam.html" title="interface in org.apache.spark"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/spark/Accumulable.html" target="_top">Frames</a></li> +<li><a href="Accumulable.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</div> +<h2 title="Class Accumulable" class="title">Class Accumulable<R,T></h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>Object</li> +<li> +<ul class="inheritance"> +<li>org.apache.spark.Accumulable<R,T></li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd>java.io.Serializable</dd> +</dl> +<dl> +<dt>Direct Known Subclasses:</dt> +<dd><a href="../../../org/apache/spark/Accumulator.html" title="class in org.apache.spark">Accumulator</a></dd> +</dl> +<hr> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> +<div class="block"><span class="deprecationComment">use AccumulatorV2. Since 2.0.0.</span></div> +</div> +<br> +<pre>public class <span class="typeNameLabel">Accumulable<R,T></span> +extends Object +implements java.io.Serializable</pre> +<div class="block">A data type that can be accumulated, i.e. has a commutative and associative "add" operation, + but where the result type, <code>R</code>, may be different from the element type being added, <code>T</code>. + <p> + You must define how to add data, and how to merge two of these together. For some data types, + such as a counter, these might be the same operation. In that case, you can use the simpler + <a href="../../../org/apache/spark/Accumulator.html" title="class in org.apache.spark"><code>Accumulator</code></a>. They won't always be the same, though -- e.g., imagine you are + accumulating a set. You will add items to the set, and you will union two sets together. + <p> + Operations are not thread-safe. + <p> + param: id ID of this accumulator; for internal use only. + param: initialValue initial value of accumulator + param: param helper object defining how to add elements of type <code>R</code> and <code>T</code> + param: name human-readable name for use in Spark's web UI + param: countFailedValues whether to accumulate values from failed tasks. This is set to true + for system and time metrics like serialization time or bytes spilled, + and false for things with absolute values like number of input rows. + This should be used for internal metrics only.</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../serialized-form.html#org.apache.spark.Accumulable">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="memberSummary" 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><span class="memberNameLink"><a href="../../../org/apache/spark/Accumulable.html#Accumulable-R-org.apache.spark.AccumulableParam-">Accumulable</a></span>(<a href="../../../org/apache/spark/Accumulable.html" title="type parameter in Accumulable">R</a> initialValue, + <a href="../../../org/apache/spark/AccumulableParam.html" title="interface in org.apache.spark">AccumulableParam</a><<a href="../../../org/apache/spark/Accumulable.html" title="type parameter in Accumulable">R</a>,<a href="../../../org/apache/spark/Accumulable.html" title="type parameter in Accumulable">T</a>> param)</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/spark/Accumulable.html#add-T-">add</a></span>(<a href="../../../org/apache/spark/Accumulable.html" title="type parameter in Accumulable">T</a> term)</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +<div class="block">Add more data to this accumulator / accumulable</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/spark/Accumulable.html#id--">id</a></span>()</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/spark/Accumulable.html" title="type parameter in Accumulable">R</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/spark/Accumulable.html#localValue--">localValue</a></span>()</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +<div class="block">Get the current value of this accumulator from within a task.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/spark/Accumulable.html#merge-R-">merge</a></span>(<a href="../../../org/apache/spark/Accumulable.html" title="type parameter in Accumulable">R</a> term)</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +<div class="block">Merge two accumulable objects together</div> +</td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code>scala.Option<String></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/spark/Accumulable.html#name--">name</a></span>()</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/spark/Accumulable.html#setValue-R-">setValue</a></span>(<a href="../../../org/apache/spark/Accumulable.html" title="type parameter in Accumulable">R</a> newValue)</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +<div class="block">Set the accumulator's value.</div> +</td> +</tr> +<tr id="i6" class="altColor"> +<td class="colFirst"><code>String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/spark/Accumulable.html#toString--">toString</a></span>()</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> +</tr> +<tr id="i7" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/spark/Accumulable.html" title="type parameter in Accumulable">R</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/spark/Accumulable.html#value--">value</a></span>()</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +<div class="block">Access the accumulator's current value; only allowed on driver.</div> +</td> +</tr> +<tr id="i8" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/spark/Accumulable.html" title="type parameter in Accumulable">R</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/spark/Accumulable.html#zero--">zero</a></span>()</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </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, wait, wait, wait</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="Accumulable-java.lang.Object-org.apache.spark.AccumulableParam-"> +<!-- --> +</a><a name="Accumulable-R-org.apache.spark.AccumulableParam-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>Accumulable</h4> +<pre>public Accumulable(<a href="../../../org/apache/spark/Accumulable.html" title="type parameter in Accumulable">R</a> initialValue, + <a href="../../../org/apache/spark/AccumulableParam.html" title="interface in org.apache.spark">AccumulableParam</a><<a href="../../../org/apache/spark/Accumulable.html" title="type parameter in Accumulable">R</a>,<a href="../../../org/apache/spark/Accumulable.html" title="type parameter in Accumulable">T</a>> param)</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="id--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>id</h4> +<pre>public long id()</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +</li> +</ul> +<a name="name--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>name</h4> +<pre>public scala.Option<String> name()</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +</li> +</ul> +<a name="zero--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>zero</h4> +<pre>public <a href="../../../org/apache/spark/Accumulable.html" title="type parameter in Accumulable">R</a> zero()</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +</li> +</ul> +<a name="add-java.lang.Object-"> +<!-- --> +</a><a name="add-T-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>add</h4> +<pre>public void add(<a href="../../../org/apache/spark/Accumulable.html" title="type parameter in Accumulable">T</a> term)</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +<div class="block">Add more data to this accumulator / accumulable</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>term</code> - the data to add</dd> +</dl> +</li> +</ul> +<a name="merge-java.lang.Object-"> +<!-- --> +</a><a name="merge-R-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>merge</h4> +<pre>public void merge(<a href="../../../org/apache/spark/Accumulable.html" title="type parameter in Accumulable">R</a> term)</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +<div class="block">Merge two accumulable objects together + <p> + Normally, a user will not want to use this version, but will instead call <code>add</code>.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>term</code> - the other <code>R</code> that will get merged with this</dd> +</dl> +</li> +</ul> +<a name="value--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>value</h4> +<pre>public <a href="../../../org/apache/spark/Accumulable.html" title="type parameter in Accumulable">R</a> value()</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +<div class="block">Access the accumulator's current value; only allowed on driver.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>(undocumented)</dd> +</dl> +</li> +</ul> +<a name="localValue--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>localValue</h4> +<pre>public <a href="../../../org/apache/spark/Accumulable.html" title="type parameter in Accumulable">R</a> localValue()</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +<div class="block">Get the current value of this accumulator from within a task. + <p> + This is NOT the global value of the accumulator. To get the global value after a + completed operation on the dataset, call <code>value</code>. + <p> + The typical use of this method is to directly mutate the local value, eg., to add + an element to a Set.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>(undocumented)</dd> +</dl> +</li> +</ul> +<a name="setValue-java.lang.Object-"> +<!-- --> +</a><a name="setValue-R-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setValue</h4> +<pre>public void setValue(<a href="../../../org/apache/spark/Accumulable.html" title="type parameter in Accumulable">R</a> newValue)</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +<div class="block">Set the accumulator's value. For internal use only.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>newValue</code> - (undocumented)</dd> +</dl> +</li> +</ul> +<a name="toString--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>toString</h4> +<pre>public String toString()</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +<dl> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code>toString</code> in class <code>Object</code></dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="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/AccumulableParam.html" title="interface in org.apache.spark"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/spark/Accumulable.html" target="_top">Frames</a></li> +<li><a href="Accumulable.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> http://git-wip-us.apache.org/repos/asf/spark-website/blob/e1001463/site/docs/2.2.2/api/java/org/apache/spark/AccumulableParam.html ---------------------------------------------------------------------- diff --git a/site/docs/2.2.2/api/java/org/apache/spark/AccumulableParam.html b/site/docs/2.2.2/api/java/org/apache/spark/AccumulableParam.html new file mode 100644 index 0000000..41a6d36 --- /dev/null +++ b/site/docs/2.2.2/api/java/org/apache/spark/AccumulableParam.html @@ -0,0 +1,314 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (1.8.0_171) on Wed Jun 27 17:36:10 UTC 2018 --> +<title>AccumulableParam (Spark 2.2.2 JavaDoc)</title> +<meta name="date" content="2018-06-27"> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="AccumulableParam (Spark 2.2.2 JavaDoc)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":38,"i1":38,"i2":38}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],32:["t6","Deprecated Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="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/Accumulable.html" title="class in org.apache.spark"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/Accumulator.html" title="class in org.apache.spark"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/spark/AccumulableParam.html" target="_top">Frames</a></li> +<li><a href="AccumulableParam.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>Constr | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </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</div> +<h2 title="Interface AccumulableParam" class="title">Interface AccumulableParam<R,T></h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Superinterfaces:</dt> +<dd>java.io.Serializable</dd> +</dl> +<dl> +<dt>All Known Subinterfaces:</dt> +<dd><a href="../../../org/apache/spark/AccumulatorParam.html" title="interface in org.apache.spark">AccumulatorParam</a><T></dd> +</dl> +<dl> +<dt>All Known Implementing Classes:</dt> +<dd><a href="../../../org/apache/spark/AccumulatorParam.DoubleAccumulatorParam$.html" title="class in org.apache.spark">AccumulatorParam.DoubleAccumulatorParam$</a>, <a href="../../../org/apache/spark/AccumulatorParam.FloatAccumulatorParam$.html" title="class in org.apache.spark">AccumulatorParam.FloatAccumulatorParam$</a>, <a href="../../../org/apache/spark/AccumulatorParam.IntAccumulatorParam$.html" title="class in org.apache.spark">AccumulatorParam.IntAccumulatorParam$</a>, <a href="../../../org/apache/spark/AccumulatorParam.LongAccumulatorParam$.html" title="class in org.apache.spark">AccumulatorParam.LongAccumulatorParam$</a>, <a href="../../../org/apache/spark/AccumulatorParam.StringAccumulatorParam$.html" title="class in org.apache.spark">AccumulatorParam.StringAccumulatorParam$</a></dd> +</dl> +<hr> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> +<div class="block"><span class="deprecationComment">use AccumulatorV2. Since 2.0.0.</span></div> +</div> +<br> +<pre>public interface <span class="typeNameLabel">AccumulableParam<R,T></span> +extends java.io.Serializable</pre> +<div class="block">Helper object defining how to accumulate values of a particular type. An implicit + AccumulableParam needs to be available when you create <a href="../../../org/apache/spark/Accumulable.html" title="class in org.apache.spark"><code>Accumulable</code></a>s of a specific type. + <p></div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/spark/AccumulableParam.html" title="type parameter in AccumulableParam">R</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/spark/AccumulableParam.html#addAccumulator-R-T-">addAccumulator</a></span>(<a href="../../../org/apache/spark/AccumulableParam.html" title="type parameter in AccumulableParam">R</a> r, + <a href="../../../org/apache/spark/AccumulableParam.html" title="type parameter in AccumulableParam">T</a> t)</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +<div class="block">Add additional data to the accumulator value.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/spark/AccumulableParam.html" title="type parameter in AccumulableParam">R</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/spark/AccumulableParam.html#addInPlace-R-R-">addInPlace</a></span>(<a href="../../../org/apache/spark/AccumulableParam.html" title="type parameter in AccumulableParam">R</a> r1, + <a href="../../../org/apache/spark/AccumulableParam.html" title="type parameter in AccumulableParam">R</a> r2)</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +<div class="block">Merge two accumulated values together.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/spark/AccumulableParam.html" title="type parameter in AccumulableParam">R</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/spark/AccumulableParam.html#zero-R-">zero</a></span>(<a href="../../../org/apache/spark/AccumulableParam.html" title="type parameter in AccumulableParam">R</a> initialValue)</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +<div class="block">Return the "zero" (identity) value for an accumulator type, given its initial value.</div> +</td> +</tr> +</table> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="addAccumulator-java.lang.Object-java.lang.Object-"> +<!-- --> +</a><a name="addAccumulator-R-T-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addAccumulator</h4> +<pre><a href="../../../org/apache/spark/AccumulableParam.html" title="type parameter in AccumulableParam">R</a> addAccumulator(<a href="../../../org/apache/spark/AccumulableParam.html" title="type parameter in AccumulableParam">R</a> r, + <a href="../../../org/apache/spark/AccumulableParam.html" title="type parameter in AccumulableParam">T</a> t)</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +<div class="block">Add additional data to the accumulator value. Is allowed to modify and return <code>r</code> + for efficiency (to avoid allocating objects). + <p></div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>r</code> - the current value of the accumulator</dd> +<dd><code>t</code> - the data to be added to the accumulator</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the new value of the accumulator</dd> +</dl> +</li> +</ul> +<a name="addInPlace-java.lang.Object-java.lang.Object-"> +<!-- --> +</a><a name="addInPlace-R-R-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addInPlace</h4> +<pre><a href="../../../org/apache/spark/AccumulableParam.html" title="type parameter in AccumulableParam">R</a> addInPlace(<a href="../../../org/apache/spark/AccumulableParam.html" title="type parameter in AccumulableParam">R</a> r1, + <a href="../../../org/apache/spark/AccumulableParam.html" title="type parameter in AccumulableParam">R</a> r2)</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +<div class="block">Merge two accumulated values together. Is allowed to modify and return the first value + for efficiency (to avoid allocating objects). + <p></div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>r1</code> - one set of accumulated data</dd> +<dd><code>r2</code> - another set of accumulated data</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>both data sets merged together</dd> +</dl> +</li> +</ul> +<a name="zero-java.lang.Object-"> +<!-- --> +</a><a name="zero-R-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>zero</h4> +<pre><a href="../../../org/apache/spark/AccumulableParam.html" title="type parameter in AccumulableParam">R</a> zero(<a href="../../../org/apache/spark/AccumulableParam.html" title="type parameter in AccumulableParam">R</a> initialValue)</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +<div class="block">Return the "zero" (identity) value for an accumulator type, given its initial value. For + example, if R was a vector of N dimensions, this would return a vector of N zeroes.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>initialValue</code> - (undocumented)</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>(undocumented)</dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="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/Accumulable.html" title="class in org.apache.spark"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/Accumulator.html" title="class in org.apache.spark"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/spark/AccumulableParam.html" target="_top">Frames</a></li> +<li><a href="AccumulableParam.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>Constr | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </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> http://git-wip-us.apache.org/repos/asf/spark-website/blob/e1001463/site/docs/2.2.2/api/java/org/apache/spark/Accumulator.html ---------------------------------------------------------------------- diff --git a/site/docs/2.2.2/api/java/org/apache/spark/Accumulator.html b/site/docs/2.2.2/api/java/org/apache/spark/Accumulator.html new file mode 100644 index 0000000..fe46cbb --- /dev/null +++ b/site/docs/2.2.2/api/java/org/apache/spark/Accumulator.html @@ -0,0 +1,466 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (1.8.0_171) on Wed Jun 27 17:36:10 UTC 2018 --> +<title>Accumulator (Spark 2.2.2 JavaDoc)</title> +<meta name="date" content="2018-06-27"> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Accumulator (Spark 2.2.2 JavaDoc)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":41,"i1":41,"i2":41,"i3":41,"i4":41,"i5":41,"i6":41,"i7":41,"i8":41,"i9":41,"i10":41,"i11":41}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="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/AccumulableParam.html" title="interface in org.apache.spark"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/AccumulatorParam.html" title="interface in org.apache.spark"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/spark/Accumulator.html" target="_top">Frames</a></li> +<li><a href="Accumulator.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>Constr | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </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</div> +<h2 title="Class Accumulator" class="title">Class Accumulator<T></h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>Object</li> +<li> +<ul class="inheritance"> +<li><a href="../../../org/apache/spark/Accumulable.html" title="class in org.apache.spark">org.apache.spark.Accumulable</a><T,T></li> +<li> +<ul class="inheritance"> +<li>org.apache.spark.Accumulator<T></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</dd> +</dl> +<hr> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> +<div class="block"><span class="deprecationComment">use AccumulatorV2. Since 2.0.0.</span></div> +</div> +<br> +<pre>public class <span class="typeNameLabel">Accumulator<T></span> +extends <a href="../../../org/apache/spark/Accumulable.html" title="class in org.apache.spark">Accumulable</a><T,T></pre> +<div class="block">A simpler value of <a href="../../../org/apache/spark/Accumulable.html" title="class in org.apache.spark"><code>Accumulable</code></a> where the result type being accumulated is the same + as the types of elements being merged, i.e. variables that are only "added" to through an + associative and commutative operation and can therefore be efficiently supported in parallel. + They can be used to implement counters (as in MapReduce) or sums. Spark natively supports + accumulators of numeric value types, and programmers can add support for new types. + <p> + An accumulator is created from an initial value <code>v</code> by calling <code>SparkContext.accumulator</code>. + Tasks running on the cluster can then add to it using the <code>+=</code> operator. + However, they cannot read its value. Only the driver program can read the accumulator's value, + using its <a href="../../../org/apache/spark/Accumulator.html#value--"><code>value()</code></a> method. + <p> + The interpreter session below shows an accumulator being used to add up the elements of an array: + <p> + <pre><code> + scala> val accum = sc.accumulator(0) + accum: org.apache.spark.Accumulator[Int] = 0 + + scala> sc.parallelize(Array(1, 2, 3, 4)).foreach(x => accum += x) + ... + 10/09/29 18:41:08 INFO SparkContext: Tasks finished in 0.317106 s + + scala> accum.value + res2: Int = 10 + </code></pre> + <p> + param: initialValue initial value of accumulator + param: param helper object defining how to add elements of type <code>T</code> + param: name human-readable name associated with this accumulator + param: countFailedValues whether to accumulate values from failed tasks</div> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../serialized-form.html#org.apache.spark.Accumulator">Serialized Form</a></dd> +</dl> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/spark/Accumulator.html#Z:Z:Dplus:Deq-T-">$plus$eq</a></span>(T term)</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/spark/Accumulator.html#Z:Z:Dplus:Dplus:Deq-R-">$plus$plus$eq</a></span>(R term)</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/spark/Accumulator.html#add-T-">add</a></span>(T term)</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>static long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/spark/Accumulator.html#id--">id</a></span>()</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code>static R</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/spark/Accumulator.html#localValue--">localValue</a></span>()</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/spark/Accumulator.html#merge-R-">merge</a></span>(R term)</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> +</tr> +<tr id="i6" class="altColor"> +<td class="colFirst"><code>static scala.Option<String></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/spark/Accumulator.html#name--">name</a></span>()</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> +</tr> +<tr id="i7" class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/spark/Accumulator.html#setValue-R-">setValue</a></span>(R newValue)</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> +</tr> +<tr id="i8" class="altColor"> +<td class="colFirst"><code>static String</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/spark/Accumulator.html#toString--">toString</a></span>()</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> +</tr> +<tr id="i9" class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/spark/Accumulator.html#value_:Deq-R-">value_$eq</a></span>(R newValue)</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> +</tr> +<tr id="i10" class="altColor"> +<td class="colFirst"><code>static R</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/spark/Accumulator.html#value--">value</a></span>()</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> +</tr> +<tr id="i11" class="rowColor"> +<td class="colFirst"><code>static R</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/spark/Accumulator.html#zero--">zero</a></span>()</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.org.apache.spark.Accumulable"> +<!-- --> +</a> +<h3>Methods inherited from class org.apache.spark.<a href="../../../org/apache/spark/Accumulable.html" title="class in org.apache.spark">Accumulable</a></h3> +<code><a href="../../../org/apache/spark/Accumulable.html#add-T-">add</a>, <a href="../../../org/apache/spark/Accumulable.html#id--">id</a>, <a href="../../../org/apache/spark/Accumulable.html#localValue--">localValue</a>, <a href="../../../org/apache/spark/Accumulable.html#merge-R-">merge</a>, <a href="../../../org/apache/spark/Accumulable.html#name--">name</a>, <a href="../../../org/apache/spark/Accumulable.html#setValue-R-">setValue</a>, <a href="../../../org/apache/spark/Accumulable.html#toString--">toString</a>, <a href="../../../org/apache/spark/Accumulable.html#value--">value</a>, <a href="../../../org/apache/spark/Accumulable.html#zero--">zero</a></code></li> +</ul> +<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, wait, wait, wait</code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="id--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>id</h4> +<pre>public static long id()</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +</li> +</ul> +<a name="name--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>name</h4> +<pre>public static scala.Option<String> name()</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +</li> +</ul> +<a name="zero--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>zero</h4> +<pre>public static R zero()</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +</li> +</ul> +<a name="Z:Z:Dplus:Deq-T-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>$plus$eq</h4> +<pre>public static void $plus$eq(T term)</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +</li> +</ul> +<a name="add-T-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>add</h4> +<pre>public static void add(T term)</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +</li> +</ul> +<a name="Z:Z:Dplus:Dplus:Deq-R-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>$plus$plus$eq</h4> +<pre>public static void $plus$plus$eq(R term)</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +</li> +</ul> +<a name="merge-R-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>merge</h4> +<pre>public static void merge(R term)</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +</li> +</ul> +<a name="value--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>value</h4> +<pre>public static R value()</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +</li> +</ul> +<a name="localValue--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>localValue</h4> +<pre>public static R localValue()</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +</li> +</ul> +<a name="value_:Deq-R-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>value_$eq</h4> +<pre>public static void value_$eq(R newValue)</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +</li> +</ul> +<a name="setValue-R-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setValue</h4> +<pre>public static void setValue(R newValue)</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +</li> +</ul> +<a name="toString--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>toString</h4> +<pre>public static String toString()</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="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/AccumulableParam.html" title="interface in org.apache.spark"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/AccumulatorParam.html" title="interface in org.apache.spark"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/spark/Accumulator.html" target="_top">Frames</a></li> +<li><a href="Accumulator.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>Constr | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </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> http://git-wip-us.apache.org/repos/asf/spark-website/blob/e1001463/site/docs/2.2.2/api/java/org/apache/spark/AccumulatorParam.DoubleAccumulatorParam$.html ---------------------------------------------------------------------- diff --git a/site/docs/2.2.2/api/java/org/apache/spark/AccumulatorParam.DoubleAccumulatorParam$.html b/site/docs/2.2.2/api/java/org/apache/spark/AccumulatorParam.DoubleAccumulatorParam$.html new file mode 100644 index 0000000..4911ea3 --- /dev/null +++ b/site/docs/2.2.2/api/java/org/apache/spark/AccumulatorParam.DoubleAccumulatorParam$.html @@ -0,0 +1,379 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (1.8.0_171) on Wed Jun 27 17:36:10 UTC 2018 --> +<title>AccumulatorParam.DoubleAccumulatorParam$ (Spark 2.2.2 JavaDoc)</title> +<meta name="date" content="2018-06-27"> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="AccumulatorParam.DoubleAccumulatorParam$ (Spark 2.2.2 JavaDoc)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":42,"i1":42}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="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/AccumulatorParam.html" title="interface in org.apache.spark"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/AccumulatorParam.FloatAccumulatorParam$.html" title="class in org.apache.spark"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/spark/AccumulatorParam.DoubleAccumulatorParam$.html" target="_top">Frames</a></li> +<li><a href="AccumulatorParam.DoubleAccumulatorParam$.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><a href="#field.summary">Field</a> | </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><a href="#field.detail">Field</a> | </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</div> +<h2 title="Class AccumulatorParam.DoubleAccumulatorParam$" class="title">Class AccumulatorParam.DoubleAccumulatorParam$</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>Object</li> +<li> +<ul class="inheritance"> +<li>org.apache.spark.AccumulatorParam.DoubleAccumulatorParam$</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/AccumulableParam.html" title="interface in org.apache.spark">AccumulableParam</a><Object,Object>, <a href="../../../org/apache/spark/AccumulatorParam.html" title="interface in org.apache.spark">AccumulatorParam</a><Object></dd> +</dl> +<dl> +<dt>Enclosing interface:</dt> +<dd><a href="../../../org/apache/spark/AccumulatorParam.html" title="interface in org.apache.spark">AccumulatorParam</a><<a href="../../../org/apache/spark/AccumulatorParam.html" title="type parameter in AccumulatorParam">T</a>></dd> +</dl> +<hr> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> +<div class="block"><span class="deprecationComment">use AccumulatorV2. Since 2.0.0.</span></div> +</div> +<br> +<pre>public static class <span class="typeNameLabel">AccumulatorParam.DoubleAccumulatorParam$</span> +extends Object +implements <a href="../../../org/apache/spark/AccumulatorParam.html" title="interface in org.apache.spark">AccumulatorParam</a><Object></pre> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../serialized-form.html#org.apache.spark.AccumulatorParam.DoubleAccumulatorParam$">Serialized Form</a></dd> +</dl> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== NESTED CLASS SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="nested.class.summary"> +<!-- --> +</a> +<h3>Nested Class Summary</h3> +<ul class="blockList"> +<li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.spark.AccumulatorParam"> +<!-- --> +</a> +<h3>Nested classes/interfaces inherited from interface org.apache.spark.<a href="../../../org/apache/spark/AccumulatorParam.html" title="interface in org.apache.spark">AccumulatorParam</a></h3> +<code><a href="../../../org/apache/spark/AccumulatorParam.DoubleAccumulatorParam$.html" title="class in org.apache.spark">AccumulatorParam.DoubleAccumulatorParam$</a>, <a href="../../../org/apache/spark/AccumulatorParam.FloatAccumulatorParam$.html" title="class in org.apache.spark">AccumulatorParam.FloatAccumulatorParam$</a>, <a href="../../../org/apache/spark/AccumulatorParam.IntAccumulatorParam$.html" title="class in org.apache.spark">AccumulatorParam.IntAccumulatorParam$</a>, <a href="../../../org/apache/spark/AccumulatorParam.LongAccumulatorParam$.html" title="class in org.apache.spark">AccumulatorParam.LongAccumulatorParam$</a>, <a href="../../../org/apache/spark/AccumulatorParam.StringAccumulatorParam$.html" title="class in org.apache.spark">AccumulatorParam.StringAccumulatorParam$</a></code></li> +</ul> +</li> +</ul> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../org/apache/spark/AccumulatorParam.DoubleAccumulatorParam$.html" title="class in org.apache.spark">AccumulatorParam.DoubleAccumulatorParam$</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/spark/AccumulatorParam.DoubleAccumulatorParam$.html#MODULE:D">MODULE$</a></span></code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +<div class="block">Static reference to the singleton instance of this Scala object.</div> +</td> +</tr> +</table> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/spark/AccumulatorParam.DoubleAccumulatorParam$.html#DoubleAccumulatorParam:D--">DoubleAccumulatorParam$</a></span>()</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>double</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/spark/AccumulatorParam.DoubleAccumulatorParam$.html#addInPlace-double-double-">addInPlace</a></span>(double t1, + double t2)</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>double</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/spark/AccumulatorParam.DoubleAccumulatorParam$.html#zero-double-">zero</a></span>(double initialValue)</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </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.AccumulatorParam"> +<!-- --> +</a> +<h3>Methods inherited from interface org.apache.spark.<a href="../../../org/apache/spark/AccumulatorParam.html" title="interface in org.apache.spark">AccumulatorParam</a></h3> +<code><a href="../../../org/apache/spark/AccumulatorParam.html#addAccumulator-T-T-">addAccumulator</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.org.apache.spark.AccumulableParam"> +<!-- --> +</a> +<h3>Methods inherited from interface org.apache.spark.<a href="../../../org/apache/spark/AccumulableParam.html" title="interface in org.apache.spark">AccumulableParam</a></h3> +<code><a href="../../../org/apache/spark/AccumulableParam.html#addInPlace-R-R-">addInPlace</a>, <a href="../../../org/apache/spark/AccumulableParam.html#zero-R-">zero</a></code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="MODULE:D"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>MODULE$</h4> +<pre>public static final <a href="../../../org/apache/spark/AccumulatorParam.DoubleAccumulatorParam$.html" title="class in org.apache.spark">AccumulatorParam.DoubleAccumulatorParam$</a> MODULE$</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +<div class="block">Static reference to the singleton instance of this Scala object.</div> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="DoubleAccumulatorParam:D--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>DoubleAccumulatorParam$</h4> +<pre>public DoubleAccumulatorParam$()</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="addInPlace-double-double-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addInPlace</h4> +<pre>public double addInPlace(double t1, + double t2)</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +</li> +</ul> +<a name="zero-double-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>zero</h4> +<pre>public double zero(double initialValue)</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="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/AccumulatorParam.html" title="interface in org.apache.spark"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/AccumulatorParam.FloatAccumulatorParam$.html" title="class in org.apache.spark"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/spark/AccumulatorParam.DoubleAccumulatorParam$.html" target="_top">Frames</a></li> +<li><a href="AccumulatorParam.DoubleAccumulatorParam$.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><a href="#field.summary">Field</a> | </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><a href="#field.detail">Field</a> | </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> http://git-wip-us.apache.org/repos/asf/spark-website/blob/e1001463/site/docs/2.2.2/api/java/org/apache/spark/AccumulatorParam.FloatAccumulatorParam$.html ---------------------------------------------------------------------- diff --git a/site/docs/2.2.2/api/java/org/apache/spark/AccumulatorParam.FloatAccumulatorParam$.html b/site/docs/2.2.2/api/java/org/apache/spark/AccumulatorParam.FloatAccumulatorParam$.html new file mode 100644 index 0000000..a5939b1 --- /dev/null +++ b/site/docs/2.2.2/api/java/org/apache/spark/AccumulatorParam.FloatAccumulatorParam$.html @@ -0,0 +1,379 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (1.8.0_171) on Wed Jun 27 17:36:10 UTC 2018 --> +<title>AccumulatorParam.FloatAccumulatorParam$ (Spark 2.2.2 JavaDoc)</title> +<meta name="date" content="2018-06-27"> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="AccumulatorParam.FloatAccumulatorParam$ (Spark 2.2.2 JavaDoc)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":42,"i1":42}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="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/AccumulatorParam.DoubleAccumulatorParam$.html" title="class in org.apache.spark"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/AccumulatorParam.IntAccumulatorParam$.html" title="class in org.apache.spark"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/spark/AccumulatorParam.FloatAccumulatorParam$.html" target="_top">Frames</a></li> +<li><a href="AccumulatorParam.FloatAccumulatorParam$.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><a href="#field.summary">Field</a> | </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><a href="#field.detail">Field</a> | </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</div> +<h2 title="Class AccumulatorParam.FloatAccumulatorParam$" class="title">Class AccumulatorParam.FloatAccumulatorParam$</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>Object</li> +<li> +<ul class="inheritance"> +<li>org.apache.spark.AccumulatorParam.FloatAccumulatorParam$</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/AccumulableParam.html" title="interface in org.apache.spark">AccumulableParam</a><Object,Object>, <a href="../../../org/apache/spark/AccumulatorParam.html" title="interface in org.apache.spark">AccumulatorParam</a><Object></dd> +</dl> +<dl> +<dt>Enclosing interface:</dt> +<dd><a href="../../../org/apache/spark/AccumulatorParam.html" title="interface in org.apache.spark">AccumulatorParam</a><<a href="../../../org/apache/spark/AccumulatorParam.html" title="type parameter in AccumulatorParam">T</a>></dd> +</dl> +<hr> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> +<div class="block"><span class="deprecationComment">use AccumulatorV2. Since 2.0.0.</span></div> +</div> +<br> +<pre>public static class <span class="typeNameLabel">AccumulatorParam.FloatAccumulatorParam$</span> +extends Object +implements <a href="../../../org/apache/spark/AccumulatorParam.html" title="interface in org.apache.spark">AccumulatorParam</a><Object></pre> +<dl> +<dt><span class="seeLabel">See Also:</span></dt> +<dd><a href="../../../serialized-form.html#org.apache.spark.AccumulatorParam.FloatAccumulatorParam$">Serialized Form</a></dd> +</dl> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== NESTED CLASS SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="nested.class.summary"> +<!-- --> +</a> +<h3>Nested Class Summary</h3> +<ul class="blockList"> +<li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.spark.AccumulatorParam"> +<!-- --> +</a> +<h3>Nested classes/interfaces inherited from interface org.apache.spark.<a href="../../../org/apache/spark/AccumulatorParam.html" title="interface in org.apache.spark">AccumulatorParam</a></h3> +<code><a href="../../../org/apache/spark/AccumulatorParam.DoubleAccumulatorParam$.html" title="class in org.apache.spark">AccumulatorParam.DoubleAccumulatorParam$</a>, <a href="../../../org/apache/spark/AccumulatorParam.FloatAccumulatorParam$.html" title="class in org.apache.spark">AccumulatorParam.FloatAccumulatorParam$</a>, <a href="../../../org/apache/spark/AccumulatorParam.IntAccumulatorParam$.html" title="class in org.apache.spark">AccumulatorParam.IntAccumulatorParam$</a>, <a href="../../../org/apache/spark/AccumulatorParam.LongAccumulatorParam$.html" title="class in org.apache.spark">AccumulatorParam.LongAccumulatorParam$</a>, <a href="../../../org/apache/spark/AccumulatorParam.StringAccumulatorParam$.html" title="class in org.apache.spark">AccumulatorParam.StringAccumulatorParam$</a></code></li> +</ul> +</li> +</ul> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../org/apache/spark/AccumulatorParam.FloatAccumulatorParam$.html" title="class in org.apache.spark">AccumulatorParam.FloatAccumulatorParam$</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/spark/AccumulatorParam.FloatAccumulatorParam$.html#MODULE:D">MODULE$</a></span></code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +<div class="block">Static reference to the singleton instance of this Scala object.</div> +</td> +</tr> +</table> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/spark/AccumulatorParam.FloatAccumulatorParam$.html#FloatAccumulatorParam:D--">FloatAccumulatorParam$</a></span>()</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>float</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/spark/AccumulatorParam.FloatAccumulatorParam$.html#addInPlace-float-float-">addInPlace</a></span>(float t1, + float t2)</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>float</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/spark/AccumulatorParam.FloatAccumulatorParam$.html#zero-float-">zero</a></span>(float initialValue)</code> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> + </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.AccumulatorParam"> +<!-- --> +</a> +<h3>Methods inherited from interface org.apache.spark.<a href="../../../org/apache/spark/AccumulatorParam.html" title="interface in org.apache.spark">AccumulatorParam</a></h3> +<code><a href="../../../org/apache/spark/AccumulatorParam.html#addAccumulator-T-T-">addAccumulator</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.org.apache.spark.AccumulableParam"> +<!-- --> +</a> +<h3>Methods inherited from interface org.apache.spark.<a href="../../../org/apache/spark/AccumulableParam.html" title="interface in org.apache.spark">AccumulableParam</a></h3> +<code><a href="../../../org/apache/spark/AccumulableParam.html#addInPlace-R-R-">addInPlace</a>, <a href="../../../org/apache/spark/AccumulableParam.html#zero-R-">zero</a></code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="MODULE:D"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>MODULE$</h4> +<pre>public static final <a href="../../../org/apache/spark/AccumulatorParam.FloatAccumulatorParam$.html" title="class in org.apache.spark">AccumulatorParam.FloatAccumulatorParam$</a> MODULE$</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +<div class="block">Static reference to the singleton instance of this Scala object.</div> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="FloatAccumulatorParam:D--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>FloatAccumulatorParam$</h4> +<pre>public FloatAccumulatorParam$()</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="addInPlace-float-float-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addInPlace</h4> +<pre>public float addInPlace(float t1, + float t2)</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +</li> +</ul> +<a name="zero-float-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>zero</h4> +<pre>public float zero(float initialValue)</pre> +<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="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/AccumulatorParam.DoubleAccumulatorParam$.html" title="class in org.apache.spark"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../org/apache/spark/AccumulatorParam.IntAccumulatorParam$.html" title="class in org.apache.spark"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/spark/AccumulatorParam.FloatAccumulatorParam$.html" target="_top">Frames</a></li> +<li><a href="AccumulatorParam.FloatAccumulatorParam$.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><a href="#field.summary">Field</a> | </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><a href="#field.detail">Field</a> | </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> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org