Revision 50306
Added by Tsampikos Livisianos over 6 years ago
modules/dnet-openaire-stats/trunk/src/main/java/eu/dnetlib/data/mapreduce/hbase/statsExport/mapreduce/StatsMapper.java | ||
---|---|---|
110 | 110 |
|
111 | 111 |
|
112 | 112 |
private boolean isValid(Oaf oaf) { |
113 |
if (oaf != null && oaf.isInitialized() && !deletedByInference(oaf)) return true; |
|
113 |
if (oaf != null && oaf.isInitialized() && !deletedByInference(oaf) && !invisible(oaf)) return true;
|
|
114 | 114 |
return false; |
115 | 115 |
} |
116 | 116 |
|
... | ... | |
282 | 282 |
return oaf.getDataInfo().getDeletedbyinference(); |
283 | 283 |
} |
284 | 284 |
|
285 |
private boolean invisible(final Oaf oaf) { |
|
286 |
return oaf.getDataInfo().getInvisible(); |
|
287 |
} |
|
288 |
|
|
285 | 289 |
@Override |
286 | 290 |
protected void cleanup(Context context) throws IOException, InterruptedException { |
287 | 291 |
|
Also available in: Unified diff
ignore invisible oaf