Class CustomBaseToDerivedFunction
java.lang.Object
org.apache.pulsar.functions.api.examples.CustomBaseToDerivedFunction
- All Implemented Interfaces:
Function<CustomBaseObject,CustomDerivedObject>
public class CustomBaseToDerivedFunction
extends Object
implements Function<CustomBaseObject,CustomDerivedObject>
Example of function doing a type object conversion between input ann output type.
-
Constructor Details
-
CustomBaseToDerivedFunction
public CustomBaseToDerivedFunction()
-
-
Method Details
-
process
- Specified by:
processin interfaceFunction<CustomBaseObject,CustomDerivedObject>
-