forked from D-Net/dnet-hadoop
code formatting
This commit is contained in:
parent
faa8f6f4e2
commit
ef4bfd82e2
|
@ -139,8 +139,9 @@ public class SparkPropagateRelation extends AbstractSparkAction {
|
||||||
|
|
||||||
return relSourceTarget
|
return relSourceTarget
|
||||||
.filter(
|
.filter(
|
||||||
(FilterFunction<Tuple2<Tuple2<Tuple3<String, Relation, String>, Tuple2<String, String>>, Tuple2<String, String>>>)
|
(FilterFunction<Tuple2<Tuple2<Tuple3<String, Relation, String>, Tuple2<String, String>>, Tuple2<String, String>>>) r -> r
|
||||||
r -> r._1()._1() != null || r._2() != null)
|
._1()
|
||||||
|
._1() != null || r._2() != null)
|
||||||
.map(mapRel, Encoders.bean(Relation.class))
|
.map(mapRel, Encoders.bean(Relation.class))
|
||||||
.distinct();
|
.distinct();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue