static class WALPlayer.WALKeyValueMapper extends org.apache.hadoop.mapreduce.Mapper<WALKey,WALEdit,ImmutableBytesWritable,KeyValue>
KeyValueSortReducer
Modifier and Type | Field and Description |
---|---|
private byte[] |
table |
Constructor and Description |
---|
WALPlayer.WALKeyValueMapper() |
public void map(WALKey key, WALEdit value, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException
map
in class org.apache.hadoop.mapreduce.Mapper<WALKey,WALEdit,ImmutableBytesWritable,KeyValue>
IOException
public void setup(org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException
setup
in class org.apache.hadoop.mapreduce.Mapper<WALKey,WALEdit,ImmutableBytesWritable,KeyValue>
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.