added description of the class

This commit is contained in:
Miriam Baglioni 2020-08-11 11:20:43 +02:00
parent 341dc59ead
commit 9bae991167
3 changed files with 15 additions and 3 deletions

View File

@ -1,3 +1,7 @@
/**
*Spark action to trigger the dump of results associated to research community - reseach initiative/infrasctructure
* The actual dump if performed via the class DumpProducts that is used also for the entire graph dump
*/
package eu.dnetlib.dhp.oa.graph.dump.community;
@ -10,15 +14,12 @@ import org.slf4j.LoggerFactory;
import eu.dnetlib.dhp.application.ArgumentApplicationParser;
import eu.dnetlib.dhp.oa.graph.dump.DumpProducts;
import eu.dnetlib.dhp.oa.graph.dump.QueryInformationSystem;
import eu.dnetlib.dhp.oa.graph.dump.Utils;
import eu.dnetlib.dhp.schema.dump.oaf.community.CommunityResult;
import eu.dnetlib.dhp.schema.oaf.Result;
public class SparkDumpCommunityProducts implements Serializable {
private static final Logger log = LoggerFactory.getLogger(SparkDumpCommunityProducts.class);
private static QueryInformationSystem queryInformationSystem;
public static void main(String[] args) throws Exception {
String jsonConfiguration = IOUtils

View File

@ -1,3 +1,10 @@
/**
* 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;

View File

@ -1,3 +1,7 @@
/**
* Spark job to trigger the split of results associated to research community - reseach initiative/infrasctructure.
* The actual split is performed by the class CommunitySplit
*/
package eu.dnetlib.dhp.oa.graph.dump.community;