Class CustomObjectFunction
- java.lang.Object
-
- org.apache.pulsar.functions.api.examples.CustomObjectFunction
-
- All Implemented Interfaces:
org.apache.pulsar.functions.api.Function<CustomObject,CustomObject>
public class CustomObjectFunction extends java.lang.Object implements org.apache.pulsar.functions.api.Function<CustomObject,CustomObject>
Function that deals with custom objects.
-
-
Constructor Summary
Constructors Constructor Description CustomObjectFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomObjectprocess(CustomObject input, org.apache.pulsar.functions.api.Context context)
-
-
-
Method Detail
-
process
public CustomObject process(CustomObject input, org.apache.pulsar.functions.api.Context context)
- Specified by:
processin interfaceorg.apache.pulsar.functions.api.Function<CustomObject,CustomObject>
-
-