public class PrepareEnrichementMapper extends TableMapper<ImmutableBytesWritable,ImmutableBytesWritable>
| Constructor and Description |
|---|
PrepareEnrichementMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleRels(eu.dnetlib.data.proto.OafProtos.Oaf.Builder oafBuilder,
Result value,
byte[] body,
String relName) |
protected void |
map(ImmutableBytesWritable key,
Result value,
org.apache.hadoop.mapreduce.Mapper.Context context) |
protected void map(ImmutableBytesWritable key, Result value, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
map in class org.apache.hadoop.mapreduce.Mapper<ImmutableBytesWritable,Result,ImmutableBytesWritable,ImmutableBytesWritable>IOExceptionInterruptedExceptionpublic void handleRels(eu.dnetlib.data.proto.OafProtos.Oaf.Builder oafBuilder,
Result value,
byte[] body,
String relName)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionCopyright © 2017. All rights reserved.