Class 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