接口的使用
org.apache.pulsar.functions.api.StateStore
使用StateStore的程序包
程序包
说明
Provides a simple model for enabling lightweight computation on Apache Pulsar.
State Store API.
-
org.apache.pulsar.functions.api中StateStore的使用
类型参数类型为StateStore的org.apache.pulsar.functions.api中的方法修饰符和类型方法说明default <S extends StateStore>
SBaseContext.getStateStore(String name) Get the state store with the provided store name in the tenant & namespace.default <S extends StateStore>
SBaseContext.getStateStore(String tenant, String ns, String name) Get the state store with the provided store name. -
org.apache.pulsar.functions.api.state中StateStore的使用
修饰符和类型接口说明interfaceA key-value state store that stores values inByteBuffer.interfaceThe state store supports counters.