Class FeatureCountJob.MyMapper

  • Enclosing class:
    FeatureCountJob

    public static class FeatureCountJob.MyMapper
    extends org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.Text,​org.geotools.api.feature.simple.SimpleFeature,​org.apache.hadoop.io.Text,​org.apache.hadoop.io.Text>
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper

        org.apache.hadoop.mapreduce.Mapper.Context
    • Constructor Summary

      Constructors 
      Constructor Description
      MyMapper()  
    • Constructor Detail

      • MyMapper

        public MyMapper()
    • Method Detail

      • map

        public void map​(org.apache.hadoop.io.Text key,
                        org.geotools.api.feature.simple.SimpleFeature value,
                        org.apache.hadoop.mapreduce.Mapper.Context context)
                 throws IOException,
                        InterruptedException
        Overrides:
        map in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.Text,​org.geotools.api.feature.simple.SimpleFeature,​org.apache.hadoop.io.Text,​org.apache.hadoop.io.Text>
        Throws:
        IOException
        InterruptedException