类 CustomDerivedToBaseFunction
- java.lang.Object
-
- org.apache.pulsar.functions.api.examples.CustomDerivedToBaseFunction
-
- 所有已实现的接口:
org.apache.pulsar.functions.api.Function<CustomDerivedObject,CustomBaseObject>
public class CustomDerivedToBaseFunction extends java.lang.Object implements org.apache.pulsar.functions.api.Function<CustomDerivedObject,CustomBaseObject>
Example of function converting a derived object to a base object.
-
-
构造器概要
构造器 构造器 说明 CustomDerivedToBaseFunction()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 CustomBaseObjectprocess(CustomDerivedObject input, org.apache.pulsar.functions.api.Context context)
-
-
-
方法详细资料
-
process
public CustomBaseObject process(CustomDerivedObject input, org.apache.pulsar.functions.api.Context context)
- 指定者:
process在接口中org.apache.pulsar.functions.api.Function<CustomDerivedObject,CustomBaseObject>
-
-