public static class IntegrationTestBulkLoad.LinkedListCreationMapper extends org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.LongWritable,org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.hbase.KeyValue>
Constructor and Description |
---|
LinkedListCreationMapper() |
Modifier and Type | Method and Description |
---|---|
private long |
getNextRow(long index,
long chainLength)
Returns a unique row id within this chain for this index
|
protected void |
map(org.apache.hadoop.io.LongWritable key,
org.apache.hadoop.io.LongWritable value,
org.apache.hadoop.mapreduce.Mapper.Context context) |
public LinkedListCreationMapper()
protected void map(org.apache.hadoop.io.LongWritable key, org.apache.hadoop.io.LongWritable value, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
map
in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.LongWritable,org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.hbase.KeyValue>
IOException
InterruptedException
private long getNextRow(long index, long chainLength)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.