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 Object
implements org.apache.pulsar.functions.api.Function<CustomObject,CustomObject>
Function that deals with custom objects.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprocess(CustomObject input, org.apache.pulsar.functions.api.Context context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pulsar.functions.api.Function
close, initialize
-
Constructor Details
-
CustomObjectFunction
public CustomObjectFunction()
-
-
Method Details
-
process
- Specified by:
processin interfaceorg.apache.pulsar.functions.api.Function<CustomObject,CustomObject>
-