Package org.apache.kafka.streams.kstream
Interface Predicate<K,V>
-
- Type Parameters:
K
- key typeV
- value type
public interface Predicate<K,V>
ThePredicate
interface represents a predicate (boolean-valued function) of aKeyValue
pair. This is a stateless record-by-record operation, i.e,test(Object, Object)
is invoked individually for each record of a stream.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
test(K key, V value)
Test if the record with the given key and value satisfies the predicate.
-