Class ResultMergeTaggedMatrixIndexes

  • All Implemented Interfaces:
    Comparable<ResultMergeTaggedMatrixIndexes>, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable<ResultMergeTaggedMatrixIndexes>

    public class ResultMergeTaggedMatrixIndexes
    extends Object
    implements org.apache.hadoop.io.WritableComparable<ResultMergeTaggedMatrixIndexes>
    This class serves as composite key for the remote result merge job (for any data format) in order to sort on both matrix indexes and tag but group all blocks according to matrix indexes only. This prevents us from doing an 2pass out-of-core algorithm at the reducer since we can guarantee that the compare block (tag 0) will be the first element in the iterator.