Class RowMatrixBlock

java.lang.Object
org.apache.sysds.runtime.instructions.spark.data.RowMatrixBlock
All Implemented Interfaces:
Externalizable, Serializable

public class RowMatrixBlock extends Object implements Externalizable
See Also:
  • Constructor Details

    • RowMatrixBlock

      public RowMatrixBlock()
    • RowMatrixBlock

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

    • getLen

      public int getLen()
    • getRow

      public int getRow()
    • getValue

      public MatrixBlock getValue()
    • 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