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(org.apache.hadoop.hbase.io.ImmutableBytesWritable key,
org.apache.hadoop.hbase.client.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(org.apache.hadoop.hbase.io.ImmutableBytesWritable key,
org.apache.hadoop.hbase.client.Result value,
org.apache.hadoop.mapreduce.Mapper.Context context)
throws IOException,
InterruptedException
map in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.hbase.client.Result,org.apache.hadoop.hbase.io.ImmutableBytesWritable,org.apache.hadoop.hbase.io.ImmutableBytesWritable>IOExceptionInterruptedExceptionCopyright © 2023. All rights reserved.