public static final class MusicProfiles.FilterSongNodes extends Object implements FilterFunction<Tuple2<String,String>>
Constructor and Description |
---|
FilterSongNodes() |
Modifier and Type | Method and Description |
---|---|
boolean |
filter(Tuple2<String,String> value)
The filter function that evaluates the predicate.
|
public boolean filter(Tuple2<String,String> value) throws Exception
FilterFunction
IMPORTANT: The system assumes that the function does not modify the elements on which the predicate is applied. Violating this assumption can lead to incorrect results.
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–2017 The Apache Software Foundation. All rights reserved.