Class DataPartitioner

    • Method Detail

      • createPartitionedMatrixObject

        public MatrixObject createPartitionedMatrixObject​(MatrixObject in,
                                                          MatrixObject out,
                                                          boolean force)
        Creates a partitioned matrix object based on the given input matrix object, according to the specified split format. The input matrix can be in-memory or still on HDFS and the partitioned output matrix is written to HDFS. The created matrix object can be used transparently for obtaining the full matrix or reading 1 or multiple partitions based on given index ranges.
        in - input matrix object
        out - output matrix object
        force - if false, try to optimize
        partitioned matrix object
      • disableBinaryCell

        public void disableBinaryCell()