Revision a83e5269
Added by Andreas Müller almost 12 years ago
cdm-pesi/src/main/java/eu/etaxonomy/cdm/app/pesi/PesiExportActivatorEM.java | ||
---|---|---|
33 | 33 |
private static final Logger logger = Logger.getLogger(PesiExportActivatorEM.class); |
34 | 34 |
|
35 | 35 |
//database validation status (create, update, validate ...) |
36 |
static final Source pesiDestination = PesiDestinations.pesi_test_local_CDM_EM2PESI(); |
|
36 |
static final Source pesiDestination = PesiDestinations.pesi_test_local_CDM_EM2PESI_tmp();
|
|
37 | 37 |
// static final Source pesiDestination = PesiDestinations.pesi_test_local_CDM_FE2PESI(); |
38 | 38 |
// static final Source pesiDestination = PesiDestinations.pesi_test_local_CDM_ERMS2PESI(); |
39 | 39 |
|
... | ... | |
42 | 42 |
static final int nameIdStart = 10000000; |
43 | 43 |
static final IdType idType = IdType.CDM_ID_WITH_EXCEPTIONS; |
44 | 44 |
|
45 |
static final int partitionSize = 2500;
|
|
45 |
static final int partitionSize = 5000;
|
|
46 | 46 |
|
47 | 47 |
//check - export |
48 | 48 |
static final CHECK check = CHECK.EXPORT_WITHOUT_CHECK; |
... | ... | |
60 | 60 |
|
61 | 61 |
//taxa |
62 | 62 |
static final boolean doTaxa = true; |
63 |
static final boolean doPureNames = true; |
|
64 |
static final boolean doTreeIndex = true; |
|
65 |
static final boolean doRank = true; |
|
63 |
static final boolean doPureNames = false; |
|
64 |
static final boolean doTreeIndex = false; |
|
65 |
static final boolean doParentAndBiota = false; |
|
66 |
static final boolean doRank = false; |
|
66 | 67 |
static final boolean doInferredSynonyms = false; |
67 |
static final boolean doRelTaxa = true;
|
|
68 |
static final boolean doRelTaxa = false;
|
|
68 | 69 |
static final boolean doDescriptions = true; |
69 | 70 |
|
70 | 71 |
static final boolean doNotes = true; |
... | ... | |
114 | 115 |
config.setDoNoteSources(doNoteSources); |
115 | 116 |
config.setDoOccurrenceSource(doOccurrenceSource); |
116 | 117 |
config.setDoTreeIndex(doTreeIndex); |
118 |
config.setDoTreeIndex(doParentAndBiota); |
|
117 | 119 |
config.setDoRank(doRank); |
118 | 120 |
config.setDoInferredSynonyms(doInferredSynonyms); |
119 | 121 |
config.setDoDescription(doDescriptions); |
Also available in: Unified diff
make parentFK excludable