http://git-wip-us.apache.org/repos/asf/spark-website/blob/3a634959/site/docs/2.1.3/api/java/org/apache/spark/api/java/JavaSparkStatusTracker.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.3/api/java/org/apache/spark/api/java/JavaSparkStatusTracker.html b/site/docs/2.1.3/api/java/org/apache/spark/api/java/JavaSparkStatusTracker.html new file mode 100644 index 0000000..6d0e071 --- /dev/null +++ b/site/docs/2.1.3/api/java/org/apache/spark/api/java/JavaSparkStatusTracker.html @@ -0,0 +1,319 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (version 1.7.0_80) on Tue Jun 26 17:20:45 UTC 2018 --> +<title>JavaSparkStatusTracker (Spark 2.1.3 JavaDoc)</title> +<meta name="date" content="2018-06-26"> +<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> +</head> +<body> +<script type="text/javascript"><!-- + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="JavaSparkStatusTracker (Spark 2.1.3 JavaDoc)"; + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar_top"> +<!-- --> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../org/apache/spark/api/java/JavaSparkContext.html" title="class in org.apache.spark.api.java"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/spark/api/java/JavaUtils.html" title="class 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/JavaSparkStatusTracker.html" target="_top">Frames</a></li> +<li><a href="JavaSparkStatusTracker.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.api.java</div> +<h2 title="Class JavaSparkStatusTracker" class="title">Class JavaSparkStatusTracker</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>Object</li> +<li> +<ul class="inheritance"> +<li>org.apache.spark.api.java.JavaSparkStatusTracker</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="strong">JavaSparkStatusTracker</span> +extends Object</pre> +<div class="block">Low-level status reporting APIs for monitoring job and stage progress. + <p> + These APIs intentionally provide very weak consistency semantics; consumers of these APIs should + be prepared to handle empty / missing information. For example, a job's stage ids may be known + but the status API may not have any information about the details of those stages, so + <code>getStageInfo</code> could potentially return <code>null</code> for a valid stage id. + <p> + To limit memory usage, these APIs only provide information on recent jobs / stages. These APIs + will provide information for the last <code>spark.ui.retainedStages</code> stages and + <code>spark.ui.retainedJobs</code> jobs. + <p></div> +<dl><dt><span class="strong">Note:</span></dt> + <dd>This class's constructor should be considered private and may be subject to change.</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="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>int[]</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaSparkStatusTracker.html#getActiveJobIds()">getActiveJobIds</a></strong>()</code> +<div class="block">Returns an array containing the ids of all active jobs.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int[]</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaSparkStatusTracker.html#getActiveStageIds()">getActiveStageIds</a></strong>()</code> +<div class="block">Returns an array containing the ids of all active stages.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int[]</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaSparkStatusTracker.html#getJobIdsForGroup(java.lang.String)">getJobIdsForGroup</a></strong>(String jobGroup)</code> +<div class="block">Return a list of all known jobs in a particular job group.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/SparkJobInfo.html" title="interface in org.apache.spark">SparkJobInfo</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaSparkStatusTracker.html#getJobInfo(int)">getJobInfo</a></strong>(int jobId)</code> +<div class="block">Returns job information, or <code>null</code> if the job info could not be found or was garbage collected.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/SparkStageInfo.html" title="interface in org.apache.spark">SparkStageInfo</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaSparkStatusTracker.html#getStageInfo(int)">getStageInfo</a></strong>(int stageId)</code> +<div class="block">Returns stage information, or <code>null</code> if the stage info could not be found or was + garbage collected.</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> +</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="getJobIdsForGroup(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getJobIdsForGroup</h4> +<pre>public int[] getJobIdsForGroup(String jobGroup)</pre> +<div class="block">Return a list of all known jobs in a particular job group. If <code>jobGroup</code> is <code>null</code>, then + returns all known jobs that are not associated with a job group. + <p> + The returned list may contain running, failed, and completed jobs, and may vary across + invocations of this method. This method does not guarantee the order of the elements in + its result.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>jobGroup</code> - (undocumented)</dd> +<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl> +</li> +</ul> +<a name="getActiveStageIds()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getActiveStageIds</h4> +<pre>public int[] getActiveStageIds()</pre> +<div class="block">Returns an array containing the ids of all active stages. + <p> + This method does not guarantee the order of the elements in its result.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl> +</li> +</ul> +<a name="getActiveJobIds()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getActiveJobIds</h4> +<pre>public int[] getActiveJobIds()</pre> +<div class="block">Returns an array containing the ids of all active jobs. + <p> + This method does not guarantee the order of the elements in its result.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl> +</li> +</ul> +<a name="getJobInfo(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getJobInfo</h4> +<pre>public <a href="../../../../../org/apache/spark/SparkJobInfo.html" title="interface in org.apache.spark">SparkJobInfo</a> getJobInfo(int jobId)</pre> +<div class="block">Returns job information, or <code>null</code> if the job info could not be found or was garbage collected.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>jobId</code> - (undocumented)</dd> +<dt><span class="strong">Returns:</span></dt><dd>(undocumented)</dd></dl> +</li> +</ul> +<a name="getStageInfo(int)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getStageInfo</h4> +<pre>public <a href="../../../../../org/apache/spark/SparkStageInfo.html" title="interface in org.apache.spark">SparkStageInfo</a> getStageInfo(int stageId)</pre> +<div class="block">Returns stage information, or <code>null</code> if the stage info could not be found or was + garbage collected.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stageId</code> - (undocumented)</dd> +<dt><span class="strong">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><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../org/apache/spark/api/java/JavaSparkContext.html" title="class in org.apache.spark.api.java"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/spark/api/java/JavaUtils.html" title="class 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/JavaSparkStatusTracker.html" target="_top">Frames</a></li> +<li><a href="JavaSparkStatusTracker.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/3a634959/site/docs/2.1.3/api/java/org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.3/api/java/org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html b/site/docs/2.1.3/api/java/org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html new file mode 100644 index 0000000..a761d5c --- /dev/null +++ b/site/docs/2.1.3/api/java/org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html @@ -0,0 +1,342 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (version 1.7.0_80) on Tue Jun 26 17:20:45 UTC 2018 --> +<title>JavaUtils.SerializableMapWrapper (Spark 2.1.3 JavaDoc)</title> +<meta name="date" content="2018-06-26"> +<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> +</head> +<body> +<script type="text/javascript"><!-- + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="JavaUtils.SerializableMapWrapper (Spark 2.1.3 JavaDoc)"; + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar_top"> +<!-- --> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../org/apache/spark/api/java/JavaUtils.html" title="class in org.apache.spark.api.java"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/spark/api/java/Optional.html" title="class 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/JavaUtils.SerializableMapWrapper.html" target="_top">Frames</a></li> +<li><a href="JavaUtils.SerializableMapWrapper.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><a href="#nested_classes_inherited_from_class_java.util.AbstractMap">Nested</a> | </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 JavaUtils.SerializableMapWrapper" class="title">Class JavaUtils.SerializableMapWrapper<A,B></h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>Object</li> +<li> +<ul class="inheritance"> +<li>java.util.AbstractMap<A,B></li> +<li> +<ul class="inheritance"> +<li>org.apache.spark.api.java.JavaUtils.SerializableMapWrapper<A,B></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, java.util.Map<A,B></dd> +</dl> +<dl> +<dt>Enclosing class:</dt> +<dd><a href="../../../../../org/apache/spark/api/java/JavaUtils.html" title="class in org.apache.spark.api.java">JavaUtils</a></dd> +</dl> +<hr> +<br> +<pre>public static class <span class="strong">JavaUtils.SerializableMapWrapper<A,B></span> +extends java.util.AbstractMap<A,B> +implements java.io.Serializable</pre> +<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../serialized-form.html#org.apache.spark.api.java.JavaUtils.SerializableMapWrapper">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_java.util.AbstractMap"> +<!-- --> +</a> +<h3>Nested classes/interfaces inherited from class java.util.AbstractMap</h3> +<code>java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="nested_classes_inherited_from_class_java.util.Map"> +<!-- --> +</a> +<h3>Nested classes/interfaces inherited from interface java.util.Map</h3> +<code>java.util.Map.Entry<K,V></code></li> +</ul> +</li> +</ul> +<!-- ======== 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/JavaUtils.SerializableMapWrapper.html#JavaUtils.SerializableMapWrapper(scala.collection.Map)">JavaUtils.SerializableMapWrapper</a></strong>(scala.collection.Map<<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">A</a>,<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">B</a>> underlying)</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>java.util.Set<java.util.Map.Entry<<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">A</a>,<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">B</a>>></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html#entrySet()">entrySet</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">B</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html#get(java.lang.Object)">get</a></strong>(Object key)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html#size()">size</a></strong>()</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_java.util.AbstractMap"> +<!-- --> +</a> +<h3>Methods inherited from class java.util.AbstractMap</h3> +<code>clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, put, putAll, remove, toString, values</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>getClass, 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="JavaUtils.SerializableMapWrapper(scala.collection.Map)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>JavaUtils.SerializableMapWrapper</h4> +<pre>public JavaUtils.SerializableMapWrapper(scala.collection.Map<<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">A</a>,<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">B</a>> underlying)</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="size()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>size</h4> +<pre>public int size()</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code>size</code> in interface <code>java.util.Map<<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">A</a>,<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">B</a>></code></dd> +<dt><strong>Overrides:</strong></dt> +<dd><code>size</code> in class <code>java.util.AbstractMap<<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">A</a>,<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">B</a>></code></dd> +</dl> +</li> +</ul> +<a name="get(java.lang.Object)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>get</h4> +<pre>public <a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">B</a> get(Object key)</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code>get</code> in interface <code>java.util.Map<<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">A</a>,<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">B</a>></code></dd> +<dt><strong>Overrides:</strong></dt> +<dd><code>get</code> in class <code>java.util.AbstractMap<<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">A</a>,<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">B</a>></code></dd> +</dl> +</li> +</ul> +<a name="entrySet()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>entrySet</h4> +<pre>public java.util.Set<java.util.Map.Entry<<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">A</a>,<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">B</a>>> entrySet()</pre> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code>entrySet</code> in interface <code>java.util.Map<<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">A</a>,<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">B</a>></code></dd> +<dt><strong>Specified by:</strong></dt> +<dd><code>entrySet</code> in class <code>java.util.AbstractMap<<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">A</a>,<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">B</a>></code></dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar_bottom"> +<!-- --> +</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../org/apache/spark/api/java/JavaUtils.html" title="class in org.apache.spark.api.java"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/spark/api/java/Optional.html" title="class 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/JavaUtils.SerializableMapWrapper.html" target="_top">Frames</a></li> +<li><a href="JavaUtils.SerializableMapWrapper.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><a href="#nested_classes_inherited_from_class_java.util.AbstractMap">Nested</a> | </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/3a634959/site/docs/2.1.3/api/java/org/apache/spark/api/java/JavaUtils.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.3/api/java/org/apache/spark/api/java/JavaUtils.html b/site/docs/2.1.3/api/java/org/apache/spark/api/java/JavaUtils.html new file mode 100644 index 0000000..f8a4a7c --- /dev/null +++ b/site/docs/2.1.3/api/java/org/apache/spark/api/java/JavaUtils.html @@ -0,0 +1,286 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (version 1.7.0_80) on Tue Jun 26 17:20:45 UTC 2018 --> +<title>JavaUtils (Spark 2.1.3 JavaDoc)</title> +<meta name="date" content="2018-06-26"> +<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> +</head> +<body> +<script type="text/javascript"><!-- + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="JavaUtils (Spark 2.1.3 JavaDoc)"; + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar_top"> +<!-- --> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../org/apache/spark/api/java/JavaSparkStatusTracker.html" title="class in org.apache.spark.api.java"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="class 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/JavaUtils.html" target="_top">Frames</a></li> +<li><a href="JavaUtils.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><a href="#nested_class_summary">Nested</a> | </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 JavaUtils" class="title">Class JavaUtils</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>Object</li> +<li> +<ul class="inheritance"> +<li>org.apache.spark.api.java.JavaUtils</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="strong">JavaUtils</span> +extends Object</pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== NESTED CLASS SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="nested_class_summary"> +<!-- --> +</a> +<h3>Nested Class Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> +<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Class and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static class </code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="class in org.apache.spark.api.java">JavaUtils.SerializableMapWrapper</a><<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">A</a>,<a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="type parameter in JavaUtils.SerializableMapWrapper">B</a>></strong></code> </td> +</tr> +</table> +</li> +</ul> +<!-- ======== 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/JavaUtils.html#JavaUtils()">JavaUtils</a></strong>()</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 <A,B> <a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="class in org.apache.spark.api.java">JavaUtils.SerializableMapWrapper</a><A,B></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaUtils.html#mapAsSerializableJavaMap(scala.collection.Map)">mapAsSerializableJavaMap</a></strong>(scala.collection.Map<A,B> underlying)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <T> <a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java">Optional</a><T></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/JavaUtils.html#optionToOptional(scala.Option)">optionToOptional</a></strong>(scala.Option<T> option)</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> +</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="JavaUtils()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>JavaUtils</h4> +<pre>public JavaUtils()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="optionToOptional(scala.Option)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>optionToOptional</h4> +<pre>public static <T> <a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java">Optional</a><T> optionToOptional(scala.Option<T> option)</pre> +</li> +</ul> +<a name="mapAsSerializableJavaMap(scala.collection.Map)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>mapAsSerializableJavaMap</h4> +<pre>public static <A,B> <a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="class in org.apache.spark.api.java">JavaUtils.SerializableMapWrapper</a><A,B> mapAsSerializableJavaMap(scala.collection.Map<A,B> underlying)</pre> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar_bottom"> +<!-- --> +</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../org/apache/spark/api/java/JavaSparkStatusTracker.html" title="class in org.apache.spark.api.java"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="class 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/JavaUtils.html" target="_top">Frames</a></li> +<li><a href="JavaUtils.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><a href="#nested_class_summary">Nested</a> | </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/3a634959/site/docs/2.1.3/api/java/org/apache/spark/api/java/Optional.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.3/api/java/org/apache/spark/api/java/Optional.html b/site/docs/2.1.3/api/java/org/apache/spark/api/java/Optional.html new file mode 100644 index 0000000..f622fcc --- /dev/null +++ b/site/docs/2.1.3/api/java/org/apache/spark/api/java/Optional.html @@ -0,0 +1,458 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (version 1.7.0_80) on Tue Jun 26 17:20:45 UTC 2018 --> +<title>Optional (Spark 2.1.3 JavaDoc)</title> +<meta name="date" content="2018-06-26"> +<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> +</head> +<body> +<script type="text/javascript"><!-- + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Optional (Spark 2.1.3 JavaDoc)"; + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar_top"> +<!-- --> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="class in org.apache.spark.api.java"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/spark/api/java/StorageLevels.html" title="class 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/Optional.html" target="_top">Frames</a></li> +<li><a href="Optional.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.api.java</div> +<h2 title="Class Optional" class="title">Class Optional<T></h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>Object</li> +<li> +<ul class="inheritance"> +<li>org.apache.spark.api.java.Optional<T></li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl><dt><span class="strong">Type Parameters:</span></dt><dd><code>T</code> - type of value held inside</dd></dl> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd>java.io.Serializable</dd> +</dl> +<hr> +<br> +<pre>public final class <span class="strong">Optional<T></span> +extends Object +implements java.io.Serializable</pre> +<div class="block"><p>Like <code>java.util.Optional</code> in Java 8, <code>scala.Option</code> in Scala, and + <code>com.google.common.base.Optional</code> in Google Guava, this class represents a + value of a given type that may or may not exist. It is used in methods that wish + to optionally return a value, in preference to returning <code>null</code>.</p> + + <p>In fact, the class here is a reimplementation of the essential API of both + <code>java.util.Optional</code> and <code>com.google.common.base.Optional</code>. From + <code>java.util.Optional</code>, it implements:</p> + + <ul> + <li><a href="../../../../../org/apache/spark/api/java/Optional.html#empty()"><code>empty()</code></a></li> + <li><a href="../../../../../org/apache/spark/api/java/Optional.html#of(T)"><code>of(Object)</code></a></li> + <li><a href="../../../../../org/apache/spark/api/java/Optional.html#ofNullable(T)"><code>ofNullable(Object)</code></a></li> + <li><a href="../../../../../org/apache/spark/api/java/Optional.html#get()"><code>get()</code></a></li> + <li><a href="../../../../../org/apache/spark/api/java/Optional.html#orElse(T)"><code>orElse(Object)</code></a></li> + <li><a href="../../../../../org/apache/spark/api/java/Optional.html#isPresent()"><code>isPresent()</code></a></li> + </ul> + + <p>From <code>com.google.common.base.Optional</code> it implements:</p> + + <ul> + <li><a href="../../../../../org/apache/spark/api/java/Optional.html#absent()"><code>absent()</code></a></li> + <li><a href="../../../../../org/apache/spark/api/java/Optional.html#of(T)"><code>of(Object)</code></a></li> + <li><a href="../../../../../org/apache/spark/api/java/Optional.html#fromNullable(T)"><code>fromNullable(Object)</code></a></li> + <li><a href="../../../../../org/apache/spark/api/java/Optional.html#get()"><code>get()</code></a></li> + <li><a href="../../../../../org/apache/spark/api/java/Optional.html#or(T)"><code>or(Object)</code></a></li> + <li><a href="../../../../../org/apache/spark/api/java/Optional.html#orNull()"><code>orNull()</code></a></li> + <li><a href="../../../../../org/apache/spark/api/java/Optional.html#isPresent()"><code>isPresent()</code></a></li> + </ul> + + <p><code>java.util.Optional</code> itself is not used at this time because the + project does not require Java 8. Using <code>com.google.common.base.Optional</code> + has in the past caused serious library version conflicts with Guava that can't + be resolved by shading. Hence this work-alike clone.</p></div> +<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../serialized-form.html#org.apache.spark.api.java.Optional">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="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 <T> <a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java">Optional</a><T></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/Optional.html#absent()">absent</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <T> <a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java">Optional</a><T></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/Optional.html#empty()">empty</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/Optional.html#equals(java.lang.Object)">equals</a></strong>(Object obj)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <T> <a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java">Optional</a><T></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/Optional.html#fromNullable(T)">fromNullable</a></strong>(T value)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/api/java/Optional.html" title="type parameter in Optional">T</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/Optional.html#get()">get</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/Optional.html#hashCode()">hashCode</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/Optional.html#isPresent()">isPresent</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <T> <a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java">Optional</a><T></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/Optional.html#of(T)">of</a></strong>(T value)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <T> <a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java">Optional</a><T></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/Optional.html#ofNullable(T)">ofNullable</a></strong>(T value)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/api/java/Optional.html" title="type parameter in Optional">T</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/Optional.html#or(T)">or</a></strong>(<a href="../../../../../org/apache/spark/api/java/Optional.html" title="type parameter in Optional">T</a> other)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/api/java/Optional.html" title="type parameter in Optional">T</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/Optional.html#orElse(T)">orElse</a></strong>(<a href="../../../../../org/apache/spark/api/java/Optional.html" title="type parameter in Optional">T</a> other)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/spark/api/java/Optional.html" title="type parameter in Optional">T</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/Optional.html#orNull()">orNull</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>String</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/spark/api/java/Optional.html#toString()">toString</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>getClass, 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="empty()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>empty</h4> +<pre>public static <T> <a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java">Optional</a><T> empty()</pre> +<dl><dt><span class="strong">Returns:</span></dt><dd>an empty <code>Optional</code></dd></dl> +</li> +</ul> +<a name="of(java.lang.Object)"> +<!-- --> +</a><a name="of(T)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>of</h4> +<pre>public static <T> <a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java">Optional</a><T> of(T value)</pre> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - non-null value to wrap</dd> +<dt><span class="strong">Returns:</span></dt><dd><code>Optional</code> wrapping this value</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code>NullPointerException</code> - if value is null</dd></dl> +</li> +</ul> +<a name="ofNullable(java.lang.Object)"> +<!-- --> +</a><a name="ofNullable(T)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>ofNullable</h4> +<pre>public static <T> <a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java">Optional</a><T> ofNullable(T value)</pre> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - value to wrap, which may be null</dd> +<dt><span class="strong">Returns:</span></dt><dd><code>Optional</code> wrapping this value, which may be empty</dd></dl> +</li> +</ul> +<a name="get()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>get</h4> +<pre>public <a href="../../../../../org/apache/spark/api/java/Optional.html" title="type parameter in Optional">T</a> get()</pre> +<dl><dt><span class="strong">Returns:</span></dt><dd>the value wrapped by this <code>Optional</code></dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code>NullPointerException</code> - if this is empty (contains no value)</dd></dl> +</li> +</ul> +<a name="orElse(java.lang.Object)"> +<!-- --> +</a><a name="orElse(T)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>orElse</h4> +<pre>public <a href="../../../../../org/apache/spark/api/java/Optional.html" title="type parameter in Optional">T</a> orElse(<a href="../../../../../org/apache/spark/api/java/Optional.html" title="type parameter in Optional">T</a> other)</pre> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - value to return if this is empty</dd> +<dt><span class="strong">Returns:</span></dt><dd>this <code>Optional</code>'s value if present, or else the given value</dd></dl> +</li> +</ul> +<a name="isPresent()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isPresent</h4> +<pre>public boolean isPresent()</pre> +<dl><dt><span class="strong">Returns:</span></dt><dd>true iff this <code>Optional</code> contains a value (non-empty)</dd></dl> +</li> +</ul> +<a name="absent()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>absent</h4> +<pre>public static <T> <a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java">Optional</a><T> absent()</pre> +<dl><dt><span class="strong">Returns:</span></dt><dd>an empty <code>Optional</code></dd></dl> +</li> +</ul> +<a name="fromNullable(java.lang.Object)"> +<!-- --> +</a><a name="fromNullable(T)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>fromNullable</h4> +<pre>public static <T> <a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java">Optional</a><T> fromNullable(T value)</pre> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - value to wrap, which may be null</dd> +<dt><span class="strong">Returns:</span></dt><dd><code>Optional</code> wrapping this value, which may be empty</dd></dl> +</li> +</ul> +<a name="or(java.lang.Object)"> +<!-- --> +</a><a name="or(T)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>or</h4> +<pre>public <a href="../../../../../org/apache/spark/api/java/Optional.html" title="type parameter in Optional">T</a> or(<a href="../../../../../org/apache/spark/api/java/Optional.html" title="type parameter in Optional">T</a> other)</pre> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - value to return if this is empty</dd> +<dt><span class="strong">Returns:</span></dt><dd>this <code>Optional</code>'s value if present, or else the given value</dd></dl> +</li> +</ul> +<a name="orNull()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>orNull</h4> +<pre>public <a href="../../../../../org/apache/spark/api/java/Optional.html" title="type parameter in Optional">T</a> orNull()</pre> +<dl><dt><span class="strong">Returns:</span></dt><dd>this <code>Optional</code>'s value if present, or else null</dd></dl> +</li> +</ul> +<a name="equals(java.lang.Object)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>equals</h4> +<pre>public boolean equals(Object obj)</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code>equals</code> in class <code>Object</code></dd> +</dl> +</li> +</ul> +<a name="hashCode()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>hashCode</h4> +<pre>public int hashCode()</pre> +<dl> +<dt><strong>Overrides:</strong></dt> +<dd><code>hashCode</code> in class <code>Object</code></dd> +</dl> +</li> +</ul> +<a name="toString()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>toString</h4> +<pre>public String toString()</pre> +<dl> +<dt><strong>Overrides:</strong></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><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../org/apache/spark/api/java/JavaUtils.SerializableMapWrapper.html" title="class in org.apache.spark.api.java"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/spark/api/java/StorageLevels.html" title="class 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/Optional.html" target="_top">Frames</a></li> +<li><a href="Optional.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/3a634959/site/docs/2.1.3/api/java/org/apache/spark/api/java/StorageLevels.html ---------------------------------------------------------------------- diff --git a/site/docs/2.1.3/api/java/org/apache/spark/api/java/StorageLevels.html b/site/docs/2.1.3/api/java/org/apache/spark/api/java/StorageLevels.html new file mode 100644 index 0000000..c99c731 --- /dev/null +++ b/site/docs/2.1.3/api/java/org/apache/spark/api/java/StorageLevels.html @@ -0,0 +1,446 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (version 1.7.0_80) on Tue Jun 26 17:20:45 UTC 2018 --> +<title>StorageLevels (Spark 2.1.3 JavaDoc)</title> +<meta name="date" content="2018-06-26"> +<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> +</head> +<body> +<script type="text/javascript"><!-- + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="StorageLevels (Spark 2.1.3 JavaDoc)"; + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar_top"> +<!-- --> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java"><span class="strong">Prev Class</span></a></li> +<li>Next Class</li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/spark/api/java/StorageLevels.html" target="_top">Frames</a></li> +<li><a href="StorageLevels.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.api.java</div> +<h2 title="Class StorageLevels" class="title">Class StorageLevels</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>Object</li> +<li> +<ul class="inheritance"> +<li>org.apache.spark.api.java.StorageLevels</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="strong">StorageLevels</span> +extends Object</pre> +<div class="block">Expose some commonly useful storage level constants.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field_summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="overviewSummary" 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/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/StorageLevels.html#DISK_ONLY">DISK_ONLY</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<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/StorageLevels.html#DISK_ONLY_2">DISK_ONLY_2</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/StorageLevels.html#MEMORY_AND_DISK">MEMORY_AND_DISK</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<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/StorageLevels.html#MEMORY_AND_DISK_2">MEMORY_AND_DISK_2</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/StorageLevels.html#MEMORY_AND_DISK_SER">MEMORY_AND_DISK_SER</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<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/StorageLevels.html#MEMORY_AND_DISK_SER_2">MEMORY_AND_DISK_SER_2</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/StorageLevels.html#MEMORY_ONLY">MEMORY_ONLY</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<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/StorageLevels.html#MEMORY_ONLY_2">MEMORY_ONLY_2</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/StorageLevels.html#MEMORY_ONLY_SER">MEMORY_ONLY_SER</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<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/StorageLevels.html#MEMORY_ONLY_SER_2">MEMORY_ONLY_SER_2</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/StorageLevels.html#NONE">NONE</a></strong></code> </td> +</tr> +<tr class="rowColor"> +<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/StorageLevels.html#OFF_HEAP">OFF_HEAP</a></strong></code> </td> +</tr> +</table> +</li> +</ul> +<!-- ======== 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/StorageLevels.html#StorageLevels()">StorageLevels</a></strong>()</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 <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/StorageLevels.html#create(boolean,%20boolean,%20boolean,%20boolean,%20int)">create</a></strong>(boolean useDisk, + boolean useMemory, + boolean useOffHeap, + boolean deserialized, + int replication)</code> +<div class="block">Create a new StorageLevel object.</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> +</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="NONE"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>NONE</h4> +<pre>public static final <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> NONE</pre> +</li> +</ul> +<a name="DISK_ONLY"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>DISK_ONLY</h4> +<pre>public static final <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> DISK_ONLY</pre> +</li> +</ul> +<a name="DISK_ONLY_2"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>DISK_ONLY_2</h4> +<pre>public static final <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> DISK_ONLY_2</pre> +</li> +</ul> +<a name="MEMORY_ONLY"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>MEMORY_ONLY</h4> +<pre>public static final <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> MEMORY_ONLY</pre> +</li> +</ul> +<a name="MEMORY_ONLY_2"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>MEMORY_ONLY_2</h4> +<pre>public static final <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> MEMORY_ONLY_2</pre> +</li> +</ul> +<a name="MEMORY_ONLY_SER"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>MEMORY_ONLY_SER</h4> +<pre>public static final <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> MEMORY_ONLY_SER</pre> +</li> +</ul> +<a name="MEMORY_ONLY_SER_2"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>MEMORY_ONLY_SER_2</h4> +<pre>public static final <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> MEMORY_ONLY_SER_2</pre> +</li> +</ul> +<a name="MEMORY_AND_DISK"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>MEMORY_AND_DISK</h4> +<pre>public static final <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> MEMORY_AND_DISK</pre> +</li> +</ul> +<a name="MEMORY_AND_DISK_2"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>MEMORY_AND_DISK_2</h4> +<pre>public static final <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> MEMORY_AND_DISK_2</pre> +</li> +</ul> +<a name="MEMORY_AND_DISK_SER"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>MEMORY_AND_DISK_SER</h4> +<pre>public static final <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> MEMORY_AND_DISK_SER</pre> +</li> +</ul> +<a name="MEMORY_AND_DISK_SER_2"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>MEMORY_AND_DISK_SER_2</h4> +<pre>public static final <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> MEMORY_AND_DISK_SER_2</pre> +</li> +</ul> +<a name="OFF_HEAP"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>OFF_HEAP</h4> +<pre>public static final <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> OFF_HEAP</pre> +</li> +</ul> +</li> +</ul> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="StorageLevels()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>StorageLevels</h4> +<pre>public StorageLevels()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="create(boolean, boolean, boolean, boolean, int)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>create</h4> +<pre>public static <a href="../../../../../org/apache/spark/storage/StorageLevel.html" title="class in org.apache.spark.storage">StorageLevel</a> create(boolean useDisk, + boolean useMemory, + boolean useOffHeap, + boolean deserialized, + int replication)</pre> +<div class="block">Create a new StorageLevel object.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>useDisk</code> - saved to disk, if true</dd><dd><code>useMemory</code> - saved to on-heap memory, if true</dd><dd><code>useOffHeap</code> - saved to off-heap memory, if true</dd><dd><code>deserialized</code> - saved as deserialized objects, if true</dd><dd><code>replication</code> - replication factor</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><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../org/apache/spark/api/java/Optional.html" title="class in org.apache.spark.api.java"><span class="strong">Prev Class</span></a></li> +<li>Next Class</li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/spark/api/java/StorageLevels.html" target="_top">Frames</a></li> +<li><a href="StorageLevels.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