public class SoftwareEnrichmentMapper extends AbstractEnrichmentMapper
| Modifier and Type | Field and Description |
|---|---|
static String |
PUBLICATION |
static String |
RESULT_RESULT_RELATIONSHIP_IS_RELATED_TO |
static String |
SOFTWARE |
outKey, outValue| Constructor and Description |
|---|
SoftwareEnrichmentMapper() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
counterGroup() |
protected void |
map(ImmutableBytesWritable key,
Result value,
org.apache.hadoop.mapreduce.Mapper.Context context) |
emit, getEmitKey, setuppublic static final String SOFTWARE
public static final String PUBLICATION
public static final String RESULT_RESULT_RELATIONSHIP_IS_RELATED_TO
protected String counterGroup()
counterGroup in class AbstractEnrichmentMapperprotected 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>IOExceptionInterruptedExceptionCopyright © 2020. All rights reserved.