Class DataPartitionerRemoteSparkMapper
- java.lang.Object
- 
- org.apache.sysds.runtime.controlprogram.parfor.ParWorker
- 
- org.apache.sysds.runtime.controlprogram.parfor.DataPartitionerRemoteSparkMapper
 
 
- 
- All Implemented Interfaces:
- Serializable,- org.apache.spark.api.java.function.PairFlatMapFunction<scala.Tuple2<MatrixIndexes,MatrixBlock>,Long,org.apache.hadoop.io.Writable>
 
 public class DataPartitionerRemoteSparkMapper extends ParWorker implements org.apache.spark.api.java.function.PairFlatMapFunction<scala.Tuple2<MatrixIndexes,MatrixBlock>,Long,org.apache.hadoop.io.Writable> NOTE: for the moment we only support binary block here TODO extend impl for binarycell and textcell Interface of Writable output in order to support both PairWritableBlock and PairWritableCell.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description DataPartitionerRemoteSparkMapper(DataCharacteristics mc, Types.FileFormat fmt, ParForProgramBlock.PDataPartitionFormat dpf, int n)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator<scala.Tuple2<Long,org.apache.hadoop.io.Writable>>call(scala.Tuple2<MatrixIndexes,MatrixBlock> arg0)- 
Methods inherited from class org.apache.sysds.runtime.controlprogram.parfor.ParWorkergetExecutedIterations, getExecutedTasks, getExecutionContext, getVariables
 
- 
 
- 
- 
- 
Constructor Detail- 
DataPartitionerRemoteSparkMapperpublic DataPartitionerRemoteSparkMapper(DataCharacteristics mc, Types.FileFormat fmt, ParForProgramBlock.PDataPartitionFormat dpf, int n) 
 
- 
 - 
Method Detail- 
callpublic Iterator<scala.Tuple2<Long,org.apache.hadoop.io.Writable>> call(scala.Tuple2<MatrixIndexes,MatrixBlock> arg0) throws Exception - Specified by:
- callin interface- org.apache.spark.api.java.function.PairFlatMapFunction<scala.Tuple2<MatrixIndexes,MatrixBlock>,Long,org.apache.hadoop.io.Writable>
- Throws:
- Exception
 
 
- 
 
-