forked from D-Net/dnet-hadoop
rule out records with NULL dataInfo, except for Relations
This commit is contained in:
parent
ccac6a7f75
commit
da1727f93f
|
@ -225,7 +225,7 @@ public class GraphCleaningFunctions extends CleaningFunctions {
|
|||
}
|
||||
|
||||
public static <T extends Oaf> boolean filter(T value) {
|
||||
if (Boolean.TRUE
|
||||
if (!(value instanceof Relation) && (Boolean.TRUE
|
||||
.equals(
|
||||
Optional
|
||||
.ofNullable(value)
|
||||
|
@ -237,7 +237,7 @@ public class GraphCleaningFunctions extends CleaningFunctions {
|
|||
.ofNullable(d.getInvisible())
|
||||
.orElse(true))
|
||||
.orElse(false))
|
||||
.orElse(true))) {
|
||||
.orElse(true)))) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue