public class ResultMergeRemoteSparkWCompare extends ResultMerge implements org.apache.spark.api.java.function.PairFunction<scala.Tuple2<MatrixIndexes,scala.Tuple2<Iterable<MatrixBlock>,MatrixBlock>>,MatrixIndexes,MatrixBlock>
Constructor and Description |
---|
ResultMergeRemoteSparkWCompare(boolean accum) |
Modifier and Type | Method and Description |
---|---|
scala.Tuple2<MatrixIndexes,MatrixBlock> |
call(scala.Tuple2<MatrixIndexes,scala.Tuple2<Iterable<MatrixBlock>,MatrixBlock>> arg) |
MatrixObject |
executeParallelMerge(int par)
Merge all given input matrices in parallel into the given output matrix.
|
MatrixObject |
executeSerialMerge()
Merge all given input matrices sequentially into the given output matrix.
|
public ResultMergeRemoteSparkWCompare(boolean accum)
public scala.Tuple2<MatrixIndexes,MatrixBlock> call(scala.Tuple2<MatrixIndexes,scala.Tuple2<Iterable<MatrixBlock>,MatrixBlock>> arg) throws Exception
call
in interface org.apache.spark.api.java.function.PairFunction<scala.Tuple2<MatrixIndexes,scala.Tuple2<Iterable<MatrixBlock>,MatrixBlock>>,MatrixIndexes,MatrixBlock>
Exception
public MatrixObject executeSerialMerge()
ResultMerge
executeSerialMerge
in class ResultMerge
public MatrixObject executeParallelMerge(int par)
ResultMerge
executeParallelMerge
in class ResultMerge
par
- degree of parallelismCopyright © 2020 The Apache Software Foundation. All rights reserved.