public static class WebLogAnalysis.FilterVisitsByDate extends Object implements FilterFunction<Tuple2<String,String>>
Constructor and Description |
---|
FilterVisitsByDate() |
Modifier and Type | Method and Description |
---|---|
boolean |
filter(Tuple2<String,String> value)
Filters for records of the visits relation where the year of visit is equal to a
specified value.
|
public boolean filter(Tuple2<String,String> value) throws Exception
Output Format: 0: URL 1: DATE
filter
in interface FilterFunction<Tuple2<String,String>>
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–2021 The Apache Software Foundation. All rights reserved.