类 WordCountFunction
- java.lang.Object
-
- org.apache.pulsar.functions.api.examples.WordCountFunction
-
- 所有已实现的接口:
org.apache.pulsar.functions.api.Function<java.lang.String,java.lang.Void>
public class WordCountFunction extends java.lang.Object implements org.apache.pulsar.functions.api.Function<java.lang.String,java.lang.Void>The classic word count example done using pulsar functions Each input message is a sentence that split into words and each word counted. The built in counter state is used to keep track of the word count in a persistent and consistent manner.
-
-
构造器概要
构造器 构造器 说明 WordCountFunction()
-