Class DeterminePartitionsJob.DeterminePartitionsDimSelectionPartitioner

  • All Implemented Interfaces:
    org.apache.hadoop.conf.Configurable
    Enclosing class:
    DeterminePartitionsJob

    public static class DeterminePartitionsJob.DeterminePartitionsDimSelectionPartitioner
    extends org.apache.hadoop.mapreduce.Partitioner<org.apache.hadoop.io.BytesWritable,​org.apache.hadoop.io.Text>
    implements org.apache.hadoop.conf.Configurable
    • Constructor Detail

      • DeterminePartitionsDimSelectionPartitioner

        public DeterminePartitionsDimSelectionPartitioner()
    • Method Detail

      • getPartition

        public int getPartition​(org.apache.hadoop.io.BytesWritable bytesWritable,
                                org.apache.hadoop.io.Text text,
                                int numPartitions)
        Specified by:
        getPartition in class org.apache.hadoop.mapreduce.Partitioner<org.apache.hadoop.io.BytesWritable,​org.apache.hadoop.io.Text>
      • getConf

        public org.apache.hadoop.conf.Configuration getConf()
        Specified by:
        getConf in interface org.apache.hadoop.conf.Configurable
      • setConf

        public void setConf​(org.apache.hadoop.conf.Configuration config)
        Specified by:
        setConf in interface org.apache.hadoop.conf.Configurable