Class CustomBaseToBaseFunction
java.lang.Object
org.apache.pulsar.functions.api.examples.CustomBaseToBaseFunction
- All Implemented Interfaces:
org.apache.pulsar.functions.api.Function<CustomBaseObject,CustomBaseObject>
public class CustomBaseToBaseFunction
extends Object
implements org.apache.pulsar.functions.api.Function<CustomBaseObject,CustomBaseObject>
Function example of processing on a custom object type.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprocess(CustomBaseObject 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
-
CustomBaseToBaseFunction
public CustomBaseToBaseFunction()
-
-
Method Details
-
process
public CustomBaseObject process(CustomBaseObject input, org.apache.pulsar.functions.api.Context context) - Specified by:
processin interfaceorg.apache.pulsar.functions.api.Function<CustomBaseObject,CustomBaseObject>
-