public static class Import.KeyValueImporter extends TableMapper<ImmutableBytesWritable,KeyValue>
| 构造器和说明 |
|---|
Import.KeyValueImporter() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
map(ImmutableBytesWritable row,
Result value,
org.apache.hadoop.mapreduce.Mapper.Context context) |
void |
setup(org.apache.hadoop.mapreduce.Mapper.Context context) |
public void map(ImmutableBytesWritable row, Result value, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException
map 在类中 org.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable,Result,ImmutableBytesWritable,KeyValue>row - The current table row key.value - The columns.context - The current context.IOException - When something is broken with the data.public void setup(org.apache.hadoop.mapreduce.Mapper.Context context)
setup 在类中 org.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable,Result,ImmutableBytesWritable,KeyValue>Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.