Class RowMatrixBlock

    • Constructor Detail

      • RowMatrixBlock

        public RowMatrixBlock()
      • RowMatrixBlock

        public RowMatrixBlock​(int len,
                              int row,
                              MatrixBlock value)
    • Method Detail

      • getLen

        public int getLen()
      • getRow

        public int getRow()
      • readExternal

        public void readExternal​(ObjectInput is)
                          throws IOException
        Redirects the default java serialization via externalizable to our default hadoop writable serialization for efficient deserialization.
        Specified by:
        readExternal in interface Externalizable
        Parameters:
        is - object input
        Throws:
        IOException - if IOException occurs
      • writeExternal

        public void writeExternal​(ObjectOutput os)
                           throws IOException
        Redirects the default java serialization via externalizable to our default hadoop writable serialization for efficient serialization.
        Specified by:
        writeExternal in interface Externalizable
        Parameters:
        os - object output
        Throws:
        IOException - if IOException occurs