1
0
Fork 0
This commit is contained in:
Miriam Baglioni 2020-08-13 12:06:05 +02:00
parent 1400978c0a
commit 80866bec7d
1 changed files with 5 additions and 7 deletions

View File

@ -1,10 +1,3 @@
/**
* Preparation of the Project information to be added to the dumped results.
* For each result associated to at least one Project, a serialization of an instance af ResultProject closs is done.
* ResultProject contains the resultId, and the list of Projects (as in eu.dnetlib.dhp.schema.dump.oaf.community.Project)
* it is associated to
*
*/
package eu.dnetlib.dhp.oa.graph.dump.community; package eu.dnetlib.dhp.oa.graph.dump.community;
@ -39,6 +32,11 @@ import eu.dnetlib.dhp.schema.oaf.DataInfo;
import eu.dnetlib.dhp.schema.oaf.Relation; import eu.dnetlib.dhp.schema.oaf.Relation;
import scala.Tuple2; import scala.Tuple2;
/**
* Preparation of the Project information to be added to the dumped results. For each result associated to at least one
* Project, a serialization of an instance af ResultProject closs is done. ResultProject contains the resultId, and the
* list of Projects (as in eu.dnetlib.dhp.schema.dump.oaf.community.Project) it is associated to
*/
public class SparkPrepareResultProject implements Serializable { public class SparkPrepareResultProject implements Serializable {
private static final Logger log = LoggerFactory.getLogger(SparkPrepareResultProject.class); private static final Logger log = LoggerFactory.getLogger(SparkPrepareResultProject.class);