public static class VerifyReplication.Verifier extends TableMapper<ImmutableBytesWritable,Put>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
VerifyReplication.Verifier.Counters |
| 构造器和说明 |
|---|
VerifyReplication.Verifier() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
cleanup(org.apache.hadoop.mapreduce.Mapper.Context context) |
void |
map(ImmutableBytesWritable row,
Result value,
org.apache.hadoop.mapreduce.Mapper.Context context)
Map method that compares every scanned row with the equivalent from
a distant cluster.
|
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,Put>row - The current table row key.value - The columns.context - The current context.IOException - When something is broken with the data.protected void cleanup(org.apache.hadoop.mapreduce.Mapper.Context context)
cleanup 在类中 org.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable,Result,ImmutableBytesWritable,Put>Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.