public static class IndexBuilder.Map extends org.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable,Result,ImmutableBytesWritable,Put>
Modifier and Type | Field and Description |
---|---|
private byte[] |
family |
private TreeMap<byte[],ImmutableBytesWritable> |
indexes |
Constructor and Description |
---|
Map() |
Modifier and Type | Method and Description |
---|---|
protected void |
map(ImmutableBytesWritable rowKey,
Result result,
org.apache.hadoop.mapreduce.Mapper.Context context) |
protected void |
setup(org.apache.hadoop.mapreduce.Mapper.Context context) |
private byte[] family
private TreeMap<byte[],ImmutableBytesWritable> indexes
public Map()
protected void map(ImmutableBytesWritable rowKey, Result result, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
map
in class org.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable,Result,ImmutableBytesWritable,Put>
IOException
InterruptedException
protected void setup(org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
setup
in class org.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable,Result,ImmutableBytesWritable,Put>
IOException
InterruptedException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.