public static class WebLogAnalysis.FilterByRank extends Object implements FilterFunction<Tuple3<Integer,String,Integer>>
Constructor and Description |
---|
FilterByRank() |
Modifier and Type | Method and Description |
---|---|
boolean |
filter(Tuple3<Integer,String,Integer> value)
Filters for records of the rank relation where the rank is greater
than the given threshold.
|
public boolean filter(Tuple3<Integer,String,Integer> value) throws Exception
Output Format: 0: RANK 1: URL 2: AVG_DURATION
filter
in interface FilterFunction<Tuple3<Integer,String,Integer>>
value
- The value to be filtered.Exception
- This method may throw exceptions. Throwing an exception will cause the operation
to fail and may trigger recovery.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.