org.apache.hadoop.hbase.mapreduce
Class IndexBuilder.Map

java.lang.Object
  extended by org.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable,Result,ImmutableBytesWritable,Put>
      extended by org.apache.hadoop.hbase.mapreduce.IndexBuilder.Map
Enclosing class:
IndexBuilder

public static class IndexBuilder.Map
extends org.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable,Result,ImmutableBytesWritable,Put>

Internal Mapper to be run by Hadoop.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Mapper
org.apache.hadoop.mapreduce.Mapper.Context
 
Constructor Summary
IndexBuilder.Map()
           
 
Method Summary
protected  void map(ImmutableBytesWritable rowKey, Result result, org.apache.hadoop.mapreduce.Mapper.Context context)
           
protected  void setup(org.apache.hadoop.mapreduce.Mapper.Context context)
           
 
Methods inherited from class org.apache.hadoop.mapreduce.Mapper
cleanup, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexBuilder.Map

public IndexBuilder.Map()
Method Detail

map

protected void map(ImmutableBytesWritable rowKey,
                   Result result,
                   org.apache.hadoop.mapreduce.Mapper.Context context)
            throws IOException,
                   InterruptedException
Overrides:
map in class org.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable,Result,ImmutableBytesWritable,Put>
Throws:
IOException
InterruptedException

setup

protected void setup(org.apache.hadoop.mapreduce.Mapper.Context context)
              throws IOException,
                     InterruptedException
Overrides:
setup in class org.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable,Result,ImmutableBytesWritable,Put>
Throws:
IOException
InterruptedException


Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.