Package org.apache.kafka.streams.kstream
Interface Predicate<K,V>
-
- Type Parameters:
K- key typeV- value type
public interface Predicate<K,V>ThePredicateinterface represents a predicate (boolean-valued function) of aKeyValuepair. 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 booleantest(K key, V value)Test if the record with the given key and value satisfies the predicate.
-