Class CopyMatrixBlockFunction

  • All Implemented Interfaces:
    Serializable, org.apache.spark.api.java.function.Function<MatrixBlock,​MatrixBlock>

    public class CopyMatrixBlockFunction
    extends Object
    implements org.apache.spark.api.java.function.Function<MatrixBlock,​MatrixBlock>
    General purpose copy function for binary block rdds. This function can be used in mapValues (copy matrix blocks). It supports both deep and shallow copies of values.
    See Also:
    Serialized Form
    • Constructor Detail

      • CopyMatrixBlockFunction

        public CopyMatrixBlockFunction()
      • CopyMatrixBlockFunction

        public CopyMatrixBlockFunction​(boolean deepCopy)