public static class WebLogAnalysis.AntiJoinVisits extends Object implements org.apache.flink.api.common.functions.CoGroupFunction<org.apache.flink.api.java.tuple.Tuple3<Integer,String,Integer>,org.apache.flink.api.java.tuple.Tuple1<String>,org.apache.flink.api.java.tuple.Tuple3<Integer,String,Integer>>
| Constructor and Description |
|---|
AntiJoinVisits() |
| Modifier and Type | Method and Description |
|---|---|
void |
coGroup(Iterable<org.apache.flink.api.java.tuple.Tuple3<Integer,String,Integer>> ranks,
Iterable<org.apache.flink.api.java.tuple.Tuple1<String>> visits,
org.apache.flink.util.Collector<org.apache.flink.api.java.tuple.Tuple3<Integer,String,Integer>> out)
If the visit iterator is empty, all pairs of the rank iterator are emitted.
|
public void coGroup(Iterable<org.apache.flink.api.java.tuple.Tuple3<Integer,String,Integer>> ranks, Iterable<org.apache.flink.api.java.tuple.Tuple1<String>> visits, org.apache.flink.util.Collector<org.apache.flink.api.java.tuple.Tuple3<Integer,String,Integer>> out)
Output Format: 0: RANK 1: URL 2: AVG_DURATION
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.