org.apache.sysml.runtime.matrix.data

Class TaggedFirstSecondIndexes.FirstIndexPartitioner

  • java.lang.Object
    • org.apache.sysml.runtime.matrix.data.TaggedFirstSecondIndexes.FirstIndexPartitioner
  • All Implemented Interfaces:
    org.apache.hadoop.mapred.JobConfigurable, org.apache.hadoop.mapred.Partitioner<TaggedFirstSecondIndexes,org.apache.hadoop.io.Writable>
    Enclosing class:
    TaggedFirstSecondIndexes


    public static class TaggedFirstSecondIndexes.FirstIndexPartitioner
    extends Object
    implements org.apache.hadoop.mapred.Partitioner<TaggedFirstSecondIndexes,org.apache.hadoop.io.Writable>
    Partition based on the first index.
    • Constructor Detail

      • FirstIndexPartitioner

        public FirstIndexPartitioner()
    • Method Detail

      • getPartition

        public int getPartition(TaggedFirstSecondIndexes key,
                                org.apache.hadoop.io.Writable value,
                                int numPartitions)
        Specified by:
        getPartition in interface org.apache.hadoop.mapred.Partitioner<TaggedFirstSecondIndexes,org.apache.hadoop.io.Writable>
      • configure

        public void configure(org.apache.hadoop.mapred.JobConf arg0)
        Specified by:
        configure in interface org.apache.hadoop.mapred.JobConfigurable

Copyright © 2017 The Apache Software Foundation. All rights reserved.