Class BinaryBlockSerialization

  • All Implemented Interfaces:
    org.apache.hadoop.io.serializer.Serialization

    public class BinaryBlockSerialization
    extends Object
    implements org.apache.hadoop.io.serializer.Serialization
    This custom serialization class can be used via job.set(MRConfigurationNames.IO_SERIALIZATIONS, "org.apache.sysds.runtime.io.BinaryBlockSerialization");
    • Constructor Detail

      • BinaryBlockSerialization

        public BinaryBlockSerialization()
    • Method Detail

      • accept

        public boolean accept​(Class arg0)
        Specified by:
        accept in interface org.apache.hadoop.io.serializer.Serialization
      • getDeserializer

        public org.apache.hadoop.io.serializer.Deserializer<MatrixBlock> getDeserializer​(Class arg0)
        Specified by:
        getDeserializer in interface org.apache.hadoop.io.serializer.Serialization
      • getSerializer

        public org.apache.hadoop.io.serializer.Serializer<MatrixBlock> getSerializer​(Class arg0)
        Specified by:
        getSerializer in interface org.apache.hadoop.io.serializer.Serialization