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
|
||||
.filter(
|
||||
(FilterFunction<Tuple2<Tuple2<Tuple3<String, Relation, String>, Tuple2<String, String>>, Tuple2<String, String>>>)
|
||||
r -> r._1()._1() != null || r._2() != null)
|
||||
(FilterFunction<Tuple2<Tuple2<Tuple3<String, Relation, String>, Tuple2<String, String>>, Tuple2<String, String>>>) r -> r
|
||||
._1()
|
||||
._1() != null || r._2() != null)
|
||||
.map(mapRel, Encoders.bean(Relation.class))
|
||||
.distinct();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue