Class CustomDerivedToDerivedFunction
java.lang.Object
org.apache.pulsar.functions.api.examples.CustomDerivedToDerivedFunction
- All Implemented Interfaces:
org.apache.pulsar.functions.api.Function<CustomDerivedObject,CustomDerivedObject>
public class CustomDerivedToDerivedFunction
extends Object
implements org.apache.pulsar.functions.api.Function<CustomDerivedObject,CustomDerivedObject>
Example of 2nd order conversion from a base object for composition pipelines.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprocess(CustomDerivedObject 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
-
CustomDerivedToDerivedFunction
public CustomDerivedToDerivedFunction()
-
-
Method Details
-
process
public CustomDerivedObject process(CustomDerivedObject input, org.apache.pulsar.functions.api.Context context) - Specified by:
processin interfaceorg.apache.pulsar.functions.api.Function<CustomDerivedObject,CustomDerivedObject>
-