1
|
package eu.dnetlib.data.mapreduce.hbase.bulktag;
|
2
|
|
3
|
import com.google.common.collect.Sets;
|
4
|
import eu.dnetlib.data.proto.RelTypeProtos;
|
5
|
import eu.dnetlib.data.proto.TypeProtos;
|
6
|
|
7
|
import java.util.Set;
|
8
|
|
9
|
public class TagginConstants {
|
10
|
|
11
|
|
12
|
public final static String DATA_INFO_TYPE = "bulktagging";
|
13
|
public final static String SCHEMA_NAME = "dnet:provenanceActions";
|
14
|
public final static String CLASS_ID_SUBJECT = "bulktagging:community:subject";
|
15
|
public final static String CLASS_ID_DATASOURCE = "bulktagging:community:datasource";
|
16
|
public final static String CLASS_ID_CZENODO = "bulktagging:community:zenodocommunity";
|
17
|
|
18
|
public final static String SCHEMA_ID = "dnet:provenanceActions";
|
19
|
public final static String COUNTER_GROUP = "Bulk Tagging";
|
20
|
|
21
|
public final static String ZENODO_COMMUNITY_INDICATOR = "zenodo.org/communities/";
|
22
|
|
23
|
public final static int PROJECT = TypeProtos.Type.project.getNumber();//40
|
24
|
public final static int DATASOURCE = TypeProtos.Type.datasource.getNumber();//10
|
25
|
public final static int ORGANIZATION = TypeProtos.Type.organization.getNumber();//20
|
26
|
public final static int RESULT = TypeProtos.Type.result.getNumber();//50
|
27
|
|
28
|
public final static String CLASS_NAME_BULKTAG_SUBJECT = "Bulktagging for Community - Subject";
|
29
|
public final static String CLASS_NAME_BULKTAG_DATASOURCE = "Bulktagging for Community - Datasource";
|
30
|
public final static String CLASS_NAME_BULKTAG_ZENODO = "Bulktagging for Community - Zenodo";
|
31
|
|
32
|
|
33
|
|
34
|
}
|