Package org.apache.beam.sdk.io.kafka
Class CheckStopReadingFnWrapper
java.lang.Object
org.apache.beam.sdk.io.kafka.CheckStopReadingFnWrapper
- All Implemented Interfaces:
Serializable,CheckStopReadingFn,ProcessFunction<TopicPartition,,Boolean> SerializableFunction<TopicPartition,Boolean>
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionapply(TopicPartition input) Returns the result of invoking this function on the given input.of(@Nullable SerializableFunction<TopicPartition, Boolean> serializableFunction) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.beam.sdk.io.kafka.CheckStopReadingFn
setup, teardown
-
Method Details
-
of
public static @Nullable CheckStopReadingFnWrapper of(@Nullable SerializableFunction<TopicPartition, Boolean> serializableFunction) -
apply
Description copied from interface:SerializableFunctionReturns the result of invoking this function on the given input.- Specified by:
applyin interfaceProcessFunction<TopicPartition,Boolean> - Specified by:
applyin interfaceSerializableFunction<TopicPartition,Boolean>
-