forked from D-Net/dnet-hadoop
moved Context as relevant for Communities dump
This commit is contained in:
parent
4871dfe595
commit
235d4e4d6e
|
@ -3,7 +3,6 @@ package eu.dnetlib.dhp.schema.dump.oaf.community;
|
|||
|
||||
import java.util.List;
|
||||
|
||||
import eu.dnetlib.dhp.schema.dump.oaf.Context;
|
||||
import eu.dnetlib.dhp.schema.dump.oaf.KeyValue;
|
||||
import eu.dnetlib.dhp.schema.dump.oaf.Result;
|
||||
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
|
||||
package eu.dnetlib.dhp.schema.dump.oaf;
|
||||
package eu.dnetlib.dhp.schema.dump.oaf.community;
|
||||
|
||||
import eu.dnetlib.dhp.schema.dump.oaf.Provenance;
|
||||
import eu.dnetlib.dhp.schema.dump.oaf.Qualifier;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
|
@ -5,6 +5,7 @@ import java.io.Serializable;
|
|||
import java.util.*;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
import eu.dnetlib.dhp.schema.dump.oaf.community.Context;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
import eu.dnetlib.dhp.schema.common.ModelConstants;
|
||||
|
@ -178,7 +179,7 @@ public class ResultMapper implements Serializable {
|
|||
.newInstance(
|
||||
provenance
|
||||
.getProvenanceaction()
|
||||
.getClassid(),
|
||||
.getClassname(),
|
||||
c.getDataInfo().getTrust())));
|
||||
return country;
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue