This commit is contained in:
Miriam Baglioni 2020-08-13 12:11:57 +02:00
parent 1b6320b251
commit b0fab0d138
1 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,4 @@
/**
* Reads all the entities of the same type (Relation / Results) and saves them in the same folder
*
*/
package eu.dnetlib.dhp.oa.graph.dump.graph; package eu.dnetlib.dhp.oa.graph.dump.graph;
import static eu.dnetlib.dhp.common.SparkSessionSupport.runWithSparkSession; import static eu.dnetlib.dhp.common.SparkSessionSupport.runWithSparkSession;
@ -21,6 +18,10 @@ import eu.dnetlib.dhp.oa.graph.dump.Utils;
import eu.dnetlib.dhp.schema.dump.oaf.Result; import eu.dnetlib.dhp.schema.dump.oaf.Result;
import eu.dnetlib.dhp.schema.dump.oaf.graph.Relation; import eu.dnetlib.dhp.schema.dump.oaf.graph.Relation;
/**
* Reads all the entities of the same type (Relation / Results) and saves them in the same folder
*
*/
public class SparkCollectAndSave implements Serializable { public class SparkCollectAndSave implements Serializable {
private static final Logger log = LoggerFactory.getLogger(SparkCollectAndSave.class); private static final Logger log = LoggerFactory.getLogger(SparkCollectAndSave.class);