Class CreateSparseBlockFunction
- java.lang.Object
- 
- org.apache.sysds.runtime.instructions.spark.functions.CreateSparseBlockFunction
 
- 
- All Implemented Interfaces:
- Serializable,- org.apache.spark.api.java.function.Function<MatrixBlock,MatrixBlock>
 
 public class CreateSparseBlockFunction extends Object implements org.apache.spark.api.java.function.Function<MatrixBlock,MatrixBlock> General purpose copy function for binary block values. This function can be used in mapValues (copy matrix blocks) to change the internal sparse block representation. See CopyMatrixBlockFunction if no change of SparseBlock.Type required.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description CreateSparseBlockFunction(SparseBlock.Type stype)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description MatrixBlockcall(MatrixBlock arg0)
 
- 
- 
- 
Constructor Detail- 
CreateSparseBlockFunctionpublic CreateSparseBlockFunction(SparseBlock.Type stype) 
 
- 
 - 
Method Detail- 
callpublic MatrixBlock call(MatrixBlock arg0) throws Exception - Specified by:
- callin interface- org.apache.spark.api.java.function.Function<MatrixBlock,MatrixBlock>
- Throws:
- Exception
 
 
- 
 
-