blob: f04caf7822899005ce9a41c6f463be47e85c9fd5 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>RDDAggregateUtils (SystemDS 2.1.0-SNAPSHOT API)</title>
<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="RDDAggregateUtils (SystemDS 2.1.0-SNAPSHOT API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/RDDAggregateUtils.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../../org/apache/sysds/runtime/instructions/spark/utils/FrameRDDConverterUtils.LongWritableToSerFunction.html" title="class in org.apache.sysds.runtime.instructions.spark.utils"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../../org/apache/sysds/runtime/instructions/spark/utils/RDDConverterUtils.html" title="class in org.apache.sysds.runtime.instructions.spark.utils"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/apache/sysds/runtime/instructions/spark/utils/RDDAggregateUtils.html" target="_top">Frames</a></li>
<li><a href="RDDAggregateUtils.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.sysds.runtime.instructions.spark.utils</div>
<h2 title="Class RDDAggregateUtils" class="title">Class RDDAggregateUtils</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.sysds.runtime.instructions.spark.utils.RDDAggregateUtils</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">RDDAggregateUtils</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">Collection of utility methods for aggregating binary block rdds. As a general
policy always call stable algorithms which maintain corrections over blocks
per key. The performance overhead over a simple reducebykey is roughly 7-10%
and with that acceptable.</div>
</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">&nbsp;</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/sysds/runtime/instructions/spark/utils/RDDAggregateUtils.html#RDDAggregateUtils--">RDDAggregateUtils</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/sysds/runtime/instructions/spark/utils/RDDAggregateUtils.html#aggByKeyStable-org.apache.spark.api.java.JavaPairRDD-org.apache.sysds.runtime.matrix.operators.AggregateOperator-">aggByKeyStable</a></span>(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;in,
<a href="../../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateOperator</a>&nbsp;aop)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/sysds/runtime/instructions/spark/utils/RDDAggregateUtils.html#aggByKeyStable-org.apache.spark.api.java.JavaPairRDD-org.apache.sysds.runtime.matrix.operators.AggregateOperator-boolean-">aggByKeyStable</a></span>(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;in,
<a href="../../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateOperator</a>&nbsp;aop,
boolean&nbsp;deepCopyCombiner)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/sysds/runtime/instructions/spark/utils/RDDAggregateUtils.html#aggByKeyStable-org.apache.spark.api.java.JavaPairRDD-org.apache.sysds.runtime.matrix.operators.AggregateOperator-int-boolean-">aggByKeyStable</a></span>(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;in,
<a href="../../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateOperator</a>&nbsp;aop,
int&nbsp;numPartitions,
boolean&nbsp;deepCopyCombiner)</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/sysds/runtime/instructions/spark/utils/RDDAggregateUtils.html#aggStable-org.apache.spark.api.java.JavaPairRDD-org.apache.sysds.runtime.matrix.operators.AggregateOperator-">aggStable</a></span>(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;in,
<a href="../../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateOperator</a>&nbsp;aop)</code>
<div class="block">Single block aggregation over pair rdds with corrections for numerical stability.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/sysds/runtime/instructions/spark/utils/RDDAggregateUtils.html#aggStable-org.apache.spark.api.java.JavaRDD-org.apache.sysds.runtime.matrix.operators.AggregateOperator-">aggStable</a></span>(org.apache.spark.api.java.JavaRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;in,
<a href="../../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateOperator</a>&nbsp;aop)</code>
<div class="block">Single block aggregation over rdds with corrections for numerical stability.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../../org/apache/sysds/runtime/data/TensorBlock.html" title="class in org.apache.sysds.runtime.data">TensorBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/sysds/runtime/instructions/spark/utils/RDDAggregateUtils.html#aggStableTensor-org.apache.spark.api.java.JavaPairRDD-org.apache.sysds.runtime.matrix.operators.AggregateOperator-">aggStableTensor</a></span>(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/data/TensorIndexes.html" title="class in org.apache.sysds.runtime.data">TensorIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/data/TensorBlock.html" title="class in org.apache.sysds.runtime.data">TensorBlock</a>&gt;&nbsp;in,
<a href="../../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateOperator</a>&nbsp;aop)</code>
<div class="block">Single block aggregation over pair rdds with corrections for numerical stability.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../../org/apache/sysds/runtime/data/TensorBlock.html" title="class in org.apache.sysds.runtime.data">TensorBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/sysds/runtime/instructions/spark/utils/RDDAggregateUtils.html#aggStableTensor-org.apache.spark.api.java.JavaRDD-org.apache.sysds.runtime.matrix.operators.AggregateOperator-">aggStableTensor</a></span>(org.apache.spark.api.java.JavaRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/data/TensorBlock.html" title="class in org.apache.sysds.runtime.data">TensorBlock</a>&gt;&nbsp;in,
<a href="../../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateOperator</a>&nbsp;aop)</code>
<div class="block">Single block aggregation over rdds with corrections for numerical stability.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/sysds/runtime/instructions/spark/utils/RDDAggregateUtils.html#max-org.apache.spark.api.java.JavaPairRDD-">max</a></span>(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;in)</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/sysds/runtime/instructions/spark/utils/RDDAggregateUtils.html#mergeByKey-org.apache.spark.api.java.JavaPairRDD-">mergeByKey</a></span>(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;in)</code>
<div class="block">Merges disjoint data of all blocks per key.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>static org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/sysds/runtime/instructions/spark/utils/RDDAggregateUtils.html#mergeByKey-org.apache.spark.api.java.JavaPairRDD-boolean-">mergeByKey</a></span>(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;in,
boolean&nbsp;deepCopyCombiner)</code>
<div class="block">Merges disjoint data of all blocks per key.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>static org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/sysds/runtime/instructions/spark/utils/RDDAggregateUtils.html#mergeByKey-org.apache.spark.api.java.JavaPairRDD-int-boolean-">mergeByKey</a></span>(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;in,
int&nbsp;numPartitions,
boolean&nbsp;deepCopyCombiner)</code>
<div class="block">Merges disjoint data of all blocks per key.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>static org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/sysds/runtime/instructions/spark/utils/RDDAggregateUtils.html#mergeRowsByKey-org.apache.spark.api.java.JavaPairRDD-">mergeRowsByKey</a></span>(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/instructions/spark/data/RowMatrixBlock.html" title="class in org.apache.sysds.runtime.instructions.spark.data">RowMatrixBlock</a>&gt;&nbsp;in)</code>
<div class="block">Merges disjoint data of all blocks per key.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>static org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/sysds/runtime/instructions/spark/utils/RDDAggregateUtils.html#sumByKeyStable-org.apache.spark.api.java.JavaPairRDD-">sumByKeyStable</a></span>(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;in)</code>&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>static org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/sysds/runtime/instructions/spark/utils/RDDAggregateUtils.html#sumByKeyStable-org.apache.spark.api.java.JavaPairRDD-boolean-">sumByKeyStable</a></span>(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;in,
boolean&nbsp;deepCopyCombiner)</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>static org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/sysds/runtime/instructions/spark/utils/RDDAggregateUtils.html#sumByKeyStable-org.apache.spark.api.java.JavaPairRDD-int-boolean-">sumByKeyStable</a></span>(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;in,
int&nbsp;numPartitions,
boolean&nbsp;deepCopyCombiner)</code>&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>static org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/sysds/runtime/instructions/spark/utils/RDDAggregateUtils.html#sumCellsByKeyStable-org.apache.spark.api.java.JavaPairRDD-">sumCellsByKeyStable</a></span>(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>&gt;&nbsp;in)</code>&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>static org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/sysds/runtime/instructions/spark/utils/RDDAggregateUtils.html#sumCellsByKeyStable-org.apache.spark.api.java.JavaPairRDD-int-">sumCellsByKeyStable</a></span>(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>&gt;&nbsp;in,
int&nbsp;numParts)</code>&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/sysds/runtime/instructions/spark/utils/RDDAggregateUtils.html#sumStable-org.apache.spark.api.java.JavaPairRDD-">sumStable</a></span>(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;in)</code>&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/apache/sysds/runtime/instructions/spark/utils/RDDAggregateUtils.html#sumStable-org.apache.spark.api.java.JavaRDD-">sumStable</a></span>(org.apache.spark.api.java.JavaRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;in)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="RDDAggregateUtils--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>RDDAggregateUtils</h4>
<pre>public&nbsp;RDDAggregateUtils()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="sumStable-org.apache.spark.api.java.JavaPairRDD-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sumStable</h4>
<pre>public static&nbsp;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;sumStable(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;in)</pre>
</li>
</ul>
<a name="sumStable-org.apache.spark.api.java.JavaRDD-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sumStable</h4>
<pre>public static&nbsp;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;sumStable(org.apache.spark.api.java.JavaRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;in)</pre>
</li>
</ul>
<a name="sumByKeyStable-org.apache.spark.api.java.JavaPairRDD-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sumByKeyStable</h4>
<pre>public static&nbsp;org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;sumByKeyStable(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;in)</pre>
</li>
</ul>
<a name="sumByKeyStable-org.apache.spark.api.java.JavaPairRDD-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sumByKeyStable</h4>
<pre>public static&nbsp;org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;sumByKeyStable(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;in,
boolean&nbsp;deepCopyCombiner)</pre>
</li>
</ul>
<a name="sumByKeyStable-org.apache.spark.api.java.JavaPairRDD-int-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sumByKeyStable</h4>
<pre>public static&nbsp;org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;sumByKeyStable(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;in,
int&nbsp;numPartitions,
boolean&nbsp;deepCopyCombiner)</pre>
</li>
</ul>
<a name="sumCellsByKeyStable-org.apache.spark.api.java.JavaPairRDD-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sumCellsByKeyStable</h4>
<pre>public static&nbsp;org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>&gt;&nbsp;sumCellsByKeyStable(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>&gt;&nbsp;in)</pre>
</li>
</ul>
<a name="sumCellsByKeyStable-org.apache.spark.api.java.JavaPairRDD-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sumCellsByKeyStable</h4>
<pre>public static&nbsp;org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>&gt;&nbsp;sumCellsByKeyStable(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>&gt;&nbsp;in,
int&nbsp;numParts)</pre>
</li>
</ul>
<a name="aggStable-org.apache.spark.api.java.JavaPairRDD-org.apache.sysds.runtime.matrix.operators.AggregateOperator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aggStable</h4>
<pre>public static&nbsp;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;aggStable(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;in,
<a href="../../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateOperator</a>&nbsp;aop)</pre>
<div class="block">Single block aggregation over pair rdds with corrections for numerical stability.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>in</code> - matrix as <code>JavaPairRDD&lt;MatrixIndexes, MatrixBlock&gt;</code></dd>
<dd><code>aop</code> - aggregate operator</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>matrix block</dd>
</dl>
</li>
</ul>
<a name="aggStable-org.apache.spark.api.java.JavaRDD-org.apache.sysds.runtime.matrix.operators.AggregateOperator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aggStable</h4>
<pre>public static&nbsp;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&nbsp;aggStable(org.apache.spark.api.java.JavaRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;in,
<a href="../../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateOperator</a>&nbsp;aop)</pre>
<div class="block">Single block aggregation over rdds with corrections for numerical stability.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>in</code> - matrix as <code>JavaRDD&lt;MatrixBlock&gt;</code></dd>
<dd><code>aop</code> - aggregate operator</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>matrix block</dd>
</dl>
</li>
</ul>
<a name="aggStableTensor-org.apache.spark.api.java.JavaPairRDD-org.apache.sysds.runtime.matrix.operators.AggregateOperator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aggStableTensor</h4>
<pre>public static&nbsp;<a href="../../../../../../../org/apache/sysds/runtime/data/TensorBlock.html" title="class in org.apache.sysds.runtime.data">TensorBlock</a>&nbsp;aggStableTensor(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/data/TensorIndexes.html" title="class in org.apache.sysds.runtime.data">TensorIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/data/TensorBlock.html" title="class in org.apache.sysds.runtime.data">TensorBlock</a>&gt;&nbsp;in,
<a href="../../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateOperator</a>&nbsp;aop)</pre>
<div class="block">Single block aggregation over pair rdds with corrections for numerical stability.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>in</code> - tensor as <code>JavaPairRDD&lt;TensorIndexes, TensorBlock&gt;</code></dd>
<dd><code>aop</code> - aggregate operator</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>tensor block</dd>
</dl>
</li>
</ul>
<a name="aggStableTensor-org.apache.spark.api.java.JavaRDD-org.apache.sysds.runtime.matrix.operators.AggregateOperator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aggStableTensor</h4>
<pre>public static&nbsp;<a href="../../../../../../../org/apache/sysds/runtime/data/TensorBlock.html" title="class in org.apache.sysds.runtime.data">TensorBlock</a>&nbsp;aggStableTensor(org.apache.spark.api.java.JavaRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/data/TensorBlock.html" title="class in org.apache.sysds.runtime.data">TensorBlock</a>&gt;&nbsp;in,
<a href="../../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateOperator</a>&nbsp;aop)</pre>
<div class="block">Single block aggregation over rdds with corrections for numerical stability.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>in</code> - tensor as <code>JavaRDD&lt;TensorBlock&gt;</code></dd>
<dd><code>aop</code> - aggregate operator</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>tensor block</dd>
</dl>
</li>
</ul>
<a name="aggByKeyStable-org.apache.spark.api.java.JavaPairRDD-org.apache.sysds.runtime.matrix.operators.AggregateOperator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aggByKeyStable</h4>
<pre>public static&nbsp;org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;aggByKeyStable(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;in,
<a href="../../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateOperator</a>&nbsp;aop)</pre>
</li>
</ul>
<a name="aggByKeyStable-org.apache.spark.api.java.JavaPairRDD-org.apache.sysds.runtime.matrix.operators.AggregateOperator-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aggByKeyStable</h4>
<pre>public static&nbsp;org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;aggByKeyStable(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;in,
<a href="../../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateOperator</a>&nbsp;aop,
boolean&nbsp;deepCopyCombiner)</pre>
</li>
</ul>
<a name="aggByKeyStable-org.apache.spark.api.java.JavaPairRDD-org.apache.sysds.runtime.matrix.operators.AggregateOperator-int-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>aggByKeyStable</h4>
<pre>public static&nbsp;org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;aggByKeyStable(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;in,
<a href="../../../../../../../org/apache/sysds/runtime/matrix/operators/AggregateOperator.html" title="class in org.apache.sysds.runtime.matrix.operators">AggregateOperator</a>&nbsp;aop,
int&nbsp;numPartitions,
boolean&nbsp;deepCopyCombiner)</pre>
</li>
</ul>
<a name="max-org.apache.spark.api.java.JavaPairRDD-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>max</h4>
<pre>public static&nbsp;double&nbsp;max(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;in)</pre>
</li>
</ul>
<a name="mergeByKey-org.apache.spark.api.java.JavaPairRDD-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mergeByKey</h4>
<pre>public static&nbsp;org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;mergeByKey(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;in)</pre>
<div class="block">Merges disjoint data of all blocks per key.
Note: The behavior of this method is undefined for both sparse and dense data if the
assumption of disjoint data is violated.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>in</code> - matrix as <code>JavaPairRDD&lt;MatrixIndexes, MatrixBlock&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>matrix as <code>JavaPairRDD&lt;MatrixIndexes, MatrixBlock&gt;</code></dd>
</dl>
</li>
</ul>
<a name="mergeByKey-org.apache.spark.api.java.JavaPairRDD-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mergeByKey</h4>
<pre>public static&nbsp;org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;mergeByKey(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;in,
boolean&nbsp;deepCopyCombiner)</pre>
<div class="block">Merges disjoint data of all blocks per key.
Note: The behavior of this method is undefined for both sparse and dense data if the
assumption of disjoint data is violated.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>in</code> - matrix as <code>JavaPairRDD&lt;MatrixIndexes, MatrixBlock&gt;</code></dd>
<dd><code>deepCopyCombiner</code> - indicator if the createCombiner functions needs to deep copy the input block</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>matrix as <code>JavaPairRDD&lt;MatrixIndexes, MatrixBlock&gt;</code></dd>
</dl>
</li>
</ul>
<a name="mergeByKey-org.apache.spark.api.java.JavaPairRDD-int-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mergeByKey</h4>
<pre>public static&nbsp;org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;mergeByKey(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;in,
int&nbsp;numPartitions,
boolean&nbsp;deepCopyCombiner)</pre>
<div class="block">Merges disjoint data of all blocks per key.
Note: The behavior of this method is undefined for both sparse and dense data if the
assumption of disjoint data is violated.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>in</code> - matrix as <code>JavaPairRDD&lt;MatrixIndexes, MatrixBlock&gt;</code></dd>
<dd><code>numPartitions</code> - number of output partitions</dd>
<dd><code>deepCopyCombiner</code> - indicator if the createCombiner functions needs to deep copy the input block</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>matrix as <code>JavaPairRDD&lt;MatrixIndexes, MatrixBlock&gt;</code></dd>
</dl>
</li>
</ul>
<a name="mergeRowsByKey-org.apache.spark.api.java.JavaPairRDD-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>mergeRowsByKey</h4>
<pre>public static&nbsp;org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixBlock.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixBlock</a>&gt;&nbsp;mergeRowsByKey(org.apache.spark.api.java.JavaPairRDD&lt;<a href="../../../../../../../org/apache/sysds/runtime/matrix/data/MatrixIndexes.html" title="class in org.apache.sysds.runtime.matrix.data">MatrixIndexes</a>,<a href="../../../../../../../org/apache/sysds/runtime/instructions/spark/data/RowMatrixBlock.html" title="class in org.apache.sysds.runtime.instructions.spark.data">RowMatrixBlock</a>&gt;&nbsp;in)</pre>
<div class="block">Merges disjoint data of all blocks per key.
Note: The behavior of this method is undefined for both sparse and dense data if the
assumption of disjoint data is violated.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>in</code> - matrix as <code>JavaPairRDD&lt;MatrixIndexes, RowMatrixBlock&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>matrix as <code>JavaPairRDD&lt;MatrixIndexes, MatrixBlock&gt;</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="class-use/RDDAggregateUtils.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../../org/apache/sysds/runtime/instructions/spark/utils/FrameRDDConverterUtils.LongWritableToSerFunction.html" title="class in org.apache.sysds.runtime.instructions.spark.utils"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../../../org/apache/sysds/runtime/instructions/spark/utils/RDDConverterUtils.html" title="class in org.apache.sysds.runtime.instructions.spark.utils"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../../index.html?org/apache/sysds/runtime/instructions/spark/utils/RDDAggregateUtils.html" target="_top">Frames</a></li>
<li><a href="RDDAggregateUtils.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2021 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>